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

Could not fetch chain ID. Is your RPC URL correct? #24

Open
elylon1101 opened this issue Nov 9, 2021 · 7 comments
Open

Could not fetch chain ID. Is your RPC URL correct? #24

elylon1101 opened this issue Nov 9, 2021 · 7 comments

Comments

@elylon1101
Copy link

image
image

@elylon1101
Copy link
Author

image

@vrde
Copy link
Owner

vrde commented Nov 17, 2021

Uhm this should work out of the box (I use it myself). Some screenshots:

image

image

image

Can you try to run on a terminal curl -k -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_chainId","id":1}' http://localhost:8545 and tell me what you get?

@srcCraftsman
Copy link
Contributor

srcCraftsman commented Apr 22, 2022

Its all about this piece of code in main.js file(strings 211 & 220):
Now it looks like localhost, what makes node listen only on 127.0.0.1 or localhost. As long as operation system doesn't
see Docker-container as localhost this doesn't work. Is you try to change this strings to '0.0.0.0' it would be able to interact with any incoming request.
I can upload already fixed version if you want.

@vrde
Copy link
Owner

vrde commented May 3, 2022

@TessTea if you have a fix it would be great! Can you make a PR?

@srcCraftsman
Copy link
Contributor

srcCraftsman commented May 3, 2022

@TessTea if you have a fix it would be great! Can you make a PR?

@vrde here it is

@srcCraftsman
Copy link
Contributor

@vrde Can

@TessTea if you have a fix it would be great! Can you make a PR?

@vrde here it is

@vrde Can you take a look at it?

@vrde
Copy link
Owner

vrde commented May 27, 2022

Thanks! Sorry for my late reply

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

3 participants