cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

What could be the cause of the following errors?

kswate
11-Garnet

What could be the cause of the following errors?

    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.

ACCEPTED SOLUTION

Accepted Solutions

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 :

  1. Login to ThingWorx Composer
  2. Navigate to Application Keys
  3. Locate the Application Key matching the Thing name from KEPServerEX Project properties
  4. Copy the Application Key to KEPServerEX PropertiesCapture.JPG

Thanks,

Himanshu

View solution in original post

5 REPLIES 5

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 :

  1. Login to ThingWorx Composer
  2. Navigate to Application Keys
  3. Locate the Application Key matching the Thing name from KEPServerEX Project properties
  4. Copy the Application Key to KEPServerEX PropertiesCapture.JPG

Thanks,

Himanshu

kswate
11-Garnet
(To:hchanana)

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.

Capture.JPG

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.

Announcements


Top Tags