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 origin & Error: Latest block should be set by now #74

Open
saravana87 opened this issue Jul 14, 2020 · 0 comments
Open

Cors origin & Error: Latest block should be set by now #74

saravana87 opened this issue Jul 14, 2020 · 0 comments

Comments

@saravana87
Copy link

After reading the manual. I build the repo from source (https://github.com/Alethio/ethereum-lite-explorer#building-from-source)

I managed to build and run the application without the error.

I used npm run build-dev to check the app in the 3000 port.

Errors

  1. Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:8545/. (Reason: CORS request did not succeed).
  2. Error: Latest block should be set by now

I added cors code in the dev/index.ts also. I added cors params in Geth and parity server.

Can someone help me to figure out the issue.
eth

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