Giter Site home page Giter Site logo

Comments (7)

karianna avatar karianna commented on September 14, 2024

@ashih - Thanks for the report - can you give us the full request with headers and the responses as well (especially when you get a 404). It may be our Cloudflare CDN

from openjdk-api-v3.

ashih avatar ashih commented on September 14, 2024

I wasn't able to repro the 404 recently, but the http headers look like the following for a 200 take from yesterday:

Request Headers

> HEAD /v3/assets/feature_releases/11/ga?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&os=linux&page=0&page_size=1&project=jdk&sort_order=DESC&vendor=adoptopenjdk HTTP/2
> Host: api.adoptopenjdk.net
> User-Agent: curl/7.58.0
> Accept: */*

Response Headers

< HTTP/2 200 
< date: Sat, 18 Jul 2020 07:47:07 GMT
< content-type: application/json
< set-cookie: __cfduid=d0ddd004a541703a191831690143929801595058427; expires=Mon, 17-Aug-20 07:47:07 GMT; path=/; domain=.adoptopenjdk.net; HttpOnly; SameSite=Lax
< access-control-allow-origin: *
< set-cookie: b7b892882bae631693e1ea44963ef628=1febd18fc32492c1ba4c09f4569294d8; path=/; HttpOnly; Secure
< cache-control: private
< cf-cache-status: DYNAMIC
< cf-request-id: 04027d2e080000c514efa50200000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< server: cloudflare
< cf-ray: 5b4a97c34f98c514-ORD
< alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400

If it helps you to track it down, we saw many errors on June 4th, 2020. I'll bring up more instances when they come up. Is there a way to grep server logs for a request for the URL https://api.adoptopenjdk.net/v3/assets/feature_releases/11/ga?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&os=linux&page=0&page_size=1&project=jdk&sort_order=DESC&vendor=adoptopenjdk for 404s?

from openjdk-api-v3.

ashih avatar ashih commented on September 14, 2024

Today we saw a 200 with an "Application is not available" result. Please see the text below:

        Running "curl --silent https://api.adoptopenjdk.net/v3/assets/feature_releases/11/ga?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&os=linux&page=0&page_size=1&project=jdk&sort_order=DESC&vendor=adoptopenjdk"
        <html>
        <head>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <style type="text/css">
          /*!
           * Bootstrap v3.3.5 (http://getbootstrap.com)
           * Copyright 2011-2015 Twitter, Inc.
           * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
           */
          /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
          html {
            font-family: sans-serif;
            -ms-text-size-adjust: 100%;
            -webkit-text-size-adjust: 100%;
          }
          body {
            margin: 0;
          }
          h1 {
            font-size: 1.7em;
            font-weight: 400;
            line-height: 1.3;
            margin: 0.68em 0;
          }
          * {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
          }
          *:before,
          *:after {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
          }
          html {
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
          }
          body {
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            line-height: 1.66666667;
            font-size: 13px;
            color: #333333;
            background-color: #ffffff;
            margin: 2em 1em;
          }
          p {
            margin: 0 0 10px;
            font-size: 13px;
          }
          .alert.alert-info {
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid transparent;
            background-color: #f5f5f5;
            border-color: #8b8d8f;
            color: #363636;
            margin-top: 30px;
          }
          .alert p {
            padding-left: 35px;
          }
          a {
            color: #0088ce;
          }
        
          ul {
            position: relative;
            padding-left: 51px;
          }
          p.info {
            position: relative;
            font-size: 15px;
            margin-bottom: 10px;
          }
          p.info:before, p.info:after {
            content: "";
            position: absolute;
            top: 9%;
            left: 0;
          }
          p.info:before {
            content: "i";
            left: 3px;
            width: 20px;
            height: 20px;
            font-family: serif;
            font-size: 15px;
            font-weight: bold;
            line-height: 21px;
            text-align: center;
            color: #fff;
            background: #4d5258;
            border-radius: 16px;
          }
        
          @media (min-width: 768px) {
            body {
              margin: 4em 3em;
            }
            h1 {
              font-size: 2.15em;}
          }
        
          </style>
        </head>
        <body>
        <div>
        <h1>Application is not available</h1>
        <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p>
        <div class="alert alert-info">
        <p class="info">
        Possible reasons you are seeing this page:
        </p>
        <ul>
        <li>
        <strong>The host doesn't exist.</strong>
        Make sure the hostname was typed correctly and that a route matching this hostname exists.
        </li>
        <li>
        <strong>The host exists, but doesn't have a matching path.</strong>
        Check if the URL path was typed correctly and that the route was created using the desired path.
        </li>
        <li>
        <strong>Route and path matches, but all pods are down.</strong>
        Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
        </li>
        </ul>
        </div>
        </div>
        </body>
        </html>
        Done "curl --silent https://api.adoptopenjdk.net/v3/assets/feature..." (429.936457ms)

from openjdk-api-v3.

ashih avatar ashih commented on September 14, 2024

Hi any update on this?

from openjdk-api-v3.

johnoliver avatar johnoliver commented on September 14, 2024

Out of interest, are you seeing any 404s recently? We did roll out some updates that may have improved the situation. We have external monitoring running and it has not recorded any downtime of the api in some time.

from openjdk-api-v3.

ashih avatar ashih commented on September 14, 2024

We are seeing 500s and 503s instead of 404s now: one on 6/10, one on 7/20, 4 on 7/29 and 7/31, 3 on 8/5

from openjdk-api-v3.

ashih avatar ashih commented on September 14, 2024

Closing ticket as we haven't seen any issues since August.

from openjdk-api-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.