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
There are actually several issues here. Follow along through this list of actions, and I'll point them out.
Run two instances of Thunder, one at 0.0.0.0:4009 and one at 0.0.0.0:4008
Connect 4009 to 4008: cargo run --bin thunder_app_cli -- connect-peer 0.0.0.0:4008. This command outputs nothing, indicating that this succeeded. However, immediately after we receive a quinn::ConnectError::InvalidRemoteAddress in the mailbox. It's unfortunate that this error is not propagated out to the CLI. We should somehow wait for the connection to be established before returning
Restart the first instance. Observe in the logs that we're trying to reconnect to 0.0.0.0:4008, receiving the same errors. If we're running into InvalidRemoteAddress, the peer should be removed from the list of peers we're trying to connect to on startup
Retry the connection attempt. Observe that there's no output from the CLI. I'd expect output here, saying that the peer is already added
From what I can gather, InvalidRemoteAddress can hit in one of two places
There are actually several issues here. Follow along through this list of actions, and I'll point them out.
cargo run --bin thunder_app_cli -- connect-peer 0.0.0.0:4008
. This command outputs nothing, indicating that this succeeded. However, immediately after we receive aquinn::ConnectError::InvalidRemoteAddress
in the mailbox. It's unfortunate that this error is not propagated out to the CLI. We should somehow wait for the connection to be established before returning0.0.0.0:4008
, receiving the same errors. If we're running into InvalidRemoteAddress, the peer should be removed from the list of peers we're trying to connect to on startupFrom what I can gather,
InvalidRemoteAddress
can hit in one of two placesThe text was updated successfully, but these errors were encountered: