Hello Some radio programmes now give an "access denied" error where previously rtmpdump worked just fine. The programmes are still available via a web browser so I'm wondering what has changed and is there a way to fix it? Below is the debug output. Thanks. Andrew ommand: /usr/local/bin/rtmpdump --port 1935 --protocol 0 --playpath mp3:secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56?auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001 --host cp60736.edgefcs.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://cp60736.edgefcs.net:80/ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 --app ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 --resume -o Pipeline_-_01_05_2010_b00s7g78_default.partial.mp3.flv --timeout 10 --verbose --debug RTMPDump v2.2c (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMP DEBUG: Hostname : cp60736.edgefcs.net DEBUG: Port : 1935 DEBUG: Playpath : mp3:secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56?auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001 DEBUG: tcUrl : rtmp://cp60736.edgefcs.net:80/ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 DEBUG: swfUrl : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 DEBUG: app : ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 DEBUG: live : no DEBUG: timeout : 10 sec DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 428866822 DEBUG: HandShake: FMS Version : 3.5.2.1 DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG2: RTMP_SendPacket: fd=4, size=870 DEBUG2 packet content cut from here for brevity DEBUG: Invoking connect INFO: Connected... DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 03 00 00 00 00 00 86 14 00 00 00 00 ............ DEBUG2: 0000: 02 00 06 5f 65 72 72 6f 72 00 3f f0 00 00 00 00 ..._error.?..... DEBUG2: 0010: 00 00 05 03 00 05 6c 65 76 65 6c 02 00 05 65 72 ......level...er DEBUG2: 0020: 72 6f 72 00 04 63 6f 64 65 02 00 1e 4e 65 74 43 ror..code...NetC DEBUG2: 0030: 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 63 onnection.Connec DEBUG2: 0040: 74 2e 52 65 6a 65 63 74 65 64 00 0b 64 65 73 63 t.Rejected..desc DEBUG2: 0050: 72 69 70 74 69 6f 6e 02 00 29 5b 20 41 63 63 65 ription..)[ Acce DEBUG2: 0060: 73 73 4d 61 6e 61 67 65 72 2e 52 65 6a 65 63 74 ssManager.Reject DEBUG2: 0070: 20 5d 20 3a 20 41 63 63 65 73 73 20 64 65 6e 69 ] : Access deni DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: c3 . DEBUG2: 0000: 65 64 21 00 00 09 ed!... DEBUG: RTMP_ClientPacket, received: invoke 134 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: _error> DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: Property: NULL DEBUG: Property: <Name: no-name., OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected> DEBUG: Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_error> ERROR: rtmp server sent error DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 03 00 00 00 00 00 12 14 00 00 00 00 ............ DEBUG2: 0000: 02 00 05 63 6c 6f 73 65 00 00 00 00 00 00 00 00 ...close........ DEBUG2: 0010: 00 05 .. DEBUG: RTMP_ClientPacket, received: invoke 18 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: close> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <close> ERROR: rtmp server requested close DEBUG: Closing connection.
Andrew Brooks wrote:
Hello
Some radio programmes now give an "access denied" error where previously rtmpdump worked just fine. The programmes are still available via a web browser so I'm wondering what has changed and is there a way to fix it? Below is the debug output. Thanks.
Whatever you used to obtain these parameters is garbage. Look at the actual parameters, do they look valid to you? "auth=auth=daEdV..." is clearly wrong, there should only be "auth=daEdV..." All of the "&" occurrences should just be "&". There are other obvious problems as well. Clean up the garbage and it will play fine.
Andrew
ommand: /usr/local/bin/rtmpdump --port 1935 --protocol 0 --playpath mp3:secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56?auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001 --host cp60736.edgefcs.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://cp60736.edgefcs.net:80/ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 --app ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 --resume -o Pipeline_-_01_05_2010_b00s7g78_default.partial.mp3.flv --timeout 10 --verbose --debug
RTMPDump v2.2c (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMP DEBUG: Hostname : cp60736.edgefcs.net DEBUG: Port : 1935 DEBUG: Playpath : mp3:secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56?auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001 DEBUG: tcUrl : rtmp://cp60736.edgefcs.net:80/ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56 DEBUG: swfUrl : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 DEBUG: app : ondemand?_fcs_vhost=cp60736.edgefcs.net&auth=auth=daEdVascscWb3bybicgcId9biaYcrd0aDdU-bl4S2G-cOW-IntFIpEoKCrFvyI&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56&aifp=v001&slist=secure/radioscotland_aod/RBN2_rs_pipeline_sun_b00s7g6p_2010_05_02_19_22_56
On Thu, 06 May 2010 15:42:29 +0100, Howard Chu <hyc@highlandsun.com> wrote:
Whatever you used to obtain these parameters is garbage.
Thanks for spotting that - I just pasted the debug output from get_iplayer which continues to work fine for most radio programmes but fails in this manner for just two or three specific programmes. I thought it was a bug in rtmpdump so I posted here, but I'm glad it's not. Thanks :-)
participants (2)
-
Andrew Brooks -
Howard Chu