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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Thingworx Experience Service local

BSUN_RO
7-Bedrock

Thingworx Experience Service local

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

1 ACCEPTED SOLUTION

Accepted Solutions
Jimwang
14-Alexandrite
(To:BSUN_RO)

@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

View solution in original post

4 REPLIES 4
tmccombie
21-Topaz I
(To:BSUN_RO)

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? 

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.

Jimwang
14-Alexandrite
(To:BSUN_RO)

@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

BSUN_RO
7-Bedrock
(To:Jimwang)

This helped me fix it. Thankyou.

Top Tags