question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

504 when attempting to add repositories to "My Content"

See original GitHub issue

Bug Report

When attempting to add repositories under “My Content”, the call results in a HTTP 504.

SUMMARY

Although I am not new to ansible, I am new to ansible galaxy. We successfully imported a role for our org earlier this week after some namespace/ownership cleanup. So previous repositories were already loaded for my account. However, I see that, should I decide to add more repositories under either my GitHub org, or my personal account, the outbound xhr request results in a 504.

STEPS TO REPRODUCE

Login to Ansible Galaxy. Note, as a new user, the Oauth Permissions allowed are read-only to org and team membership, as well as my e-mail address.

galaxy_oauth_permissions

Next, access My Content.

On this screen, click on the blue bar, “+Add Content” on the right side of the screen. add_content_button

A modal then appears and attempts to load; however it spins for awhile before getting a 504.

Behind this modal (which registers a failure message), there is a toast message that appears in the background, pointing out the 504.

loading_repositories_hang2

For easy copy/paste, here’s the url: https://galaxy.ansible.com/api/v1/providers/sources/github/benpatterson/

I am able to reproduce this whether it’s my own space, or the space of the org that I’m a member of.

EXPECTED RESULTS

I expected some repository options to load, or if the logic is smarter, only relevant repos (if any) to load. I do not expect a protocol error.

ACTUAL RESULTS

Captured above in steps-to-repro

Happy to provide more detail if needed. I’m able to do what I have to do at this point, but wanted to report this issue. Chers & thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
newswangerdcommented, Feb 14, 2019

Actually, it looks like that stack trace might be a red herring. I think the issue might be caused by our infrastructure and not Galaxy. I’ll see if someone more familiar with that area can help.

0reactions
newswangerdcommented, Mar 15, 2019

We got prod deployed this morning so this issue should be resolved now. Thanks for your patience!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Error: The requested URL returned error: 504 Gateway ...
The 504 status is most likely because you're trying to access an internal server through the proxy so I don't think you should...
Read more >
504 error when trying to upload the source code of a new ...
504 means gateway timeout, could it be Nginx timed out while waiting for something to process the zip file, or it didn't time...
Read more >
How to Fix the 504 Gateway Timeout Error on Your Site - Kinsta
The 504 (Gateway Timeout) status code indicates that the server, while acting as a gateway or proxy, did not receive a timely response...
Read more >
Why am I getting a 504 error when accessing Git over HTTP?
When attempting to clone your Git repository over HTTP, it probably means that there's a size issue. Git is not designed to perform...
Read more >
504 Gateway Timeout trying to push to registry - GitLab
Set up a repository with a Dockerfile that will push at least one large layer, e.g. httpd:alpine or ruby:2.5.1-alpine · Run Auto DevOps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found