This issue is caused by "handshake initiation must be consumed first" error. It is quite weird because this is happening during responding on received Handshake initiation message but probably status of handshake is not set correctly in single thread for single peer.
Signed-off-by: Laura Zelenku <[email protected]> --- device/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/send.go b/device/send.go index 0a7135f..0f0905a 100644 --- a/device/send.go +++ b/device/send.go @@ -144,7 +144,7 @@ func (peer *Peer) SendHandshakeResponse() error { response, err := peer.device.CreateMessageResponse(peer) if err != nil { - peer.device.log.Errorf("%v - Failed to create response message: %v", peer, err) + peer.device.log.Verbosef("%v - Failed to create response message: %v", peer, err) return err } -- 2.32.0 (Apple Git-132) -- *IMPORTANT NOTICE*: This email, its attachments and any rights attaching hereto are confidential and intended exclusively for the person to whom the email is addressed. If you are not the intended recipient, do not read, copy, disclose or use the contents in any way. Wandera accepts no liability for any loss, damage or consequence resulting directly or indirectly from the use of this email and attachments.
