Skip to main content
1-Visitor
February 1, 2021
Solved

Thingworx Experience Service local

  • February 1, 2021
  • 1 reply
  • 3084 views

Hi, I have running a local instance of Thingworx Composer and Experience Service on a computer and Vuforia on another computer on local network. In Vuforia I set Experience URL: http://localip:8080

I started the Experience Service with "--allowsc --nossl" options. I also set the appkey in "proxies.0.appkey" and I set the permission for executing services for the specified user. However, I get the error in Vuforia "Error connecting to the ThingWorx server". How to solve this ? Thankyou very much

Best answer by Jimwang

@BSUN_RO ,

 

1. Can you access to ThingWorx composer via the URL http://localhost:8015/Thingworx?

2. If your ES listening port is 8080, can you get the OK response via URL:

  http://localhost:8080/ExperienceService/ping

3. If you use Administrator account to vaild the URL http://localhost:8080/ via Configuration> Info > Experience Service > Valid in the Studio Project, can you pass the validation?

4. You may upload the configuration.json under <Vuforia-ES> for check

1 reply

21-Topaz I
February 1, 2021

The default port for the Experience Service is 2019. 8080 is the default for Tomcat/TWX. Can you confirm which URL you have entered into Studio? 

BSUN_RO1-VisitorAuthor
1-Visitor
February 2, 2021

I set the experience url in Studio now to http://localip:2019 and I get the same error. I started the experience service on the other server with this configurations: authentication -> "baseUrl": "http://localhost:8015", proxies -> "target": "http://localhost:8015/Thingworx", websocketProxies-> "target": "ws://localhost:8015" and is listening on port 8080.

Jimwang16-PearlAnswer
16-Pearl
February 4, 2021

@BSUN_RO ,

 

1. Can you access to ThingWorx composer via the URL http://localhost:8015/Thingworx?

2. If your ES listening port is 8080, can you get the OK response via URL:

  http://localhost:8080/ExperienceService/ping

3. If you use Administrator account to vaild the URL http://localhost:8080/ via Configuration> Info > Experience Service > Valid in the Studio Project, can you pass the validation?

4. You may upload the configuration.json under <Vuforia-ES> for check