Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
I am getting the below error when trying to validate or publish an experience in Studio, when we enable self-signed checkbox then we are able to both validate and publish but then when we try to view the experience using Vuforia View we get massage:Unable to load the experience.
We then tried re-configuring the server to use http and everything seems to be working as expected but this option is not same as we are also connecting to thingworx with sensitive data.
We followed the pdf documentation "Vuforia_Experience_Service" but still we having these issues.
Log file output when using https:
[2021-04-19T10:35:52.848Z] debug: [twx-studio:auth] Updating cached sslValidate to true
[0mGET /api/switch [32m200[0m 4.368 ms - -[0m
[0mGET /api/switch [32m200[0m 0.840 ms - -[0m
[2021-04-19T10:35:53.974Z] debug: [twx-studio:auth] Authenticate using: https://xxxx:xxxx ssl: true GET /validate
[2021-04-19T10:35:53.974Z] debug: [twx-studio:AuthRequest] doRequest /ExperienceService/username
[2021-04-19T10:35:53.975Z] debug: [twx-studio:auth] Use Basic authorization
[2021-04-19T10:35:54.003Z] debug: [twx-studio:AuthRequest] https://xxxxxx/ExperienceService/username response code undefined
[2021-04-19T10:35:54.003Z] debug: [twx-studio:AuthRequest] https://xxxxxx/ExperienceService/username Error Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket.EventEmitter.emit (domain.js:467:12)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
at TLSWrap.callbackTrampoline (internal/async_hooks.js:131:14) {
code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}
[2021-04-19T10:35:54.003Z] debug: [twx-studio:auth] Failed to authenticate experience server https://xxxx:xxxx undefined undefined
[0mGET /api/validate [31m500[0m 31.335 ms - 37[0m
Solved! Go to Solution.
Hello,
I believe that Vuforia Experience Service has been installed with a SSL certificate self-signed.
Please read this article :
https://www.ptc.com/en/support/article/CS262689
Apply the solution with the Environment Variable named NODE_TLS_REJECT_UNAUTHORIZED set at the value 0.
Best regards,
Samuel
Hello,
I believe that Vuforia Experience Service has been installed with a SSL certificate self-signed.
Please read this article :
https://www.ptc.com/en/support/article/CS262689
Apply the solution with the Environment Variable named NODE_TLS_REJECT_UNAUTHORIZED set at the value 0.
Best regards,
Samuel
The link you sent to the article is dead:
https://www.ptc.com/en/support/article/CS262689
we tried using different method but we still get the same error.
The problem is that even mobile users are not able to access the published experience when using Vuforia View, so even if we select self-signed on Studio the problem is that users are not able to consume the experience.
Hello,
I am not sure to understand.
It seems various issues have been reported and merged.
I think it is better to focus on one issue and after on next one ...etc.. in this use case.
In first post, issue is in Vuforia Studio when publishing when using HTTPS.
[2021-04-19T10:35:54.003Z] debug: [twx-studio:AuthRequest] https://xxxxxx/ExperienceService/username Error Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket.EventEmitter.emit (domain.js:467:12)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
at TLSWrap.callbackTrampoline (internal/async_hooks.js:131:14) {
code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}
To solve this exception, please follow the steps given in my previous post.
Best regards,
Samuel