-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Extra connections when attempting to read an SRT stream with incorrect credentials #3382
Closed
4 of 13 tasks
Closed
4 of 13 tasks
Comments
related to datarhei/gosrt#59 |
Thanks for reporting the bug, this is fixed by #3534 |
aler9
added a commit
that referenced
this issue
Jul 5, 2024
aler9
added a commit
that referenced
this issue
Jul 5, 2024
This issue is mentioned in release v1.8.4 🚀 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Which version are you using?
v1.8.2
Which operating system are you using?
Describe the issue
When I try to read an SRT stream with incorrect credentials (tested with ffmpeg, VLC, and GStreamer), mediamtx continues to receive authentication requests even after the first one fails. This blocks receiving any other requests for a significant amount of time. In the case of ffmpeg, it's 8 requests, which means you can't read the stream again for about 16 seconds. If during the processing of these requests there are additional requests with incorrect credentials, the wait time will increase further until mediamtx processes all these requests. So after a few attempts with incorrect credentials, mediamtx will be blocked for minutes, and you won't be able to read the stream even with the correct credentials.
I guess this is an ffmpeg "feature" since VLC/GStreamer usually sends only 2-4 requests if you stop immediately after the first attempt, and mediamtx behaviour is correct, but it still prevents the normal use of mediamtx.
These are the logs when I try to read the stream with ffmpeg.
Describe how to replicate the issue
authInternalUsers
Did you attach the server logs?
yes (see previous section)
Did you attach a network dump?
yes
srt.zip
The text was updated successfully, but these errors were encountered: