Open frytg opened 2 years ago
I spent a lot of time debugging and wrote a custom https resolver.
This one shows, that the initial playlist10.m3u
request has a timeout that corresponds to our config. The next call for the mp3
file only has ~30sec.
Could this be due to this (which begs the question how it ever worked for us)? https://github.com/savonet/liquidsoap/blob/5edc4d24627fcb9c6c68f427db67c9154bf53807/src/core/sources/harbor_input.ml#L315-L318
Shouldn't this one be overwrite-able with settings?
settings.harbor.timeout.set(600.)
The timeout for playlists is set via its own timeout
parameter. There's been some change in libcurl recently that seem to have broken some backward compatibility, see: https://github.com/savonet/liquidsoap/issues/2551 it's possible the default timeout for also was changed there.
Hey! If you could send my the playlist I could try to reproduce locally.. email: toots@rastageeks.org
Describe the bug When upgrading from
v2.0.7
tov2.1.0
loading mp3 urls from ahttps://.../something.m3u
playlist (audio/x-mpegurl
) no longer works and results in a loop of revolving assets /[procol.external:3] Error while fetching http data: 522 - Connection timed out
To Reproduce We're using this to load an m3u playlist from an external URL (via
https://
)One error we witnessed was this:
or
Downgrading back to
v2.0.7
with the same settings and debug level showed the correct workflow:Do you have any suggestions why this happens? The mp3 files are fairly large (~ 1-2 GBs), but we rarely had any issues and the 522 errors get thrown every ~30sec, so it doesn't even wait the full 600 sec timeout. We tried both
native=true,
andfalse
. Could this due to the internal changes fromrequest.dynamic.list
torequest.dynamic
?Version details
v2.0.7
/v2.1.0
from Dockerhub