Sp00ky
August 10, 2022, 7:56pm
1
I run my own Goerli RPC node with JSON RPC enabled.
I can successfully connect:
But MetaMask doesn’t want to connect, although I see in the network log that it correctly fetched the chain id from the endpoint:
What’s wrong with MetaMask? What am I missing?
Sp00ky
August 10, 2022, 8:00pm
2
Note: the RPC node is on a remote box that I connect to by IP address directly (through a wireguard VPN). It’s on the 100.x.y.z
space.
Sp00ky
August 10, 2022, 8:04pm
3
Ah, I see this error in the console: Error: Unknown Infura provider type "http://100.x.y.z:8545".
Well, that’s not Infura… why does it think it’s Infura and how to fix that?
1 Like
@Sp00ky
Hi, I think what you are doing should work on a private blockchain like Ganache.
In the case of Goerli, you need to set up the node via Infura with your Project ID.
1 Like
Do you also get this issue on mobile?
Sp00ky
August 10, 2022, 10:42pm
6
Interesting.
On mobile it refuses to add the endpoint because it requires https.
I think it’s a bug and should not require HTTPS on 100.64.0.0/10 as it’s a private Tailscale VPN the same way it doesn’t require HTTPS for 192.168.0.0/16
Details on tailscale . com/kb/1015/100.x-addresses/
Would you be able to submit an issue on GitHub for the http/https error on the mobile repository?
And for the Infura provider type issue on the extension repository?
Thanks for bringing these up!
3 Likes
Sp00ky
August 11, 2022, 7:34pm
8
Done
Mobile github . com/MetaMask/MetaMask-mobile/issues/4842
Browser github . com/MetaMask/MetaMask-extension/issues/15560
But seeing the thousands of open issues, my hopes are quite low for something that should be a trivial fix…
2 Likes
system
Closed
September 11, 2022, 2:54pm
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.