Article - CS263187

ThingWorx Edge Java SDK error "timeout waiting for websocket handshake to complete" when ptc-identity-provider-authentication servlet filters are enabled on the platform

Modified: 05-Jan-2023   


Applies To

  • ThingWorx Platform 7.3
  • ThingWorx Edge SDK 6.0
  • Windchill Navigate (formerly ThingWorx Navigate) 1.4.0
  • ptc-identity-provider-authentication-filter 1.6.0-01
  • Specific to the ​ThingWorx Edge Java SDK, not faced from C and DotNET SDKs

Description

  • ThingWorx Edge Java SDK device fails to connect to the platform when the ptc-identity-provider-authentication servlet filters are enabled on the platform (as per Add Servlet Filters to Tomcat Configuration).
  • Full Error massage :
INFO c.t.c.c.c.n.NettyClientConnectionFactory - forcing underlying tcp channel closed [is open: false, is active: false]
ERROR c.t.c.c.e.ClientCommunicationEndpoint - Refilling connections on [endpoint 0, uri: ws://192.168.xxx.yyy:8080/Thingworx/WS] failed : timeout waiting for websocket handshake to complete
ERROR c.t.c.c.e.ClientCommunicationEndpoint - Exception refilling connections was:
java.util.concurrent.TimeoutException: timeout waiting for websocket handshake to complete
This is a printer-friendly version of Article 263187 and may be out of date. For the latest version click CS263187