Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Error : ThingWorx Native Interface Connection to ThingWorx failed. | Platform mfgapps.prodone.com:8080/Thingworx/WS, error: unknown error.
Error : ThingWorx Native Interface Connection to ThingWorx failed. | Platform mfgapps.prodone.com:8080/Thingworx/WS, error: could not establish a websocket connection.
Error IoT Gateway Failed to connect to server: '127.0.0.1:57212'. Please verify this connection information is correct and that the host can be reached.
Solved! Go to Solution.
Greetings Khelina Swate,
This error occurs when KEPServer is not connected to ThingWorx Platform due to any configuration issue.
Please validate the Application Key in KEPServerEX Project properties
Follow the below steps to update application key in KEPServerEX Project properties :
Thanks,
Himanshu
Greetings Khelina Swate,
This error occurs when KEPServer is not connected to ThingWorx Platform due to any configuration issue.
Please validate the Application Key in KEPServerEX Project properties
Follow the below steps to update application key in KEPServerEX Project properties :
Thanks,
Himanshu
Hi Himanshu
Thank you for the response, the solution you provided helped to resolve the thingworx connection error. However I still get the IOT Gateway error.
-Information ThingWorx Native Interface Connected to ThingWorx. | Platform: mfgapps.prodone.com:8080/Thingworx/WS, Thing name: 'PTC.MfgSegment.Kepware_Simulator-GW'.
- Error IoT Gateway Failed to connect to server: '127.0.0.1:57212'. Please verify this connection information is correct and that the host can be reached.
Thanks once again.
Khelina
Greeting Khelina Swate,
Please make sure that 32 bit JRE is installed on the system and the IoT Gateway should be using the 32 bit JRE.
Please validate the IoT Gateway configuration in KEPServerEX settings, refer below screenshot details.
If your system is of 64 bit, install the 32 bit JRE and change the IoT Gateway settings to use 32 bit JRE.
Thanks,
Himanshu
Himanshu is correct and that should fix it. If you are not using IOT gateway in your project, you can ignore the error.
Thanks,
Varathan
Thank you, I will ignore the error for now.