Skip to content

WebSocket server logs are full with errors #280

@alexander-potemkin

Description

@alexander-potemkin

I've enabled -verbose mode on the server and in the logs I can see many - a way too many - errors and fails, below is the output of journalctl -u outline -f | grep -iE "err|fail":

Dec 28 16:56:21.071 DBG UDP: Failed to unpack. ID=user3 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:21.691 DBG UDP: Error client=ENTRYPOINT_IP:0 tgtListener=[::]:36099 msg="Failed to write to client" cause="use of closed network connection"
Dec 28 16:56:22.499 DBG UDP: Failed to unpack. ID=user1 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:22.499 DBG UDP: Failed to unpack. ID=user2 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:22.499 DBG UDP: Failed to unpack. ID=user3 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:23.775 DBG TCP: Failed to decrypt length. ID=user1 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:23.776 DBG TCP: Failed to decrypt length. ID=user3 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:23.776 DBG TCP: Failed to decrypt length. ID=user4 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:23.776 DBG TCP: Failed to decrypt length. ID=user5 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:23.776 DBG TCP: Failed to decrypt length. ID=user6 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:32.382 DBG UDP: Failed to unpack. ID=user7 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:32.793 DBG UDP: Error client=ENTRYPOINT_IP:0 tgtListener=[::]:43320 msg="Failed to write to client" cause="use of closed network connection"
Dec 28 16:56:33.328 DBG UDP: Error client=ENTRYPOINT_IP:0 tgtListener=[::]:43320 msg="Failed to write to client" cause="use of closed network connection"
Dec 28 16:56:34.352 DBG TCP: Failed to decrypt length. ID=user1 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:35.203 DBG TCP: Failed to decrypt length. ID=user7 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:35.203 DBG TCP: Failed to decrypt length. ID=user1 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:35.204 DBG TCP: Failed to decrypt length. ID=user3 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:35.204 DBG TCP: Failed to decrypt length. ID=user4 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:37.673 DBG TCP: Failed to decrypt length. ID=user5 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:38.138 DBG UDP: Failed to unpack. ID=user7 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:39.780 DBG TCP: Failed to decrypt length. ID=user5 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:40.226 DBG TCP: Failed to decrypt length. ID=user7 err="chacha20poly1305: message authentication failed"
Dec 28 16:56:40.226 DBG TCP: Failed to decrypt length. ID=user5 err="chacha20poly1305: message authentication failed"

and it's keep coming and going.

What that means? Why it's failing to decrypt length and unpack so often? Why closed network connection might be happening (often enough, as well)?

Thanks in advance!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions