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
I simply forgot using the keyword when adding a peer and it resulted in my node adding a stub peer:
# yggdrasil -autoconf >/dev/null &
# yggdrasilctl getpeers
URI State Dir IP Address Uptime RTT RX TX Pr Last Error
# yggdrasilctl addpeer tcp://1.2.3.4:5678
# yggdrasilctl getpeers
URI State Dir IP Address Uptime RTT RX TX Pr Last Error
Down Out 0s - 0kb 0kb 0 2s ago: link schema unknown
Passing uri= seems easy to miss and adding other peers that way looks odd:
# yggdrasilctl addpeer tcp://7.8.9.0:1234
Admin socket returned an error: peer is already configured
You can remove it via the empty string, though:
# yggdrasilctl removepeer ''
# yggdrasilctl getpeers
URI State Dir IP Address Uptime RTT RX TX Pr Last Error
This needs stricter input validation (before adding a peer).
The text was updated successfully, but these errors were encountered:
I simply forgot using the keyword when adding a peer and it resulted in my node adding a stub peer:
Passing
uri=
seems easy to miss and adding other peers that way looks odd:You can remove it via the empty string, though:
This needs stricter input validation (before adding a peer).
The text was updated successfully, but these errors were encountered: