Skip to main content
June 30, 2024
Solved

Integration Runtime is not able to connect to Thingworx

  • June 30, 2024
  • 1 reply
  • 892 views

Hello

 

I am trying to setup integration runtime and while doing so i am getting following errors

 

[Client-EndpointMonitor-1] ERROR c.t.c.c.c.n.NettyClientConnectionFactory - Exception occurred while connecting to server
java.util.concurrent.TimeoutException: timeout waiting for websocket handshake to complete

 

Any help will be appreciated

Thanks

Best answer by bchaudhary_448008

Hello @unknown ,

 

You may check the following things for the mentioned error:

  • Ensure the Integration Runtime start command is correct:
    • Using integrationRuntime-settings.json:
      • java -DconfigFile=<Path To IntegrationRuntime settings> -jar <path to IntegrationRuntime-<version>>.jar
    • Not using integrationRuntime-settings.json:
      • java -DthingworxUri=http://<ThingWorx Host>:<ThingWorx Port>/Thingworx/WS -DappKey=<ThingWorx App Key>
        -jar <path to IntegrationRuntime-8.0.0>.jar
  • If IntegrationRuntime-settings.json is being used:
    • Validate host and port properties are set correctly
    • If ThingWorx is configured for SSL the sslEnabled parameter needs to be set to true
    • If Windchill authentication is used check path and password of Keystore and Truststore

Furthermore, You can refer the following article for your reference:

https://www.ptc.com/en/support/article/CS269178

 

Pls let know if you have any further questions.

Regards,

Bhawna

1 reply

5-Regular Member
June 30, 2024

Hello @unknown ,

 

You may check the following things for the mentioned error:

  • Ensure the Integration Runtime start command is correct:
    • Using integrationRuntime-settings.json:
      • java -DconfigFile=<Path To IntegrationRuntime settings> -jar <path to IntegrationRuntime-<version>>.jar
    • Not using integrationRuntime-settings.json:
      • java -DthingworxUri=http://<ThingWorx Host>:<ThingWorx Port>/Thingworx/WS -DappKey=<ThingWorx App Key>
        -jar <path to IntegrationRuntime-8.0.0>.jar
  • If IntegrationRuntime-settings.json is being used:
    • Validate host and port properties are set correctly
    • If ThingWorx is configured for SSL the sslEnabled parameter needs to be set to true
    • If Windchill authentication is used check path and password of Keystore and Truststore

Furthermore, You can refer the following article for your reference:

https://www.ptc.com/en/support/article/CS269178

 

Pls let know if you have any further questions.

Regards,

Bhawna