Skip to content

Be less verbose with handshake send errors - #1810

Merged
nbrownus merged 1 commit into
masterfrom
handshake-send-errors
Jul 23, 2026
Merged

Be less verbose with handshake send errors#1810
nbrownus merged 1 commit into
masterfrom
handshake-send-errors

Conversation

@nbrownus

Copy link
Copy Markdown
Collaborator

This dampens the log verbosity of messages like

level=error msg="Failed to send handshake message" error="sendto: no route to host" handshake="map[stage:1 style:ix_psk0]" initiatorIndex=1 localIndex=7 remoteIndex=0 udpAddr="[1]:51599" vpnAddrs="[2]"

Basically we log write errors at error level only if the list of remotes changes, this matches the success logging behavior and doesn't cost any additional memory.

@nbrownus
nbrownus merged commit 15f0f0d into master Jul 23, 2026
23 checks passed
@nbrownus
nbrownus deleted the handshake-send-errors branch July 23, 2026 14:26
@nbrownus nbrownus added this to the v1.11.0 milestone Jul 23, 2026
@nbrownus nbrownus mentioned this pull request Jul 23, 2026
56 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants