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

Girder-readme plugin blocked by CORS #3421

Open
Docteur-RS opened this issue Oct 4, 2022 · 0 comments
Open

Girder-readme plugin blocked by CORS #3421

Docteur-RS opened this issue Oct 4, 2022 · 0 comments

Comments

@Docteur-RS
Copy link

The girder-readme plugin is blocked by CORS. It was working great on a previous Girder install I had a few month ago.


Now I have the following CORS errors:

Access to XMLHttpRequest at 'https://storage.gra.cloud.ovh.net/demo/README?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ac5c7ec68304d28f3b7%2004%2Fgra%2Fs3%2Faws4_request&X-Amz-Date=2022004T151508Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=98788c18d4606e4f1fd64358b849785d64ec6' (redirected from 'http://127.0.0.1:8080/api/v1/folder/633c49c6553c0d/readme') from origin 'http://127.0.0.1:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
girder_lib.min.js:39 0 error undefined

girder_lib.min.js:39          GET https://storage.gra.cloud.ovh.net/demo/README?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ac5c7ec6aa68f3b7%2F20204%2Fgra%2Fs3%2Faws4_request&X-Amz-Date=2024T151508Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=98788c18d460849785d64ec6 net::ERR_FAILED

Also tried from a Girder exposed over DNS and not localhost and the result is the same.

Am I the only one having this issue ?


Readme file is stored in an S3 bucket at OVH
Using Girder 3.1.8

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