wealdtech / ethereal

Apache License 2.0
209 stars 41 forks source link

Infura error #25

Closed danimesq closed 3 years ago

danimesq commented 3 years ago

Failed to connect to Ethereum node: Post "https://mainnet.infura.io/v3/831a5442dc2e4536a9f8dee4ea1707a6": dial tcp: lookup mainnet.infura.io: no such host

Screenshot from 2021-05-10 11-41-23 Screenshot from 2021-05-10 11-41-27

danimesq commented 3 years ago

@wealdtech

mcdee commented 3 years ago

That looks to be a network/resolution error on the host side. mainnet.infura.io appears to be present and operating fine.

danimesq commented 3 years ago

@mcdee, this error isn't only in my side: https://archive.is/Er3sv https://archive.is/FuItc

mcdee commented 3 years ago

The URL is to an API endpoint rather than a website.

danimesq commented 3 years ago

@mcdee, then what you suggest to fix this?

mcdee commented 3 years ago

Given this looks like a transient network issue, it should fix itself.

danimesq commented 3 years ago

Ok, now it worked:

Screenshot from 2021-05-10 14-30-37

But how to avoid these issues happening again? Such as using an fallback Ethereum node?

danimesq commented 3 years ago

Happened again: Screenshot from 2021-05-10 15-18-46

This wasn't happening before, as Web3Updater used ethereal and its Infura node with reliable stability.

mcdee commented 3 years ago

If the infura node is proving unreliable a local geth node can be used instead, or a different service provider. The alternative provider can be specified with the --connection parameter.