Comments (4)
Looks like you're using a config file -- can you please show the relevant lines as you have them configured? This will help us replicate and better understand your issue.
I'm confused because the DNS lines are EthDiscoveryURLs
and SnapDiscoveryURLs
, and your screenshot shows BootstrapNodes
.
from core-geth.
Thanks to @ziogaschr's investigation, we've reproduced your report with
BootstrapNodes = ["enode://6b6ea53a498f0895c10269a3a74b777286bd467de6425c3b512740fcc7fbc8cd281dca4ab041dd97d62b38f3d0b5b05e71f48d28a3a2f4b5de40fe1f6bf05531@mai829.ddnssdsadsa.net:30303"]
This host is unreachable:
dig mai829.ddnssdsadsa.net
; <<>> DiG 9.16.1-Ubuntu <<>> mai829.ddnssdsadsa.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7985
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;mai829.ddnssdsadsa.net. IN A
;; Query time: 131 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Mon Feb 05 11:46:42 MST 2024
;; MSG SIZE rcvd: 51
Geth is exiting because it can't resolve the host name in your configuration, which its treating like an invalid enode address. You can avoid this error by replacing the host name with an IP, and geth should then tolerate even unavailable bootnodes.
// Parse the IP address.
ip := net.ParseIP(u.Hostname())
if ip == nil {
ips, err := lookupIPFunc(u.Hostname())
if err != nil {
return nil, err
}
ip = ips[0]
}
https://github.com/etclabscore/core-geth/blob/master/p2p/enode/urlv4.go#L110
from core-geth.
Isn't it possible for GETH to skip the nodes that are not reachable even with DNS names? Just like it is with an IP?
from core-geth.
This is by design based on the specification.
The hostname can only be given as an IP address; DNS names are not allowed.
Source: https://ethereum.org/developers/docs/networking-layer/network-addresses#enode
p.s.: I can't find the exact specification, still I was able to find mentions of it on all major clients documentation.
from core-geth.
Related Issues (20)
- Iris (v1.12.11) Fatal: Failed to start mining: ether base missing: ether base must be explicitly specified HOT 3
- Synchronisation failed, dropping peer err=timeout Iris (v1.12.11) HOT 2
- Mordor Testnet Synchronisation failed HOT 6
- Poseidon (v1.12.14) Make geth failure.
- My nodes are unable to synchronize HOT 4
- Recommended to use fork-diff for the transparent view with upstream geth HOT 1
- Could you please confirm whether it is mandatory to update to the latest release, Real Eris (v1.12.16), or if the previous version is sufficient for the mainet client? HOT 2
- Node does not commit new sealing work when it should HOT 3
- Probably on my end, can't seem to find any solutions for restoring the missing dependancy HOT 2
- Adjust Default Mordor gas limit from 30M to 8M to match Mainnet limits
- deactivate MESS on Mordor HOT 2
- only audit ETC-relevant bootnodes
- Why was UDP closed in the latest update? HOT 9
- Synchronisation failed HOT 10
- dumpconfig creates an invalid config.toml (ECBP1100 cannot umarshal <nil> into a *big.Int) HOT 1
- Synchronisation failed-Persiphone (v1.12.19) HOT 20
- unreachable bootloaders stop node process HOT 4
- fatal error: index out of range HOT 4
- BUG: Wrong Use of local private IP(192.168.x.x) as fromIP in Ping message of Node Discovery Protocol
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core-geth.