Any ideas that can help? Why is http.get() throwing this error?
I'm trying to run LS 1.4.4 in the Docker container with the image made by "pltnk/liquidsoap". It is feeding into Icecast (also in a docker container) on port 8000 (Icecast is up and running and awaiting data). My custom request function is attempting to call my "playgen" playlist generator (which is also running fine on port 3000.But in the logs, these errors are happening endlessly as LS tries to get the next song to play...2022/02/11 07:33:57 [lang:3] Next song Error while processing request: Http.Unix_transport.Socket 2022/02/11 07:33:57 [request:3] Unknown protocol "Error while processing request" in URI "Error while processing request: Http.Unix_transport.Socket"! 2022/02/11 07:33:57 [lang:3] Next song Error while processing request: Http.Unix_transport.Socket 2022/02/11 07:33:57 [request:3] Unknown protocol "Error while processing request" in URI "Error while processing request: Http.Unix_transport.Socket"! 2022/02/11 07:33:57 [lang:3] Next song Error while processing request: Http.Unix_transport.Socket 2022/02/11 07:33:57 [lang:3] Next song Error while processing request: Http.Unix_transport.Socket 2022/02/11 07:33:57 [request:3] Unknown protocol "Error while processing request" in URI "Error while processing request: Http.Unix_transport.Socket"! 2022/02/11 07:33:57 [request:3] Unknown protocol "Error while processing request" in URI "Error while processing request: Http.Unix_transport.Socket"!Here is the Docker command to start LS:*docker run --name liquidsoap -d --volume /etc/liquidsoap/radio.liq:/etc/liquidsoap/script.liq:ro* * --volume /usr2:/music:ro --volume /usr/bin/curl:/usr/bin/curl:ro pltnk/liquidsoap:1.4.4*Here is an excerpt of the script showing how I start all my streams...def mod_request_function() = *let (_**,_**,result) = http.get('**http://localhost:3000/api/v1/playlists/mod/nextsong?format=text <http://localhost:3000/api/v1/playlists/mod/nextsong?format=text>**')* log("Next song "^result) request.create(result) endplm = request.dynamic(mod_request_function)output.icecast( %mp3(bitrate=96, id3v2=true), host="localhost", port=8000, password="yrut9bUh", mount="/mod", genre="Electronic", description="Lots of cool electronic music", url="http://www.t4p.com:8000/mod", mksafe(plm))I'm stuck guys. This is blocking me from getting off of 1.3 and moving up to 1.4 (and then 2.x after that). Any ideas what is wrong?
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users