<?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: Nuxeo Drive 4.x client tries to switch to https access which is not available in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320877#M7878</link>
    <description>&lt;P&gt;Hi [Mickaël Schoentgen](https&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 00:01:36 GMT</pubDate>
    <dc:creator>promanov_</dc:creator>
    <dc:date>2020-04-09T00:01:36Z</dc:date>
    <item>
      <title>Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320870#M7871</link>
      <description>&lt;P&gt;My nuxeo server is behind a reverse proxy and is accessed by http.
When configuring the client to connect with http it works perfectly and uses http url.&lt;/P&gt;
&lt;P&gt;But after restart the nuxeo drive client switches automatically to https:
2019-10-23 14:59:25 21200 5124 INFO nxdrive.engine.engine Updated server url to &lt;A href="https://SERVER.eu.ngrok.io/nuxeo" target="test_blank"&gt;https://SERVER.eu.ngrok.io/nuxeo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The proxy server returns HTTP 404 code, the https access doesn't exists. Here is the client log message:
2019-10-23 14:59:33 21200 17720 INFO     nxdrive.manager    Status code for &lt;A href="https://SERVER.eu.ngrok.io/nuxeo/drive_browser_login.jsp" target="test_blank"&gt;https://SERVER.eu.ngrok.io/nuxeo/drive_browser_login.jsp&lt;/A&gt; = 404&lt;/P&gt;
&lt;P&gt;But the client keeps calling with https ang getting error:
2019-10-23 15:00:02 21200 18156 DEBUG    nuxeo.client       Calling 'https://SERVER.eu.ngrok.io/nuxeo/site/automation/NuxeoDrive.GetChangeSummary'
2019-10-23 15:00:03 21200 18156 WARNING  nxdrive.engine.watcher.remote_watcher Network error:&lt;/P&gt;
&lt;P&gt;It seems that the client misinterpretes the test call on https support, which in this case is not an ssl error, and switches to https instead of keeping http.&lt;/P&gt;
&lt;P&gt;Also it's quite surprising and misleading to have a behavior change on the first client connection and after its' restart.&lt;/P&gt;
&lt;P&gt;Could you have a look on this please?&lt;/P&gt;
&lt;P&gt;Versions:
Server - 10.10 HF11
Nuxeo Drive client 4.2.0&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:27:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320870#M7871</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2019-10-23T11:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320871#M7872</link>
      <description>&lt;P&gt;more logs when first connecting the account&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:33:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320871#M7872</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2019-10-23T11:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320872#M7873</link>
      <description>&lt;P&gt;The code that checks for SSL support is catching all errors, not just SSL ones.
In your case, why the reverse proxy handles HTTPS (or seem to handle)? I think the proxy translates HTTPS traffic to HTTP and thus request errors, right?&lt;/P&gt;
&lt;P&gt;FI the SSL check has been added with &lt;A href="https://jira.nuxeo.com/browse/NXDRIVE-1647" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXDRIVE-1647&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:29:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320872#M7873</guid>
      <dc:creator>Mickaël_Schoent</dc:creator>
      <dc:date>2019-10-23T13:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320873#M7874</link>
      <description>&lt;P&gt;the proxy try to anwer gently that the tunnel is not available for https.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 14:58:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320873#M7874</guid>
      <dc:creator>TNelson_</dc:creator>
      <dc:date>2019-10-23T14:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320874#M7875</link>
      <description>&lt;P&gt;this code doesnt not handle the content returned (or the 4xx code) and fail when http&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:12:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320874#M7875</guid>
      <dc:creator>TNelson_</dc:creator>
      <dc:date>2019-10-23T15:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320875#M7876</link>
      <description>&lt;P&gt;You are right, the check is not ideal. I will create a bugfix ticket and it will be fixed in 4.2.1. Thanks for the report&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:14:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320875#M7876</guid>
      <dc:creator>Mickaël_Schoent</dc:creator>
      <dc:date>2019-10-23T15:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320876#M7877</link>
      <description>&lt;P&gt;great support !&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:59:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320876#M7877</guid>
      <dc:creator>TNelson_</dc:creator>
      <dc:date>2019-10-23T15:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320877#M7878</link>
      <description>&lt;P&gt;Hi [Mickaël Schoentgen](https&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 00:01:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320877#M7878</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2020-04-09T00:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320878#M7879</link>
      <description>&lt;P&gt;Not yet, but you can follow https&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 07:55:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320878#M7879</guid>
      <dc:creator>Mickaël_Schoent</dc:creator>
      <dc:date>2020-04-09T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive 4.x client tries to switch to https access which is not available</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320879#M7880</link>
      <description>&lt;P&gt;Ok, thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 07:24:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-4-x-client-tries-to-switch-to-https-access-which-is/m-p/320879#M7880</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2020-04-10T07:24:11Z</dc:date>
    </item>
  </channel>
</rss>

