Ticket #268 (closed Bugs: fixed)

Opened 17 months ago

Last modified 11 months ago

401 Mount taken

Reported by: romeodeepmind Owned by: admin
Priority: 1 Milestone:
Component: Liquidsoap Version:
Keywords: Cc:
Mac OSX: yes Linux: yes
NetBSD: yes Other Operating System: yes
FreeBSD: yes

Description

Hi, Savonet Team!

i have 2 harbor inputs in my script. one of them is used for live sources, another for stream generated from external software.

sometimes i notice such things. when both live and playlist mount points are in use and live is disconnected for short time and then connected again, playlist client can loose connection to harbor. after playlist client tries to reconnect to corresponding mount point it gets

2009/04/18 00:48:14 [harbor:3] New client: 89.113.216.190
2009/04/18 00:48:14 [harbor:4] Header: CONTENT-TYPE, value: application/ogg.
2009/04/18 00:48:14 [harbor:4] Header: ICE-NAME, value: RadioVKontakte.ru.
2009/04/18 00:48:14 [harbor:4] Header: ICE-URL, value: http://radiovkontakte.ru:/table.
2009/04/18 00:48:14 [harbor:4] Header: ICE-GENRE, value: Various.
2009/04/18 00:48:14 [harbor:4] Header: ICE-PUBLIC, value: 1.
2009/04/18 00:48:14 [harbor:4] Header: ICE-BITRATE, value: Quality 6,00.
2009/04/18 00:48:14 [harbor:4] Header: ICE-AUDIO-INFO, value: ice-samplerate=44100;ice-quality=6,00;ice-channels=2.
2009/04/18 00:48:14 [harbor:4] Client logged in.
2009/04/18 00:48:14 [harbor:3] SOURCE request on /playlist.ogg.
2009/04/18 00:48:14 [harbor:3] Returned 401: Mount taken
2009/04/18 00:48:14 [harbor:3] Failed: Mountpoint in use 

after live goes down, playlist can sucessfully connect and streaming goes as usual.

2009/04/18 00:10:07 [harbor:3] New client: 89.113.76.203
2009/04/18 00:10:07 [harbor:4] Header: USER-AGENT, value: Native Instruments IceCast Uplink.
2009/04/18 00:10:07 [harbor:4] Header: HOST, value: deep-mind.no-ip.org:8090.
2009/04/18 00:10:07 [harbor:4] Header: ACCEPT, value: */*.
2009/04/18 00:10:07 [harbor:4] Header: CONNECTION, value: Close.
2009/04/18 00:10:07 [harbor:4] Header: ACCEPT-ENCODING, value: identity;q=0.5, gzip;q=1.0.
2009/04/18 00:10:07 [harbor:4] Header: CONTENT-TYPE, value: application/ogg.
2009/04/18 00:10:07 [harbor:4] Header: ICE-NAME, value: DJ-Relaxer.
2009/04/18 00:10:07 [harbor:4] Header: ICE-URL, value: http://192.168.239.191:8000.trancemix.ogg.
2009/04/18 00:10:07 [harbor:4] Header: ICE-GENRE, value: Trance & Electro.
2009/04/18 00:10:07 [harbor:4] Header: ICE-DESCRIPTION, value: Trance radio.
2009/04/18 00:10:07 [harbor:4] Header: ICE-BITRATE, value: Quality 0.
2009/04/18 00:10:07 [harbor:4] Header: ICE-PRIVATE, value: 0.
2009/04/18 00:10:07 [harbor:4] Header: ICE-PUBLIC, value: 1.
2009/04/18 00:10:07 [harbor:4] Header: ICE-AUDIO-INFO, value: ice-samplerate=44100;ice-bitrate=Quality 0;ice-channels=2.
2009/04/18 00:10:07 [harbor:4] Client logged in.
2009/04/18 00:10:07 [harbor:3] SOURCE request on /live.ogg.
2009/04/18 00:10:07 [harbor:3] Adding source on mountpoint '/live.ogg' with type 'application/ogg'.
2009/04/18 00:10:07 [lang:3] [LIVE-START]: live source goes up! Switching from playlist...
2009/04/18 00:10:07 [threads:3] Created thread "harbor source feeding" (3 total).
2009/04/18 00:10:07 [live:3] Decoding...
2009/04/18 00:10:07 [ogg.demuxer:4] Found a ogg logical stream, serial: 24cc
2009/04/18 00:10:07 [ogg.demuxer:4] Trying ogg/vorbis format
2009/04/18 00:10:07 [live:3] New metadata chunk "Unknown Artist. -- Unknown Track."
2009/04/18 00:10:17 [mainFallback:3] Switch to liveInputFallback with transition.
2009/04/18 00:10:17 [playlist:4] Activations changed: static=[], dynamic=[mainFallback:192mp3:192mp3].
2009/04/18 00:10:17 [liveInputFallback:4] Activations changed: static=[mainFallback:192mp3:192mp3], dynamic=[mainFallback:192mp3:192mp3].
2009/04/18 00:10:17 [liveInputFallback:3] Switch to live.
2009/04/18 00:10:17 [live:4] Activations changed: static=[liveInputFallback:mainFallback:192mp3:192mp3], dynamic=[liveInputFallback:mainFallback:192mp3:192mp3].
2009/04/18 00:19:45 [live:2] Feeding stopped: End_of_file
2009/04/18 00:19:45 [lang:3] [LIVE-END]: live source goes down! Switching to playlist...
<... here disconnecting for a sec ...>
2009/04/18 00:19:45 [threads:3] Thread "harbor source feeding" exited (2 remaining).
2009/04/18 00:19:46 [harbor:3] New client: 89.113.76.203
2009/04/18 00:19:46 [harbor:4] Header: USER-AGENT, value: Native Instruments IceCast Uplink.
2009/04/18 00:19:46 [harbor:4] Header: HOST, value: deep-mind.no-ip.org:8090.
2009/04/18 00:19:46 [harbor:4] Header: ACCEPT, value: */*.
2009/04/18 00:19:46 [harbor:4] Header: CONNECTION, value: Close.
2009/04/18 00:19:46 [harbor:4] Header: ACCEPT-ENCODING, value: identity;q=0.5, gzip;q=1.0.
2009/04/18 00:19:46 [harbor:4] Header: CONTENT-TYPE, value: application/ogg.
2009/04/18 00:19:46 [harbor:4] Header: ICE-NAME, value: DJ-Relaxer.
2009/04/18 00:19:46 [harbor:4] Header: ICE-URL, value: http://192.168.239.191:8000.trancemix.ogg.
2009/04/18 00:19:46 [harbor:4] Header: ICE-GENRE, value: Trance & Electro.
2009/04/18 00:19:46 [harbor:4] Header: ICE-DESCRIPTION, value: Trance radio.
2009/04/18 00:19:46 [harbor:4] Header: ICE-BITRATE, value: Quality 0.
2009/04/18 00:19:46 [harbor:4] Header: ICE-PRIVATE, value: 0.
2009/04/18 00:19:46 [harbor:4] Header: ICE-PUBLIC, value: 1.
2009/04/18 00:19:46 [harbor:4] Header: ICE-AUDIO-INFO, value: ice-samplerate=44100;ice-bitrate=Quality 0;ice-channels=2.
2009/04/18 00:19:46 [harbor:4] Client logged in.
2009/04/18 00:19:46 [harbor:3] SOURCE request on /live.ogg.
2009/04/18 00:19:46 [harbor:3] Adding source on mountpoint '/live.ogg' with type 'application/ogg'.
2009/04/18 00:19:46 [lang:3] [LIVE-START]: live source goes up! Switching from playlist...
2009/04/18 00:19:46 [threads:3] Created thread "harbor source feeding" (3 total).
2009/04/18 00:19:46 [live:3] Decoding...
2009/04/18 00:19:47 [ogg.demuxer:4] Found a ogg logical stream, serial: 2c2e
2009/04/18 00:19:47 [ogg.demuxer:4] Trying ogg/vorbis format
2009/04/18 00:19:47 [live:3] New metadata chunk "? -- ?"
2009/04/18 00:20:07 [live:4] No network activity for 1 second(s).
2009/04/18 00:31:34 [live:4] No network activity for 1 second(s).
<... something going on here ...>
2009/04/18 00:48:14 [harbor:3] New client: 89.113.216.190
2009/04/18 00:48:14 [harbor:4] Header: CONTENT-TYPE, value: application/ogg.
2009/04/18 00:48:14 [harbor:4] Header: ICE-NAME, value: RadioVKontakte.ru.
2009/04/18 00:48:14 [harbor:4] Header: ICE-URL, value: http://radiovkontakte.ru:/table.
2009/04/18 00:48:14 [harbor:4] Header: ICE-GENRE, value: Various.
2009/04/18 00:48:14 [harbor:4] Header: ICE-PUBLIC, value: 1.
2009/04/18 00:48:14 [harbor:4] Header: ICE-BITRATE, value: Quality 6,00.
2009/04/18 00:48:14 [harbor:4] Header: ICE-AUDIO-INFO, value: ice-samplerate=44100;ice-quality=6,00;ice-channels=2.
2009/04/18 00:48:14 [harbor:4] Client logged in.
2009/04/18 00:48:14 [harbor:3] SOURCE request on /playlist.ogg.
2009/04/18 00:48:14 [harbor:3] Returned 401: Mount taken
2009/04/18 00:48:14 [harbor:3] Failed: Mountpoint in use
2009/04/18 00:48:25 [harbor:3] New client: 89.113.216.190
2009/04/18 00:48:25 [harbor:4] Header: CONTENT-TYPE, value: application/ogg.
2009/04/18 00:48:25 [harbor:4] Header: ICE-NAME, value: RadioVKontakte.ru.
2009/04/18 00:48:25 [harbor:4] Header: ICE-URL, value: http://radiovkontakte.ru:/table.
2009/04/18 00:48:25 [harbor:4] Header: ICE-GENRE, value: Various.
2009/04/18 00:48:25 [harbor:4] Header: ICE-PUBLIC, value: 1.
2009/04/18 00:48:25 [harbor:4] Header: ICE-BITRATE, value: Quality 6,00.
2009/04/18 00:48:25 [harbor:4] Header: ICE-AUDIO-INFO, value: ice-samplerate=44100;ice-quality=6,00;ice-channels=2.
2009/04/18 00:48:25 [harbor:4] Client logged in.
2009/04/18 00:48:25 [harbor:3] SOURCE request on /playlist.ogg.
2009/04/18 00:48:25 [harbor:3] Returned 401: Mount taken
2009/04/18 00:48:25 [harbor:3] Failed: Mountpoint in use 

<... and this continues till live goes down ...>

Attachments

rvk_stream.liq Download (3.3 KB) - added by romeodeepmind 17 months ago.

Change History

Changed 17 months ago by romeodeepmind

Changed 17 months ago by toots

Hi !

This seems a complicated interaction. So far, although I understand your report, I fail to see any possible starting point for fixing this.

It would be nice if you could give more details, including a complete log..

Changed 11 months ago by toots

  • status changed from new to closed
  • resolution set to fixed

Hi !

It seems that this issue is the same as #312.

You should raise the maximun buffer length to something more then 10. (parameter max)

Note: See TracTickets for help on using tickets.