-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
input.harbor TLS not exiting after first connection #4138
Comments
Hi @metaswirl, I'm able to reproduce this problem. Also, I've found another problem when trying to connect to it. So here's my reproduction script
But that's not working properly, the stream doesn't even start. So I've configured reverse proxy and got the error. Log
If you need a quick fix, then set up a reverse proxy in front of liquidsoap and configure it to strip encryption in TCP mode. #3659 (comment) |
Thanks for the report, I will have a pass at it. Is it also happening in Also worth noting we do have SSL as well. A reverse proxy is never a bad idea if that suits your infrastructure. |
Thank you Toots! http.transport.ssl works without any issue! http.transport.tls is buggy. |
Both |
Description
I can connect to input.harbor via TLS, when I disconnect the source, nothing shows in the log, and when I try and re-connect this appears:
2024/09/20 18:15:49 [harbor:4] Harbor.Make(T).Mount_taken
I have tried various clients including liquidsoap output.icecast tls, mixxx and butt, all have the same issues.
Steps to reproduce
transport = http.transport.tls(
certificate = "/opt/liquidsoap/cert/fullchain.pem",
key = "/opt/liquidsoap/cert/privkey.pem"
)
stream_live_tls = input.harbor("live-tls", port=9016, auth=auth, transport=transport, id="live-tls",
icy=false, icy_metadata_charset="UTF-8", metadata_charset="UTF-8", replay_metadata=true,
on_connect=live_connect_tls, on_disconnect=live_disconnect_tls, buffer=5.0, max=10.0)
Expected behavior
input.harbor TLS does not recognize when source has disconnected making it impossible to re-connect.
Liquidsoap version
Liquidsoap build config
Installation method
From OPAM
Additional Info
No response
The text was updated successfully, but these errors were encountered: