Bugzilla – Bug 14881
Radio streams don't work with proxy
Last modified: 2011-10-17 06:03:45 UTC
Streams can be played in winamp for example, but can not be played with squeeze box. 'No items in found in playlist' error is briefly displayed in the player. No errors on log. Applies to: 1. radioio (all streams) 2. Absolute Radio UK (all streams) 3. http://stream.radiorock.fi/listen.pls (or http://stream.radiorock.fi:80) + lots of others. Does not work in version 7.5.0 either.
[09-10-22 17:44:27.4802] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Deadlock found when trying to get lock; try restarting transaction [for Statement "INSERT INTO tracks (filesize,titlesort,content_type,timestamp,titlesearch,url,title,remote,year) VALUES (?,?,?,?,?,?,?,?,?)"] [09-10-22 17:44:27.4808] Slim::Schema::Storage::throw_exception (82) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Schema/Storage.pm line 82) frame 1: Slim::Schema::Storage::throw_exception (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>DBIx/Class/Storage/DBI.pm line 957) frame 2: DBIx::Class::Storage::DBI::__ANON__ (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Schema.pm line 1001) frame 3: Slim::Schema::newTrack (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Schema.pm line 1228) frame 4: Slim::Schema::updateOrCreate (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Schema.pm line 826) frame 5: Slim::Schema::objectForUrl (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Utils/Misc.pm line 865) frame 6: Slim::Utils::Misc::findAndScanDirectoryTree (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Control/Queries.pm line 1758) frame 7: Slim::Control::Queries::musicfolderQuery (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Control/Request.pm line 1914) frame 8: (eval) (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Control/Request.pm line 1914) frame 9: Slim::Control::Request::execute (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Web/Cometd.pm line 806) frame 10: Slim::Web::Cometd::handleRequest (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Web/Cometd.pm line 548) frame 11: Slim::Web::Cometd::handler (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Web/Cometd.pm line 108) frame 12: Slim::Web::Cometd::webHandler (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Web/HTTP.pm line 488) frame 13: Slim::Web::HTTP::processHTTP (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 139) frame 14: (eval) (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 123) frame 15: Slim::Networking::IO::Select::__ANON__ (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 183) frame 16: (eval) (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 183) frame 17: Slim::Networking::IO::Select::loop (slimserver.pl line 620) frame 18: main::idle (slimserver.pl line 574) frame 19: main::main (slimserver.pl line 98) frame 20: PerlSvc::Interactive (/<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>PerlSvc.pm line 99) frame 21: PerlSvc::_interactive (slimserver.pl line 0) frame 22: (eval) (slimserver.pl line 0) [09-10-22 17:44:27.4812] Slim::Control::Request::execute (1918) Error: While trying to run function coderef [Slim::Control::Queries::musicfolderQuery]: [Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::st execute failed: Deadlock found when trying to get lock; try restarting transaction [for Statement "INSERT INTO tracks (filesize,titlesort,content_type,timestamp,titlesearch,url,title,remote,year) VALUES (?,?,?,?,?,?,?,?,?)"] at /<C:\PROGRA~1\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Schema/Storage.pm line 86 ] [09-10-22 18:00:44.0882] Slim::Utils::Scanner::Remote::__ANON__ (225) Error: Can't connect to remote server to retrieve playlist for, http://stream.radiorock.fi/listen.pls: Connect timed out: Bad file descriptor. [09-10-22 18:01:06.2998] Slim::Networking::Async::DNS::resolve (42) Using cached DNS response 62.78.223.152 for stream.radiorock.fi [09-10-22 18:01:11.3100] Slim::Utils::Scanner::Remote::__ANON__ (225) Error: Can't connect to remote server to retrieve playlist for, http://stream.radiorock.fi/listen.pls: Connect timed out: Bad file descriptor.
Teijo: Can you provide a log with the following set to debug: scan.scanner, player.streaming.direct
[09-10-27 09:17:02.4164] Slim::Utils::Scanner::Remote::scanURL (86) Scanning remote stream http://stream.radiorock.fi/listen.pls [09-10-27 09:17:02.4174] Slim::Utils::Scanner::Remote::scanURL (202) Scanning remote URL http://stream.radiorock.fi/listen.pls [09-10-27 09:17:02.5086] Slim::Utils::Scanner::Remote::readRemoteHeaders (326) Headers for http://stream.radiorock.fi/listen.pls are bless({ "content-type" => "audio/x-scpls", "proxy-connection" => "close", via => "1.0 proxy:8080 (squid/2.6.STABLE21)", "x-cache" => "MISS from proxy", "x-cache-lookup" => "MISS from proxy:8080", }, "HTTP::Headers") [09-10-27 09:17:02.5090] Slim::Utils::Scanner::Remote::readRemoteHeaders (358) Content-type for http://stream.radiorock.fi/listen.pls detected as pls (audio/x-scpls) [09-10-27 09:17:02.5093] Slim::Utils::Scanner::Remote::readRemoteHeaders (363) Updating content-type for http://stream.radiorock.fi/listen.pls to pls [09-10-27 09:17:02.5099] Slim::Utils::Scanner::Remote::readRemoteHeaders (515) This URL is a playlist: http://stream.radiorock.fi/listen.pls [09-10-27 09:17:02.5230] Slim::Utils::Scanner::Remote::parsePlaylist (806) Found 1 items in playlist http://stream.radiorock.fi/listen.pls [09-10-27 09:17:02.5233] Slim::Utils::Scanner::Remote::parsePlaylist (807) http://stream.radiorock.fi:8000/ [09-10-27 09:17:02.5236] Slim::Utils::Scanner::Remote::scanURL (86) Scanning remote stream http://stream.radiorock.fi:8000/ [09-10-27 09:17:02.5249] Slim::Utils::Scanner::Remote::scanURL (202) Scanning remote URL http://stream.radiorock.fi:8000/ [09-10-27 09:17:02.5442] Slim::Utils::Scanner::Remote::readRemoteHeaders (326) Headers for http://stream.radiorock.fi:8000/ are bless({ date => "Tue, 27 Oct 2009 07:17:37 GMT", "proxy-connection" => "close", via => "1.0 proxy:8080 (squid/2.6.STABLE21)", "x-cache" => "MISS from proxy", "x-cache-lookup" => "MISS from proxy:8080", }, "HTTP::Headers") [09-10-27 09:17:02.5446] Slim::Utils::Scanner::Remote::readRemoteHeaders (358) Content-type for http://stream.radiorock.fi:8000/ detected as () [09-10-27 09:17:02.5448] Slim::Utils::Scanner::Remote::readRemoteHeaders (363) Updating content-type for http://stream.radiorock.fi:8000/ to [09-10-27 09:17:02.5457] Slim::Utils::Scanner::Remote::readRemoteHeaders (515) This URL is a playlist: http://stream.radiorock.fi:8000/ [09-10-27 09:17:06.8609] Slim::Utils::Scanner::Remote::parsePlaylist (788) Unable to parse playlist for content-type [09-10-27 09:17:06.8613] Slim::Utils::Scanner::Remote::__ANON__ (855) Scanned 1/1 items in playlist [09-10-27 09:17:06.8617] Slim::Utils::Scanner::Remote::__ANON__ (882) Playlist scan of http://stream.radiorock.fi/listen.pls finished [09-10-27 09:17:06.8620] Slim::Utils::Scanner::Remote::__ANON__ (886) No audio tracks found in playlist
Same error happens with all stations I tested (No audio tracks found in playlist). Tested using Version: 7.5.0 - r29002.
I'm glad to see I'm not the only one experiencing this. I have a bunch of playlists saved from either a radiostation website or from Shoutcast. I've been using the same playlists for ages, some as long as 3 or 4 years (yes i've checked: they still work from Winamp). Nothing has changed on the network side in my house or at my provider (I've doublechecked just to be sure) I'm not sure when it started, I noticed it somewhere around or just before Squeezenetwork became Mysqueezebox. Difference with Teijo Santala is that I mostly use Mysqueezebox in stead of SB Server. Just a few http://www.fresh.fm/media/audio/ListenHigh.pls - doesn't work anymore, plays just fine from Winamp http://streams.fresh.fm:8100 - content from above pls, doesnt work http://radio.canal7.net:8000/listen.pls - still works http://true.nl/streams/dancetunes.pls - doesn't work anymore, plays just fine from Winamp http://stream01.platform02.true.nl:8000 - content from above pls, doesn't work If I look up Fresh FM through the interface of my Squeezebox (under internet radio) it plays just fine. Using SB2, FW:121
7.4.x milestone is in the past
Error no item found in playlist when streamed through both mysb.com and SBS - KFI 640 AM -thanks!
I hope you realized that this bug was with proxy enabled. Proxy handling seems to be completely broken in 7.6.0 -r32009 at least. Control panel detects that proxy is used, but it no longer connects to 79.125.21.137. Maybe proxy type affects how this works. I updated the issue to reflect my current configuration.
Oh, you didn't mention that your proxy was the issue, I've updated the title.