-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Streaming to Liquidsoap doesn't work anymore after some time #1403
Comments
This looks like a bug. I'll try to have a look at it soon. |
Hi! We've done some work on websocket in the latest I might keep this ticket open for later as we're long overdue for a |
I'm having the same issue with liquidsoap 2.1.4. I use Some clues I found maybeA netstat ( I can reproduce the issue by sending lot of connections (using Liquidsoap logs shows |
Hi @codeurimpulsif, I can't reproduce your problem locally, but I have to clarify my setup. settings.harbor.ssl.certificate.set("cert.pem")
settings.harbor.ssl.private_key.set("key.pem")
live = input.harbor.ssl("live", port=8000, password="hackme")
output.dummy(mksafe(live)) And I'm using Could you check if this setup will produce the same issue in your case? |
@vitoyucepi Hi, ok I will open another issue, but I can't reproduce with curl, only netcat seem to reproduce it (maybe because it only create a SYN/ACK without closing the connection?) |
I am using Liquidsoap 1.4.3 (installed with OPAM) on my Ubuntu 18.04 webserver to receive a livestream and provide it to my Icecast2-Server. I am starting Liquidsoap as a service (systemd) and it works fine. The use case is, that I want to stream to my Icecast-Server stop the stream and do the same again (maybe two hours later). But after some time it doesn't work anymore and I don't get why it works at the beginning but after some time it stops working.
This is my Liquidsoap-Script:
Here is the log-file, where you can see that I have two times created successfull a connection. When I want to do the same a few hours later it will not work anymore. At first I thought it is related to the error "Failed to accept new client", but it is not. This just comes up every few minutes when no source connects to Liquidsoap and even after this error was in the logfile I was still able to connect:
log.txt
When I check the running services, the Liquidsoap-Service is shown as running normally:
myscript.liq-liquidsoap.service loaded active running myscript.liq Liquidsoap daemon
I am using Webcaster-Client to stream to my Liquidsoap and when I am trying to connect to Liquidsoap after some time, the console of the browser shows the following:
"WebSocket connection to URL failed: WebSocket is closed before the connection is established."
Can somebody help me with this issue? Why am I not able to connect to Liquidsoap again after some time?
The text was updated successfully, but these errors were encountered: