Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14871

Can't access remote repository using cookie management

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 5.4.6, 5.10.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
    • Severity:
      Medium

      Description

      Description:  
      Customer has created an Oracle Maven (https://maven.oracle.com) Remote Repository. They are getting Invalid Cookie Header in logs, this is not creating any impact to the application but filling up logs frequently.

      What is the expected behavior?
      Customer does not want these warnings, even we have a workaround available to suppress the warnings but those will be replaced with Error message. Customer want this issue to get fixed. 

      Replication steps:
      Trying to access Oracle's maven repository, configured as a remote repository according to Artifactory docs.

      It seems that the Oracle repos doesn't accept HTTP HEAD requests and that makes Artifactory think the desired resources don't exist. Accessing the URL queried in a browser works. 

      Furthermore, HttpClient complains about cookies and spams the logs with this:

      (o.a.h.c.p.ResponseProcessCookies:129) - Invalid cookie header: "Set-Cookie: IntradocAuth=Basic; path=/; Expires=Thu, 30 Aug 2018 07:25:55 GMT; HttpOnly". Invalid 'expires' attribute: Thu, 30 Aug 2018 07:25:55 GMT

      This doesn't seem to impact querying remote repositories though.

      Debug log attached with JIRA

      Possible workaround: 

      Workaround for now is to add the below entry in logback.xml .

      <logger name=“org.apache.http.client.protocol.ResponseProcessCookies”>
      <level value=“ERROR” />
      </logger>

        Attachments

          Activity

              People

              Assignee:
              shayb Shay Bagants
              Reporter:
              fuero Robert Führicht (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-14871 -
                  SYNCHRONIZED
                  • Last Sync Date: