Unable to Connect

For on-premises deployments, you may receive a “Unable to Connect to Host” error in versions 10.4, 10.4.1, 10.4.2, or 10.4.3. In version 10.4.4 and beyond you may see a “Reconnecting” or “Unable to connect to any servers” error or “Failed to construct WebSocket” error. If you see these errors,

Restart Apache.

Make sure the socket server is starting without errors.

For Chrome on a desktop, check the browsers console logs for internal errors.

Check the configuration in three places:

  • mobile-web-client.json

This file is located here:

service.earsce.warmobile-web-client/config/mobile-web-client.json

The WebRF client connects to Apache to make the WebSocket connection based on the information in this file. This is different than connecting to Apache to load the login page for the WebRF client. Apache acts as a proxy for WebSocket connections.

Relevant connection information.

"connections": [
{"server":"usdavwscedev16.infor.com","port":"80","protocol":"wss","path":"scprd_webrf"}
],
  • httpd.conf

This file is located in the conf folder of the Apache install.

Relevant configuration lines:

Listen 80
ProxyPass /scprd_webrf ws://<server>:9797 
ProxyPass /scp11_webrf ws://<server>:8789
  • jwebsocket.xml

This file is located under the Infor SCE install folder at <install folder>\sce\scprd\wm\socketserver\jwebsocket\conf

Relevant configuration lines.

<port>8789</port>
<sslport>9797</sslport>
<keystore>D:/infor/sce/scprd/wm/socketserver/jwebsocket/conf/webrf.jks</keystore>
<password>infor1234</password>