Sonatype OSS redirects to repo.aws.oss.sonatype.org

https://oss.sonatype.org/content/repositories/snapshots redirects to https://repo.aws.oss.sonatype.org/content/repositories/snapshots/ with HTTP Status 404

   curl https://oss.sonatype.org/content/repositories/snapshots -vvv --http1.1 -L
    *   Trying 52.72.197.92...
    * TCP_NODELAY set
    * Connected to oss.sonatype.org (52.72.197.92) port 443 (#0)
    * ALPN, offering http/1.1
    * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
    * successfully set certificate verify locations:
    *   CAfile: /etc/ssl/cert.pem
      CApath: none
    * TLSv1.2 (OUT), TLS handshake, Client hello (1):
    * TLSv1.2 (IN), TLS handshake, Server hello (2):
    * TLSv1.2 (IN), TLS handshake, Certificate (11):
    * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    * TLSv1.2 (IN), TLS handshake, Server finished (14):
    * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
    * TLSv1.2 (OUT), TLS handshake, Finished (20):
    * TLSv1.2 (IN), TLS change cipher, Client hello (1):
    * TLSv1.2 (IN), TLS handshake, Finished (20):
    * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
    * ALPN, server accepted to use http/1.1
    * Server certificate:
    *  subject: CN=oss.sonatype.org
    *  start date: Aug 23 00:00:00 2019 GMT
    *  expire date: Sep 23 12:00:00 2020 GMT
    *  subjectAltName: host "oss.sonatype.org" matched cert's "oss.sonatype.org"
    *  issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
    *  SSL certificate verify ok.
    > GET /content/repositories/snapshots HTTP/1.1
    > Host: oss.sonatype.org
    > User-Agent: curl/7.54.0
    > Accept: */*
    >
    < HTTP/1.1 302 Found
    < Date: Thu, 03 Oct 2019 21:16:29 GMT
    < Content-Length: 0
    < Connection: keep-alive
    < Server: nginx
    < X-Frame-Options: SAMEORIGIN
    < X-Content-Type-Options: nosniff
    < Accept-Ranges: bytes
    < Location: https://oss.sonatype.org/content/repositories/snapshots/
    <
    * Connection #0 to host oss.sonatype.org left intact
    * Issue another request to this URL: 'https://oss.sonatype.org/content/repositories/snapshots/'
    * Found bundle for host oss.sonatype.org: 0x7fc03ad1f9d0 [can pipeline]
    * Re-using existing connection! (#0) with host oss.sonatype.org
    * Connected to oss.sonatype.org (52.72.197.92) port 443 (#0)
    > GET /content/repositories/snapshots/ HTTP/1.1
    > Host: oss.sonatype.org
    > User-Agent: curl/7.54.0
    > Accept: */*
    >
    < HTTP/1.1 302 Moved Temporarily
    < Server: awselb/2.0
    < Date: Thu, 03 Oct 2019 21:16:29 GMT
    < Content-Type: text/html
    < Content-Length: 126
    < Connection: keep-alive
    < Location: https://repo.aws.oss.sonatype.org:443/content/repositories/snapshots/
    <
    * Ignoring the response-body
    * Connection #0 to host oss.sonatype.org left intact
    * Issue another request to this URL: 'https://repo.aws.oss.sonatype.org:443/content/repositories/snapshots/'
    *   Trying 52.21.219.85...
    * TCP_NODELAY set
    * Connected to repo.aws.oss.sonatype.org (52.21.219.85) port 443 (#1)
    * ALPN, offering http/1.1
    * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
    * successfully set certificate verify locations:
    *   CAfile: /etc/ssl/cert.pem
      CApath: none
    * TLSv1.2 (OUT), TLS handshake, Client hello (1):
    * TLSv1.2 (IN), TLS handshake, Server hello (2):
    * TLSv1.2 (IN), TLS handshake, Certificate (11):
    * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    * TLSv1.2 (IN), TLS handshake, Server finished (14):
    * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
    * TLSv1.2 (OUT), TLS handshake, Finished (20):
    * TLSv1.2 (IN), TLS change cipher, Client hello (1):
    * TLSv1.2 (IN), TLS handshake, Finished (20):
    * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
    * ALPN, server accepted to use http/1.1
    * Server certificate:
    *  subject: CN=*.aws.oss.sonatype.org
    *  start date: Sep 11 00:00:00 2019 GMT
    *  expire date: Oct 11 12:00:00 2020 GMT
    *  subjectAltName: host "repo.aws.oss.sonatype.org" matched cert's "*.aws.oss.sonatype.org"
    *  issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
    *  SSL certificate verify ok.
    > GET /content/repositories/snapshots/ HTTP/1.1
    > Host: repo.aws.oss.sonatype.org
    > User-Agent: curl/7.54.0
    > Accept: */*
    >
    < HTTP/1.1 404 Not Found
    < Date: Thu, 03 Oct 2019 21:16:30 GMT
    < Content-Type: text/html
    < Transfer-Encoding: chunked
    < Connection: keep-alive
    < Server: Nexus/2.14.14-01
    < X-Frame-Options: SAMEORIGIN
    < X-Content-Type-Options: nosniff
    < Accept-Ranges: bytes
    <
    <html>
      <head>
        <title>404 - Repository M2Repository(id=snapshots) is not browsable</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

        <link rel="icon" type="image/png" href="https://repo.aws.oss.sonatype.org/favicon.png">
        <!--[if IE]>
        <link rel="SHORTCUT ICON" href="https://repo.aws.oss.sonatype.org/favicon.ico"/>
        <![endif]-->

        <link rel="stylesheet" href="https://repo.aws.oss.sonatype.org/static/css/Sonatype-content.css?2.14.14-01" type="text/css" media="screen" title="no title" charset="utf-8">
      </head>
      <body>
        <h1>404 - Repository M2Repository(id=snapshots) is not browsable</h1>
        <p>Repository M2Repository(id=snapshots) is not browsable</p>
      </body>
    </html>
    * Connection #1 to host repo.aws.oss.sonatype.org left intact

Hey Hendrik,

Thanks for posting this. That doesn’t seem right and we should have them team take a closer look. If you could, please create a ticket over here https://issues.sonatype.org/projects/OSSRH

Cheers,

Nick