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

Fresh install with docker, json file problem #462

Open
Zerdec62 opened this issue Jun 16, 2022 · 2 comments
Open

Fresh install with docker, json file problem #462

Zerdec62 opened this issue Jun 16, 2022 · 2 comments
Labels

Comments

@Zerdec62
Copy link

Hello,

I have a little problem from my fresh install.

I run a docker compose basic setup from this official file with just add a mount point from a NAS in my network with NFS.

My setup work perfectly with the default setting but when I use one of my json file, I get a error message for example from https://www.test-cors.org/ or https://hoppscotch.io/, and also with a app a friend build, when he use a json file on local no problem but in my setup he get a error from CORS, a Access-Control-Allow-Origin problem.

Can you help me please ? (I don't know if I send here my link for the API website or not, if you need it I can do it)

@chriskapp
Copy link
Member

Hi, sure, so could you show me the error message what exactly the problem is of the CORS request? In general Fusio should handle the prefligh request with a 200 response and allow also requests from other domains.

@Zerdec62
Copy link
Author

Zerdec62 commented Jul 3, 2022

Hello, sorry for my reponse time !

So my friend send me this error message :

Access to fetch at 'https://dbd-api.herokuapp.com/killers' from origin 'http://127.0.0.1:5500/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

This message come with that API website and with mine (https://api.akvd.fr/dbd/killers) that doesn't work too.

He have his web app on his local computer, and we test with defaulf API (https://api.akvd.fr/) and a other api on the web (for exemple the Nasa API), all is good so is not a problem with his app hosted on his computer.

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

No branches or pull requests

2 participants