Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server returning 503 dumps raw HTML to the terminal #23

Open
cmarqu opened this issue Jul 11, 2024 · 0 comments
Open

Server returning 503 dumps raw HTML to the terminal #23

cmarqu opened this issue Jul 11, 2024 · 0 comments

Comments

@cmarqu
Copy link
Contributor

cmarqu commented Jul 11, 2024

Our instance of GitHub Enterprise Server was down for maintenance when I ran watchgha, and I got the following output:

Server error '503 Service Temporarily Unavailable' for url 'https://github.example.com/api/v3/repos/foo/bar/actions/runs?per_page=40&branch=feat%2Fquux'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503
[raw HTML here including base64-encoded background and octocat images]

Of the HTML, the following elements might be interesting to show and could easily be stripped of their HTML tags even without a proper HTML renderer:

<title>GitHub Enterprise is currently down for maintenance</title>
    <div class="content">
      <h1>Down for maintenance</h1>
      <br />
      <p style="font-size: 30px;"> Your GitHub Enterprise administrators are performing scheduled maintenance. <br /> </p>
      <p>
        If you have any questions,
        
          please visit
          <a href="foo.example.com">Internal help desk</a>
        
      </p>
    </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant