Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LLT-5312] Add more logging when read from tun failure happens #1

Conversation

Jauler
Copy link

@Jauler Jauler commented Jun 18, 2024

During nightly tests on job 13830453 windows has failed to create wintun/wg-go adapter. And the test failed. After some investigation it seems like the tunnel is being destructed from within itself.

The only feasible place where this could happen seems to be here: https://github.com/NordSecurity/wireguard-go/blob/v0.0.2/device/send.go#L316, which is triggered by receiving error while reading from tunnel. In order to guide the investigation further, it would be nice to figure our exactly which error occurs, and thus this PR adds some more detailed logs.

@Jauler Jauler force-pushed the LLT-5312_add_logging_when_read_from_tun_failure_happens branch from f97c792 to a6b3ebe Compare June 18, 2024 14:45
Copy link
Collaborator

@gytsto gytsto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2 lgtm

@Jauler Jauler changed the title Add more logging when read from tun failure happens [LLT-5312] Add more logging when read from tun failure happens Jun 18, 2024
@Jauler Jauler merged commit 71426c4 into libtelio-master Jun 18, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants