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

Cannot call RPC requests in Web app , cause the RPC node has disabled http OPTIONS method #4

Open
EF09FE opened this issue Oct 17, 2024 · 1 comment

Comments

@EF09FE
Copy link

EF09FE commented Oct 17, 2024

image

We run a web app in browser to connect Megafuel RPC node(https://bsc-megafuel.nodereal.io/), it will throw this errors side CORS error as above.

Root cause is the RPC node has disabled http OPTIONS method requests
image

Any reason make it to disable http OPTIONS methods? or is there any other ways to requests in Browser environment?

@EF09FE EF09FE changed the title Cannot support Web app to call RPC, cause the RPC node has disabled http OPTIONS methods Cannot call RPC requests in Web app , cause the RPC node has disabled http OPTIONS methods Oct 17, 2024
@EF09FE EF09FE changed the title Cannot call RPC requests in Web app , cause the RPC node has disabled http OPTIONS methods Cannot call RPC requests in Web app , cause the RPC node has disabled http OPTIONS method Oct 17, 2024
@clydemeng
Copy link

It is fixed. Please try it again?

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