-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Description
Lighthouse Incorrectly Reports That HTTP API Address Is in Use When Metrics Port Is in Use
Version
48f73b2
rustup 1.22.1 (b01adbbc3 2020-07-08)
Present Behaviour
➜ ~ sudo ss -tulnp | grep 5059
[sudo] password for seamonkey:
➜ ~ lighthouse bn --graffiti "poappyHaPQaBPnZOlKI+N3zD4XKfz9UB" --eth1-endpoint http://192.168.0.2:8545 --http --enr-address 1.2.3.4 --enr-tcp-port 13433 --enr-udp-port 13433 --port 13433 -d ~/.eth2/lighthouse/pyrmont --metrics --testnet pyrmont --http-port 5059
Nov 21 17:37:25.590 WARN Ethereum 2.0 is pre-release. This software is experimental
Nov 21 17:37:25.590 INFO Lighthouse started version: Lighthouse/v0.3.5-48f73b21
Nov 21 17:37:25.590 INFO Configured for testnet name: pyrmont
Nov 21 17:37:25.590 INFO Data directory initialised datadir: /home/seamonkey/.eth2/lighthouse/pyrmont
Nov 21 17:37:25.631 INFO Starting beacon chain method: resume, service: beacon
Nov 21 17:37:30.943 INFO Block production enabled method: json rpc via http, endpoint: http://192.168.0.2:8545
Nov 21 17:37:30.979 INFO Beacon chain initialized head_slot: 0, head_block: 0x6a89…bb87, head_state: 0x2bb2…58c4, service: beacon
Nov 21 17:37:30.979 INFO Timer service started service: node_timer
Nov 21 17:37:30.979 INFO UPnP Attempting to initialise routes service: UPnP
Nov 21 17:37:30.980 INFO Libp2p Service peer_id: 16Uiu2HAm49nFWHAPKyTVfnwyYqAXLEJ9Xtpmb4hxecDq12wZW9Jh, service: libp2p
Nov 21 17:37:30.980 INFO ENR Initialised tcp: Some(13433), udp: Some(13433), ip: Some(1.2.3.4), id: 0xbbfb..c3bc, seq: 1, enr: enr:-LK4QJFsnWEYy48bIhvRisjTsUWWHtGzhByCQAiWNOWKLLpEPknIAB6ajPK-arhtPjliw5B6oI6ook5CTpaJsTvYcNwBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhBd8VMWJc2VjcDI1NmsxoQKBpvrb_j0-WNfeqCrDoZZGguCPyuYDRLf-I5j2Q0cnqoN0Y3CCNHmDdWRwgjR5, service: libp2p
Nov 21 17:37:30.980 INFO Listening established address: /ip4/0.0.0.0/tcp/13433/p2p/16Uiu2HAm49nFWHAPKyTVfnwyYqAXLEJ9Xtpmb4hxecDq12wZW9Jh, service: libp2p
Nov 21 17:37:30.999 INFO UPnP TCP route not set error: Request error. Gateway response error 402: Invalid Args, service: UPnP
Nov 21 17:37:31.000 INFO UPnP UDP route not set error: Request error. Gateway response error 402: Invalid Args, service: UPnP
Nov 21 17:37:31.017 INFO HTTP API started listen_address: 127.0.0.1:5059
Nov 21 17:37:31.018 CRIT Failed to start beacon node reason: Unable to start HTTP API server: Warp(hyper::Error(Listen, Os { code: 98, kind: AddrInUse, message: "Address already in use" }))
Nov 21 17:37:31.018 INFO Internal shutdown received reason: Failed to start beacon node
Nov 21 17:37:31.018 INFO Shutting down..
Nov 21 17:37:31.024 INFO Saved beacon chain to disk service: beacon
Expected Behaviour
Return error message indicating that the metrics server is unable to start because the address is already in use.
Steps to resolve
Change the error message.
Metadata
Metadata
Assignees
Labels
No labels