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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Thingworx Academic Simulator with hosted server (PTC Cloud trial)

Assembly
4-Participant

Thingworx Academic Simulator with hosted server (PTC Cloud trial)

Hi, 

I signed up for the hosted server trial - have about 27 days to go.  I'm able to connect through the REST API and postman to my server, however Thingworx Academic Simulator doesn't seem to connect - I get the messages(after a 10 second timeout) - 'Unable to connect, check your port' - looked at the code for Thingworx Academic Simulator (which is an electron/node.js app) and it seems that the interface is just sending a REST API call to /Thingworx/Things before issuing that message (which seems to be the default one). Can't understand why the TAS isn't working when the REST API does in Postman with 200 OK.  Any idea what's going on?  Have checked my firewall etc and nothing is blocking.

 

My settings:

Server URL: pp-2010211547rh.devportal.ptc.io

Application Key (used a member with privileges on things as well as administrator)

Port: 8443 (or 443 - both work with REST API)

Secured Server checked on

1 ACCEPTED SOLUTION

Accepted Solutions
jman87
14-Alexandrite
(To:Assembly)

@Assembly 

Based on your description, actually you have already checked many points.

What's your thingworx version? As I know

  • ThingWorx Academic Simulator will only connect to hosted ThingWorx instance provided in the training instruction
  • Simulator will not connect to on premise ThingWorx instance

 

Maybe you already tried below but provide them for your reference:

  • Could you try to use IP address of machine instead of localhost in URL to connect to ThingWorx Academic Simulator? 
  • When you try to connect ThingWorx Academic Simulator to Thingworx - The server url supplied should not contain http:// or https:// or a port, it is internally added by the "Secured Server" checkbox. E.g. provide localhost instead of https://localhost:123 
  • Put server url as hosted ThingWorx url mentioned in the training instruction
  • Give an application key created for a user in hosted ThingWorx instance

In addition, I noticed a similar issue similar with yours:

https://community.ptc.com/t5/ThingWorx-Developers/Unable-to-connect-to-the-Thingworx-academic-simulator/td-p/660099?posno=2&q=%22Unable%20to%20connect,%20check%20your%20port%22&source=search

 

Best Wishes!

Teresa

 

View solution in original post

2 REPLIES 2
jman87
14-Alexandrite
(To:Assembly)

@Assembly 

Based on your description, actually you have already checked many points.

What's your thingworx version? As I know

  • ThingWorx Academic Simulator will only connect to hosted ThingWorx instance provided in the training instruction
  • Simulator will not connect to on premise ThingWorx instance

 

Maybe you already tried below but provide them for your reference:

  • Could you try to use IP address of machine instead of localhost in URL to connect to ThingWorx Academic Simulator? 
  • When you try to connect ThingWorx Academic Simulator to Thingworx - The server url supplied should not contain http:// or https:// or a port, it is internally added by the "Secured Server" checkbox. E.g. provide localhost instead of https://localhost:123 
  • Put server url as hosted ThingWorx url mentioned in the training instruction
  • Give an application key created for a user in hosted ThingWorx instance

In addition, I noticed a similar issue similar with yours:

https://community.ptc.com/t5/ThingWorx-Developers/Unable-to-connect-to-the-Thingworx-academic-simulator/td-p/660099?posno=2&q=%22Unable%20to%20connect,%20check%20your%20port%22&source=search

 

Best Wishes!

Teresa

 

slangley
23-Emerald II
(To:Assembly)

Hi @Assembly.

 

If the previous response helped you to find a solution, please mark it as the Accepted Solution for the benefit of others with the same issue.

 

Regards.

 

--Sharon

Top Tags