Skip to content

502 Bad Gateway on Projects > Versions page #5458

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

Closed
markcoatsworth opened this issue Mar 14, 2019 · 7 comments
Closed

502 Bad Gateway on Projects > Versions page #5458

markcoatsworth opened this issue Mar 14, 2019 · 7 comments
Labels
Bug A bug

Comments

@markcoatsworth
Copy link

The Projects > Versions page for our project is throwing a 502 Bad Gateway error. It's happening at the following URL:

https://readthedocs.org/projects/htcondor/versions

I thought this might be a transient error but it's been happening consistently for the last day or so. All the other pages I've tried seem to work fine.

It's worth noting a similar ticket #5441 was filed a couple of days ago for a 502 error on the Import a Repository page. This seems to be working correctly now.

Details

Expected Result

A list of the different versions of our docs, dropdown menus to connect them to different branches, etc.

Actual Result

Server Error

502 - Web server received an invalid response while acting as a gateway or proxy server.

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

@dojutsu-user
Copy link
Member

Hi @markcoatsworth
I am able to open the webpage.
Screenshot from 2019-03-14 21-36-04

@stsewd
Copy link
Member

stsewd commented Mar 14, 2019

I'm seeing 502 too, Investigating now

@stsewd
Copy link
Member

stsewd commented Mar 14, 2019

Looks like this only happens to users with admin/owner privileges.

@markcoatsworth
Copy link
Author

Thanks @dojutsu-user for looking into this! I just checked again and @stsewd is correct. The page loads correctly when not logged in. But when I log in as the project owner it's still throwing the 502 error.

@stsewd stsewd added the Bug A bug label Mar 14, 2019
@stsewd
Copy link
Member

stsewd commented Mar 14, 2019

Just an update here, the problem is caused due the amount of versions (branches and tags) that your project has. We are trying to figure out where the bottleneck is, but if you don't need all those branches/tags removing them from the repo could fix the problem.

@markcoatsworth
Copy link
Author

Alright thanks @stsewd! This makes sense and we've actually already been working to reduce the number of branches and tags. This will give us extra motivation to move on with it. Much appreciate your help.

@davidfischer
Copy link
Contributor

This is fixed and deployed. https://readthedocs.org/projects/htcondor/versions is still a little slow, but it shouldn't timeout now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug
Projects
None yet
Development

No branches or pull requests

4 participants