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

CORS error even with CORS_ALLOW=* #505

Open
ssantos21 opened this issue Jul 14, 2024 · 1 comment
Open

CORS error even with CORS_ALLOW=* #505

ssantos21 opened this issue Jul 14, 2024 · 1 comment

Comments

@ssantos21
Copy link

I am running Esplora via docker run --name esplora-container -p 50001:50001 -p 8094:80 --volume $PWD/data_bitcoin_regtest:/data -e CORS_ALLOW=* --rm -i -t blockstream/esplora bash -c "/srv/explorer/run.sh bitcoin-regtest explorer" command but I am getting the error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8094/regtest/api/address/bcrt1pw4egam6splawuqt6djwex5x7kxenwezwcu60plt28fenmqe8zn3q9t0evs/utxo. (Reason: CORS preflight response did not succeed). Status code: 404.

Why is this happening since I am passing the CORS_ALLOW=* env var ?

@Bigboy901
Copy link

I have a error on a bot I need help trying to solve the problem

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