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

504 Gateway Time-out The server didn't respond in time. #604

Open
davneet4u opened this issue Feb 12, 2016 · 1 comment
Open

504 Gateway Time-out The server didn't respond in time. #604

davneet4u opened this issue Feb 12, 2016 · 1 comment

Comments

@davneet4u
Copy link

When I do python manage.py runserver , the localhost takes a long time to respond (>15 minutes) and in the end, I get this error.

The exception location is pyrax/http.py in request, line 76

Though, I run these in my python manage.py shell , it connects without any issue.

import pyrax, os pyrax.set_setting("identity_type", "rackspace") pyrax.set_default_region('HKG') pyrax.cloudfiles.set_temp_url_key("some_key") pyrax.set_credentials(os.environ["RACKSPACE_USERNAME"],os.environ["RACKSPACE_API_KEY"]) some_container = pyrax.cloudfiles.get_container("some-container")

Further figuring out, the issue is in this line
pyrax.cloudfiles.set_temp_url_key("some_key")

I am using temporary_url to upload files directly via browser, it did not give this error until now.

@davneet4u
Copy link
Author

Now it is giving a timeout error in my website.

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