XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.27.3
    • Fix Version/s: None
    • Component/s: Remote Repository
    • Labels:
      None

      Description

      When I try to create a remote repository for https://yum.repos.intel.com/oneapi/ trying to fetch anything from it returns 404, even where I can fetch from the remote repo just fine.  For example given this remote repository:

      $ curl -v -o /dev/null 'https://yum.repos.intel.com/oneapi/intel-oneapi-common-licensing-2022.0.0-59.noarch.rpm'
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 2600:140a:0:597::4b23:443...
      * Connected to yum.repos.intel.com (2600:140a:0:597::4b23) port 443 (#0)
      * ALPN, offering h2
      * ALPN, offering http/1.1
      * successfully set certificate verify locations:
      *  CAfile: /etc/pki/tls/certs/ca-bundle.crt
      *  CApath: none
      } [5 bytes data]
      * TLSv1.3 (OUT), TLS handshake, Client hello (1):
      } [512 bytes data]
      * TLSv1.3 (IN), TLS handshake, Server hello (2):
      { [122 bytes data]
      * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
      { [35 bytes data]
      * TLSv1.3 (IN), TLS handshake, Certificate (11):
      { [6609 bytes data]
      * TLSv1.3 (IN), TLS handshake, CERT verify (15):
      { [264 bytes data]
      * TLSv1.3 (IN), TLS handshake, Finished (20):
      { [52 bytes data]
      * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
      } [1 bytes data]
      * TLSv1.3 (OUT), TLS handshake, Finished (20):
      } [52 bytes data]
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
      * ALPN, server accepted to use http/1.1
      * Server certificate:
      *  subject: C=US; ST=California; L=Folsom; O=Intel Corporation; CN=www.intel.com
      *  start date: Aug 10 00:00:00 2021 GMT
      *  expire date: Aug 10 23:59:59 2022 GMT
      *  subjectAltName: host "yum.repos.intel.com" matched cert's "yum.repos.intel.com"
      *  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Organization Validation Secure Server CA
      *  SSL certificate verify ok.
      } [5 bytes data]
      > GET /oneapi/intel-oneapi-common-licensing-2022.0.0-59.noarch.rpm HTTP/1.1
      > Host: yum.repos.intel.com
      > User-Agent: curl/7.79.1
      > Accept: */*
      > 
      { [5 bytes data]
      * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
      { [265 bytes data]
      * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
      { [265 bytes data]
      * old SSL session ID is stale, removing
      { [5 bytes data]
      * Mark bundle as not supporting multiuse
      < HTTP/1.1 200 OK
      < Content-Type: application/x-redhat-package-manager
      < Content-Length: 4295
      < Last-Modified: Sat, 18 Dec 2021 09:27:40 GMT
      < ETag: "0eeffff90ba4d59505865f67512b98c8"
      < x-amz-server-side-encryption: AES256
      < x-amz-version-id: zXfEBZjF_ZJvy_klHX3EySOe2JbM9chy
      < Accept-Ranges: bytes
      < Server: AmazonS3
      < X-Amz-Cf-Pop: EWR53-C1
      < X-Amz-Cf-Id: Ev7tEZzbxxZrUSKFqTEy6EBWlSMwboNP5_QMeFN8KwPtnhIfMthimA==
      < Date: Thu, 31 Mar 2022 12:14:56 GMT
      < Connection: keep-alive
      < Strict-Transport-Security: max-age=31536000 ; preload
      < 
        0  4295    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{ [5 bytes data]
      100  4295  100  4295    0     0   4537      0 --:--:-- --:--:-- --:--:--  4535
      * Connection #0 to host yum.repos.intel.com left intact
      

      The above works, however when I try to access that same object through Artifactory:

      $ curl -v -o /dev/null 'https://artifactory.[redacted].com/artifactory/intel-oneapi-x86_64-proxy/intel-oneapi-common-licensing-2022.0.0-59.noarch.rpm'
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
        0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0*   Trying 10.12.0.7:443...
      * Connected to artifactory.[redacted].com (10.12.0.7) port 443 (#0)
      * ALPN, offering h2
      * ALPN, offering http/1.1
      * successfully set certificate verify locations:
      *  CAfile: /etc/pki/tls/certs/ca-bundle.crt
      *  CApath: none
      } [5 bytes data]
      * TLSv1.3 (OUT), TLS handshake, Client hello (1):
      } [512 bytes data]
      * TLSv1.3 (IN), TLS handshake, Server hello (2):
      { [108 bytes data]
      * TLSv1.2 (IN), TLS handshake, Certificate (11):
      { [5241 bytes data]
      * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
      { [589 bytes data]
      * TLSv1.2 (IN), TLS handshake, Server finished (14):
      { [4 bytes data]
      * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
      } [70 bytes data]
      * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
      } [1 bytes data]
      * TLSv1.2 (OUT), TLS handshake, Finished (20):
      } [16 bytes data]
      * TLSv1.2 (IN), TLS handshake, Finished (20):
      { [16 bytes data]
      * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
      * ALPN, server accepted to use http/1.1
      * Server certificate:
      [redacted]
      *  SSL certificate verify ok.
        0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0} [5 bytes data]
      > GET /artifactory/intel-oneapi-x86_64-proxy/intel-oneapi-common-licensing-2022.0.0-59.noarch.rpm HTTP/1.1
      > Host: artifactory.[redacted].com
      > User-Agent: curl/7.79.1
      > Accept: */*
      > 
      { [5 bytes data]
      * Mark bundle as not supporting multiuse
      < HTTP/1.1 404 Not Found
      < Server: nginx/1.20.2
      < Date: Thu, 31 Mar 2022 12:16:37 GMT
      < Content-Type: application/json;charset=ISO-8859-1
      < Transfer-Encoding: chunked
      < Connection: keep-alive
      < Keep-Alive: timeout=5
      < X-Artifactory-Id: fcd91fb8e4c9c39f:de6b619:17eb70e25a0:-8000
      < X-Artifactory-Node-Id: [redacted].com-rt
      < X-Jfrog-Version: Artifactory/7.27.3 72703900
      < 
      { [263 bytes data]
      100   256    0   256    0     0     43      0 --:--:--  0:00:05 --:--:--    60
      * Connection #0 to host artifactory.dc.hpdd.intel.com left intact
      

      it returns a 404.

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bmurrell Brian J. Murrell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: