Skip to main content
1-Visitor
April 7, 2020
Question

Unable to publish experience from Vuforia Studio

  • April 7, 2020
  • 1 reply
  • 3295 views

Hello - 

 

I'm not able to successfully publish an Experience from Vuforia Studio to our corporate experience server.  The experience server does validate successfully from the info tab in Vuforia studio(see attached screenshot). 


Log file shows that the publishing process failed, but it's not clear why it failed (logfile attached).

 

I'm NOT using the trial version and the experience server is on our corporate network. I'm connected from home through VPN. The file/experience size is not large - about 3 MB.

 

Any help appreciated!

 

Bill

1 reply

17-Peridot
April 8, 2020

Hello Bill,

 

I have looked in the Vuforia Studio log file provided.

I have found these exceptions reported :

 

[2020-04-07T15:48:58.597Z] error: [twx-studio:auth:oauthHandler] Error making request for oauth configUnexpected token < in JSON at position 4 SyntaxError: Unexpected token < in JSON at position 4
at JSON.parse (<anonymous>)
at Request._callback (C:\Users\Bill.Hoey\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\dist\server\auth\oauthHandler.js:109:50)
at Request.self.callback (C:\Users\Bill.Hoey\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\node_modules\request\request.js:185:22)
at Request.emit (events.js:311:20)
at Request.EventEmitter.emit (domain.js:482:12)
at Request.<anonymous> (C:\Users\Bill.Hoey\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\node_modules\request\request.js:1154:10)
at Request.emit (events.js:311:20)
at Request.EventEmitter.emit (domain.js:482:12)
at IncomingMessage.<anonymous> (C:\Users\Bill.Hoey\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\node_modules\request\request.js:1076:12)
at Object.onceWrapper (events.js:417:28)
[2020-04-07T15:51:03.226Z] error: [twx-studio:ves-publish:1586274536342:Hood Test] Response code undefined
[2020-04-07T15:51:03.227Z] info: [twx-studio:ves-publish:1586274536342:Hood Test] zip size 2649516 bytes (approximately 3 MB)
[2020-04-07T15:51:03.226Z] error: [twx-studio:ves-publish:1586274536342:Hood Test] Response body undefined
[2020-04-07T15:51:03.227Z] error: [twx-studio:ves-publish:1586274536342:Hood Test] Response error read ECONNRESET Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) {
errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read'
}
[2020-04-07T15:51:03.227Z] error: [twx-studio:ves-publish:1586274536342:Hood Test] Failed to upload to the Experience Service.read ECONNRESET Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27) {
errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read'
}

 

It seems Vuforia Studio is not able to connect to Vuforia Experience Service according to this article with the same exception :

https://www.ptc.com/en/support/article/CS261408

 

We can see an error due to a ssl certificate also and another exception due to a proxy.

 

I have some questions :

  • In Vuforia Studio what appends when clicking on the Validate button in your screenshot ?
  • What is the complete URL setup in the screenshot provided ?

 

Next step will be to check in a web browser if it is possible to ping Vuforia Experience Service in a web browser..

 

Best regards,

Samuel

bhoey11-VisitorAuthor
1-Visitor
April 8, 2020

Thank you for your helpful reply.  To answer your questions:

 

I am able to click Validate on the Info screen and successfully validate the Experience Service. 

 

The complete URL of the Experience Server shown in the screenshot is: https://thingworxssl-paccartech.msappproxy.net

 

I am also able to successfully ping the Experience Server by appending the ping commandment to the end of the URL like this:

 

 
When I enter the URL into a browser the server returns "OK". 
 
Thanks again for your help!
 
Bill Hoey