ethereum-lite-explorer icon indicating copy to clipboard operation
ethereum-lite-explorer copied to clipboard

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

Open saravana87 opened this issue 4 years ago • 0 comments

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

saravana87 avatar Jul 14 '20 15:07 saravana87