'Unexpected end of file from server' error when connecting to XOG using xogclient

Document ID : KB000031089
Last Modified Date : 14/02/2018
Show Technical Document Details

Symptom:

xogclient generates the following error when trying to connect via XOG:

cmd> xog
[...]
> login user/password@cppmXXXX.ondemand.ca.com:443
Login: user@cppmXXXX.ondemand.ca.com:443
XOG Invoke Failed
Unexpected end of file from server
Turn verbose on for more detail.

Environment:

Any SSL-enabled environment (includes all SaaS environemnts)

Cause:

SSL-enabled environments need to establish an SSL connection instead of a normal connection.

Resolution:

In order to enable SSL for xog, it must be called using the "-sslenabled true" flag:

cmd> xog -sslenabled true
Using https
Configuring context for  TLS
[...]
> login user/password@cppmXXXX.ondemand.ca.com:443
Login: user@cppmXXXX.ondemand.ca.com:443
Login Succeeded