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

stun_reachability: connection_already_closed in network_events #2530

Open
bassosimone opened this issue Sep 11, 2023 · 1 comment
Open

stun_reachability: connection_already_closed in network_events #2530

bassosimone opened this issue Sep 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working correctly ooni/probe-engine priority/low Nice to have

Comments

@bassosimone
Copy link
Contributor

Describe the bug

I have noticed that stun_reachability measurements include several connection_already_closed inside the network_events at the end of the measurement (see, e.g., 20230911101025.015985_US_stunreachability_903c9e8d6089c755.

To Reproduce

Just run stun_reachability.

Expected behavior

There should not be attempts to use the connection once it has been closed.

Screenshots

N/A

System information (please complete the following information):

  • Device: N/A
  • OS: N/A
  • OONI Probe version: N/A

Additional context

This error probably means that the shutdown sequence of the stun client we're using could be improved.

@bassosimone bassosimone added bug Something isn't working correctly priority/medium Normal priority issue ooni/probe-engine labels Sep 11, 2023
@bassosimone bassosimone self-assigned this Sep 11, 2023
@bassosimone bassosimone changed the title stun_reachability: connection_already_closed polluting network_events stun_reachability: connection_already_closed in network_events Sep 11, 2023
@bassosimone bassosimone added the releaseBlocker This issue blocks releasing label Oct 4, 2023
@bassosimone
Copy link
Contributor Author

This issue is more complex to solve than expected, because pion/stun does not check for read errors in its read loop, therefore the read loop does not return immediately when the client is closed (and hence the con is closed) but runs for a few more loops. So, with the need to release soon, I'll postpone this change to the future.

@bassosimone bassosimone removed the releaseBlocker This issue blocks releasing label Oct 9, 2023
@hellais hellais added this to Roadmap Jan 7, 2025
@hellais hellais added priority/low Nice to have and removed priority/medium Normal priority issue labels Jan 27, 2025
@hellais hellais moved this to Icebox in Roadmap Jan 27, 2025
@hellais hellais removed this from Roadmap Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly ooni/probe-engine priority/low Nice to have
Projects
None yet
Development

No branches or pull requests

2 participants