You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Could not fetch chain ID. Is your RPC URL correct? #24
Uhm this should work out of the box (I use it myself). Some screenshots:
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?
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.
Activity
elylon1101 commentedon Nov 9, 2021
vrde commentedon Nov 17, 2021
Uhm this should work out of the box (I use it myself). Some screenshots:
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:8545and tell me what you get?srcCraftsman commentedon 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'tsee 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 commentedon May 3, 2022
@TessTea if you have a fix it would be great! Can you make a PR?
srcCraftsman commentedon May 3, 2022
@vrde here it is
srcCraftsman commentedon May 25, 2022
@vrde Can
@vrde Can you take a look at it?
vrde commentedon May 27, 2022
Thanks! Sorry for my late reply