Bug 122 - Invalid response code when doing remote streaming (with fix)
: Invalid response code when doing remote streaming (with fix)
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming To SlimServer
: unspecified
: All All
: P2 major (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-06 15:48 UTC by Erland Lewin
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erland Lewin 2004-01-06 15:48:23 UTC
I ran into a problem with the latest version of SlimServer (5.0.1).

When I tried to stream from an URL to the SlimServer, I would get the message
"2004-01-06 22:32:47 Response: 2004-01-06 22:32:47 Invalid response code () from
remote stream http://computer.lewin.nu/transcode/p3.mp3"

I tracked the problem down to a timeout being to short: on line 64 of
Slim/Web/RemoteStream.pm, the value "2" as the second argument to sysreadline
was too short - it worked for me when I increased it to 10 (seconds).

I would propose that the correct fix is to use the "Radio Station Timeout" value
from the Networking section of the SlimServer advanced settings.
Comment 1 Dan Sully 2004-04-01 07:44:30 UTC
Fixed checked in on 4/1/04 - you can now control the timeouts via the remote
timeout preference.
Comment 2 Chris Owens 2006-06-16 14:39:50 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.