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

Stuck in loop #214

Open
jf-cucalon opened this issue Aug 23, 2020 · 2 comments
Open

Stuck in loop #214

jf-cucalon opened this issue Aug 23, 2020 · 2 comments

Comments

@jf-cucalon
Copy link

Hi, whenever i try to upload through the admin interface i get stuck posting to get aws v4 signature over and over again, any ideas ?

@Ukie1
Copy link

Ukie1 commented Apr 10, 2022

I can't fully answer your question, but here are two ideas to pursue:

  1. What is the HTTP return code of the request? Looking at the source of generate_aws_v4_signature, it has four return statements. They return HTTP 403, 500, 500, and (likely) 200, respectively. So the HTTP return code says something about what is returning.

  2. Check the javascript console of the web browser. It may be complaining about CORS, e.g.:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://.... (Reason: CORS request did not succeed). Status code: (null).

If it's complaining about CORS, you have to fix your CORS permissions. Not quite sure how yet.

@Ukie1
Copy link

Ukie1 commented Apr 10, 2022

For example, I found I had put http instead of https in the AllowedOrigins of the CORS declaration. Oof.

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

2 participants