Web-app connection errorsI have installed the server on an AWS instance, with a valid SSL cert and am running the web-app locally. I seem to have trouble accessing the server. If I only configure the wss:// endpoint in the web-app, the websocket connection dies repeatedly, with the error logged in console as
`Manager: Expected 0, got: -1`
If I set the TCP or TLS endpoints in the configuration, the websocket endpoint is ignored and after entering an email, the ApiBroker forms the request, but it quickly fails: ```
Manager: Trying to create connection...
defaultLogHandler.js:22 EventBus: Event: connecting_state_changed {true}
defaultLogHandler.js:22 ACTOR_SYSTEM: Die(common_timer) by Class$S1902@d with (TypeError) : Cannot read property 'close' of undefined
defaultLogHandler.js:22 ACTOR_SYSTEM: (TypeError) : Cannot read property 'close' of undefined```
I can't figure out what I am doing wrong. The SSL is configured correctly, as the endpoints respond the same whether requested directly (9070,9080,9090) or via haproxy. They respond to HTTP GET requests as:
WSS: (400) Expected WebSocket Upgrade request
TLS: (404)The requested resource could not be found.
TCP: <Empty Reply from server>
And the logs on the server show no errors, just periodic Cleanup on the HikariPool.
The endpoints are configured in the web-app as:
```
config = {
...
endpoints: [
'wss://<actor host>:8443',
'tcp://<actor host>:443',
'tls://<actor host>:9443',
],
isExperimental: true,
rootElement: 'actor-web-app',
forceLocale: 'en-US',
...
}
```
It seems like the versions of the server and client might be out of sync, though I can't seem to find the server version from the binary. It was installed via the bootstrap install script from the repository, and the web-app is the latest from git at the time of writing.
Any help would be much appreciated, as I can't think of anything else that might be going wrong.
Posted in Installation by Michael Prendergast