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
While using a PrivareNetwork (psk) between peers, a general errShortNonce error is returned: failed to negotiate security protocol: privnet: could not read full nonce
The actual reason for the failure is obscured.
For example, when the connection was reset (probably by the peer) .
As a minimum the original error (ECONNRESET in this case) should be wrapped as part of the retuned error.
The text was updated successfully, but these errors were encountered:
As a minimum the original error (ECONNRESET in this case) should be wrapped as part of the retuned error.
That makes sense. Want to open a PR?
sukunrt
changed the title
PrivareNetwork: misleading error errShortNonce during ECONNRESET on Read
pnet: misleading error errShortNonce during ECONNRESET on Read
Sep 19, 2024
While using a PrivareNetwork (psk) between peers, a general errShortNonce error is returned:
failed to negotiate security protocol: privnet: could not read full nonce
The actual reason for the failure is obscured.
For example, when the connection was reset (probably by the peer) .
As a minimum the original error (ECONNRESET in this case) should be wrapped as part of the retuned error.
The text was updated successfully, but these errors were encountered: