<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Vuforia: Failed to authorize experience server. in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725218#M9716</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that Vuforia Experience Service has been installed with a SSL certificate self-signed.&lt;/P&gt;
&lt;P&gt;Please read this article :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS262689" target="_blank"&gt;https://www.ptc.com/en/support/article/CS262689&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apply the solution with the &lt;STRONG&gt;Environment Variable&lt;/STRONG&gt; named&amp;nbsp;&lt;STRONG&gt;NODE_TLS_REJECT_UNAUTHORIZED&lt;/STRONG&gt; set at the value 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Samuel&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 06:55:58 GMT</pubDate>
    <dc:creator>sdidier</dc:creator>
    <dc:date>2021-04-20T06:55:58Z</dc:date>
    <item>
      <title>Vuforia: Failed to authorize experience server.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725038#M9715</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We followed the pdf documentation "Vuforia_Experience_Service" but still we having these issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log file output when using https:&lt;/P&gt;
&lt;P&gt;[2021-04-19T10:35:52.848Z] debug: [twx-studio:auth] Updating cached sslValidate to true&lt;BR /&gt;&amp;#27;[0mGET /api/switch &amp;#27;[32m200&amp;#27;[0m 4.368 ms - -&amp;#27;[0m&lt;BR /&gt;&amp;#27;[0mGET /api/switch &amp;#27;[32m200&amp;#27;[0m 0.840 ms - -&amp;#27;[0m&lt;BR /&gt;[2021-04-19T10:35:53.974Z] debug: [twx-studio:auth] Authenticate using: https://xxxx:xxxx ssl: true GET /validate&lt;BR /&gt;[2021-04-19T10:35:53.974Z] debug: [twx-studio:AuthRequest] doRequest /ExperienceService/username&lt;BR /&gt;[2021-04-19T10:35:53.975Z] debug: [twx-studio:auth] Use Basic authorization&lt;BR /&gt;[2021-04-19T10:35:54.003Z] debug: [twx-studio:AuthRequest] &lt;A href="https://vuforia.1worx.co:2019/ExperienceService/username" target="_blank" rel="noopener"&gt;https://xxxxxx/ExperienceService/username&lt;/A&gt; response code undefined&lt;BR /&gt;[2021-04-19T10:35:54.003Z] debug: [twx-studio:AuthRequest] &lt;A href="https://vuforia.1worx.co:2019/ExperienceService/username" target="_blank" rel="noopener"&gt;https://xxxxxx/ExperienceService/username&lt;/A&gt; Error Error: self signed certificate&lt;BR /&gt;at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)&lt;BR /&gt;at TLSSocket.emit (events.js:315:20)&lt;BR /&gt;at TLSSocket.EventEmitter.emit (domain.js:467:12)&lt;BR /&gt;at TLSSocket._finishInit (_tls_wrap.js:932:8)&lt;BR /&gt;at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)&lt;BR /&gt;at TLSWrap.callbackTrampoline (internal/async_hooks.js:131:14) {&lt;BR /&gt;code: 'DEPTH_ZERO_SELF_SIGNED_CERT'&lt;BR /&gt;}&lt;BR /&gt;[2021-04-19T10:35:54.003Z] debug: [twx-studio:auth] Failed to authenticate experience server &lt;A href="https://xxxx:xxxx" target="_blank" rel="noopener"&gt;https://xxxx:xxxx&lt;/A&gt; undefined undefined&lt;BR /&gt;&amp;#27;[0mGET /api/validate &amp;#27;[31m500&amp;#27;[0m 31.335 ms - 37&amp;#27;[0m&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 10:51:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725038#M9715</guid>
      <dc:creator>MaF</dc:creator>
      <dc:date>2021-04-19T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Vuforia: Failed to authorize experience server.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725218#M9716</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that Vuforia Experience Service has been installed with a SSL certificate self-signed.&lt;/P&gt;
&lt;P&gt;Please read this article :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS262689" target="_blank"&gt;https://www.ptc.com/en/support/article/CS262689&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apply the solution with the &lt;STRONG&gt;Environment Variable&lt;/STRONG&gt; named&amp;nbsp;&lt;STRONG&gt;NODE_TLS_REJECT_UNAUTHORIZED&lt;/STRONG&gt; set at the value 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Samuel&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 06:55:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725218#M9716</guid>
      <dc:creator>sdidier</dc:creator>
      <dc:date>2021-04-20T06:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Vuforia: Failed to authorize experience server.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725271#M9718</link>
      <description>&lt;P&gt;The link you sent to the article is dead:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;A href="https://www.ptc.com/en/support/article/CS262689" target="_blank" rel="noopener"&gt;https://www.ptc.com/en/support/article/CS262689&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaF_0-1618911747692.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40687i192369D418FDEF0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaF_0-1618911747692.png" alt="MaF_0-1618911747692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we tried using different method but we still get the same error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 10:08:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725271#M9718</guid>
      <dc:creator>MaF</dc:creator>
      <dc:date>2021-04-20T10:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Vuforia: Failed to authorize experience server.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725299#M9720</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure to understand.&lt;/P&gt;
&lt;P&gt;It seems various issues have been reported and merged.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it is better to focus on one issue and after on next one ...etc.. in this use case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In first post, issue is in Vuforia Studio when publishing when using HTTPS.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;[2021-04-19T10:35:54.003Z] debug: [twx-studio:AuthRequest]&amp;nbsp;&lt;A href="https://vuforia.1worx.co:2019/ExperienceService/username" target="_blank" rel="noopener nofollow noreferrer"&gt;https://xxxxxx/ExperienceService/username&lt;/A&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;Error Error: self signed certificate&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at TLSSocket.emit (events.js:315:20)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at TLSSocket.EventEmitter.emit (domain.js:467:12)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at TLSSocket._finishInit (_tls_wrap.js:932:8)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at TLSWrap.callbackTrampoline (internal/async_hooks.js:131:14) {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;code: &lt;FONT color="#FF0000"&gt;'DEPTH_ZERO_SELF_SIGNED_CERT'&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To solve this exception, please follow the steps given in my previous post.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In workstation where the issue occurs in Vuforia Studio&lt;/LI&gt;
&lt;LI&gt;In Windows, add &lt;STRONG&gt;Environment Variable&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;named&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NODE_TLS_REJECT_UNAUTHORIZED&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;set at the value &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Shutdown Vuforia Studio&lt;/LI&gt;
&lt;LI&gt;Start Vuforia Studio&lt;/LI&gt;
&lt;LI&gt;Try to publish again&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Samuel&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 11:54:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Vuforia-Failed-to-authorize-experience-server/m-p/725299#M9720</guid>
      <dc:creator>sdidier</dc:creator>
      <dc:date>2021-04-20T11:54:42Z</dc:date>
    </item>
  </channel>
</rss>

