Article - CS276612

In Thingworx Studio when click Publish button, a dialogbox is displayed with this message "Uh-oh! Publish failed. We couldn't contact the Experience Service. verify that the Experience Service URL is correct, and check the log for errors."

Modified: 20-Dec-2017   


Applies To

  • Vuforia Studio 1.0 to 8.1.2
  • Vuforia Experience Service 1.0 to 8.1.2

Description

  • When click Publish button, a dialogbox is displayed with this message Uh-oh! Publish failed. We couldn't contact the Experience Service. verify that the Experience Service URL is correct, and check the log for errors.
  • In log file of Thingworx Studio, these verbose can be found :
[10/23/2017 11:07:43] Could not contact the Experience Service, verify the server is running. Error: tunneling socket could not be established, statusCode=400
[10/23/2017 11:07:48] error: [twx-studio:basic] Failed to authenticate experience server https://XXX.thingworx.com XXXX null Error: tunneling socket could not be established, statusCode=400
[10/23/2017 11:07:48]     at ClientRequest.onConnect (C:\Users\XXXX\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\tunnel-agent\index.js:166:19)
[10/23/2017 11:07:48]     at ClientRequest.g (events.js:291:16)
[10/23/2017 11:07:48]     at emitThree (events.js:116:13)
[10/23/2017 11:07:48]     at ClientRequest.emit (events.js:194:7)
[10/23/2017 11:07:48]     at TLSSocket.socketOnData (_http_client.js:395:11)
[10/23/2017 11:07:48]     at emitOne (events.js:96:13)
[10/23/2017 11:07:48]     at TLSSocket.emit (events.js:188:7)
[10/23/2017 11:07:48]     at readableAddChunk (_stream_readable.js:176:18)
[10/23/2017 11:07:48]     at TLSSocket.Readable.push (_stream_readable.js:134:10)
[10/23/2017 11:07:48] [0mPOST /api/unpublish/ [31m500 [0m221.578 ms - 263[0m
[10/23/2017 11:07:48]     at TLSWrap.onread (net.js:548:20)
[10/23/2017 11:07:48] [0mPOST /api/unpublish/ [31m500 [0m221.578 ms - 263[0m
[10/23/2017 11:07:48] Could not contact the Experience Service, verify the server is running. Error: tunneling socket could not be established, statusCode=400
This is a printer-friendly version of Article 276612 and may be out of date. For the latest version click CS276612