Article - CS331540

Error " timeout waiting for websocket handshake to complete" is received in ThingWorx Analytics

Modified: 25-Sep-2024   


Applies To

  • ThingWorx Analytics 9.0 to 9.3

Description

  • After an upgrade ThingWorx Platform 8.5.3 to 9.0.2 to release 9.0 the following error is seen in <ThingWorx Analytics Server>/data/logs/twas-tw-adapter.log file 
ERROR c.t.c.c.e.ClientCommunicationEndpoint - Refilling connections on [endpoint 0, uri: ws://XXXX/Thingworx/WS] failed : timeout waiting for websocket handshake to complete
2020-10-01 13:57:27 [Client-EndpointMonitor-1] ERROR c.t.c.c.e.ClientCommunicationEndpoint - Exception refilling connections was:
java.util.concurrent.TimeoutException: timeout waiting for websocket handshake to complete
    at com.thingworx.communications.client.connection.netty.NettyClientConnectionFactory$HandshakeCompletionNotifier.await(NettyClientConnectionFactory.java:693)
    at com.thingworx.communications.client.connection.netty.NettyClientConnectionFactory.createConnection(NettyClientConnectionFactory.java:398)
    at com.thingworx.communications.client.endpoints.ClientCommunicationEndpoint.refillConnections(ClientCommunicationEndpoint.java:230)
    at com.thingworx.communications.common.endpoints.monitor.ConnectivityMonitorTask.dutyCycleOn(ConnectivityMonitorTask.java:159)
    at com.thingworx.communications.common.endpoints.monitor.ConnectivityMonitorTask.run(ConnectivityMonitorTask.java:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

 
  • It's shown same error in ThingWorx Analytics Server even through ThingWorx Platform didn't upgrade 
This is a printer-friendly version of Article 331540 and may be out of date. For the latest version click CS331540