[Icecast] Relays Ending With "Disconnecting source due to socket timeout"
Jeremiah Rogers
jeremiahzrogers at gmail.com
Sun Aug 16 03:10:04 UTC 2015
Greetings:
I use Icecast 2.4.0 on Windows 8.1. I have a config file which sets up
roughly a dozen relays to connect on demand.
My typical use is to connect to 1-4 of the streams simultaneously. All
connections are either via WinAmp to 127.0.0.1 or via other clients on
my LAN. My intent is to leave the connections active for up to 72 hours.
When I connect through my relays, eventually the connections are dropped
with "Disconnecting source due to socket timeout" errors. Connecting to
the sources directly allows me to stream as long as I like. I presume my
problem to be me misunderstanding one or more settings, and any
tinkering I've done chasing the problem has centered on the limits
section. I've tried modifying queue-size, client-timeout,
header-timeout, source-timeout, burst-on-connect, and burst-size to no
avail. My config file is below. The config file has multiple relay
sections which follow the example here.
<icecast>
<limits>
<clients>16</clients>
<sources>12</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<!-- set the mountpoint for a shoutcast source to use, the default
if not
specified is /stream but you can change it here if an
alternative is
wanted or an extension is required
<shoutcast-mount>/jzrcast</shoutcast-mount>
-->
<hostname>jzrtablet</hostname>
<listen-socket>
<port>8000</port>
<!-- <shoutcast-mount>/stream</shoutcast-mount> -->
</listen-socket>
<relays-on-demand>1</relays-on-demand>
<!-- StationNameGoesHere Relay -->
<relay>
<server>DomainGoesHere</server>
<port>8000</port>
<mount>/WhateverFollowsSlashInStreamURL</mount>
<local-mount>/SomethingICanRememberGoesHere</local-mount>
<!--<on-demand>0</on-demand>-->
<public>0</public>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
</icecast>
Everything past the relays section is unaltered from the default. Thanks
in advance for any thoughts.
--
Jeremiah Rogers
Mobile (Voice/Text): 704-996-5334
Email: jeremiahzrogers at gmail.com
Facebook/Twitter: /jzrogers
More information about the Icecast
mailing list