Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1525

Cannot access Connect via a proxy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: NCC-1.4.27
    • Fix Version/s: NXP-9.x
    • Component/s: nuxeo-connect-client

      Description

      A Nuxeo setup has a valid proxy configuration, but Nuxeo platform fails to reach the Connect online services.

      They use an authenticated proxy (nuxeo.http.proxy.type=authenticated in nuxeo.conf), and they do have set the other parameters (nuxeo.http.proxy.host, nuxeo.http.proxy.login, nuxeo.http.proxy.ntlm.domain, nuxeo.http.proxy.ntlm.host, nuxeo.http.proxy.password and nuxeo.http.proxy.port) and checked there were no typos.

      The server.log file is then filled with the same error:

      2017-02-02 10:13:01,793 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodBase] Cookie rejected: "$Version=0; $Path=/". Illegal path attribute "/". Path of origin: "connect.nuxeo.com:443"
      2017-02-02 10:13:01,793 INFO  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.auth.AuthChallengeProcessor] ntlm authentication scheme selected
      2017-02-02 10:13:01,793 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodBase] Cookie rejected: "$Version=0; $Path=/". Illegal path attribute "/". Path of origin: "connect.nuxeo.com:443"
      2017-02-02 10:13:01,809 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodBase] Cookie rejected: "$Version=0; $Path=/". Illegal path attribute "/". Path of origin: "connect.nuxeo.com:443"
      2017-02-02 10:13:01,809 INFO  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodDirector] Failure authenticating with NTLM <any realm>@example.com:80
      2017-02-02 10:13:01,809 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.nuxeo.connect.packages.RemotePackageSource] Unable to fetch remote packages list: Error during communication with the Nuxeo Connect Server
      2017-02-02 10:13:01,809 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodBase] Cookie rejected: "$Version=0; $Path=/". Illegal path attribute "/". Path of origin: "connect.nuxeo.com:443"
      2017-02-02 10:13:01,809 INFO  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.auth.AuthChallengeProcessor] ntlm authentication scheme selected
      2017-02-02 10:13:01,825 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodBase] Cookie rejected: "$Version=0; $Path=/". Illegal path attribute "/". Path of origin: "connect.nuxeo.com:443"
      2017-02-02 10:13:01,825 WARN  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodBase] Cookie rejected: "$Version=0; $Path=/". Illegal path attribute "/". Path of origin: "connect.nuxeo.com:443"
      2017-02-02 10:13:01,825 INFO  [http-bio-10.99.197.131-8080-exec-1] [org.apache.commons.httpclient.HttpMethodDirector] Failure authenticating with NTLM <any realm>@example.com:80
      2017-02-02 10:13:01,825 ERROR [http-bio-10.99.197.131-8080-exec-1] [org.nuxeo.connect.client.status.ConnectStatusHolder] Error while calling Nuxeo Online Services
      org.nuxeo.connect.connector.ConnectServerError: Error during communication with the Nuxeo Connect Server
          at org.nuxeo.connect.connector.http.ConnectHttpConnector.execServerCall(ConnectHttpConnector.java:126)
      [...]
      Caused by: java.io.IOException: Stream closed
          at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
      

      And in the UI, when the server first comes up it always give the error about not being registered but it seems like after a bit the connection request does get through the proxy and work because the error message disappears from the home screen.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m