ERROR: RTMP_Connect1, handshake failed. ???

David Lewis david at lewisfamily.id.au
Wed May 28 19:58:08 PDT 2014


Can anyone help me with analysing the following Verbose log of an attempt to
use get_player? 

I've just installed the latest version of the get_iplayer package (V2.86)
for Windows and am running Windows V8.1
The install looked OK except for failing to install AtomicParsley, but I
don't think this is essential for a basic download.

I get an error:    ERROR: RTMP_Connect1, handshake failed.
Download aborts

Here's the run log (Verbose mode):
Thanks
David



C:\Program Files\get_iplayer>
C:\Program Files\get_iplayer>
C:\Program Files\get_iplayer>
C:\Program Files\get_iplayer>get_iplayer --get 471 --modes flashlow1
--attempts 1 -v
get_iplayer v2.86, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use
--warranty.
  This is free software, and you are welcome to redistribute it under
certain
  conditions; use --conditions for details.

INFO: User prefs dir: C:\Users\David/.get_iplayer
INFO: System options dir: C:\ProgramData/get_iplayer/options
Current options:
        attempts = 1
        fatfilename = 1
        ffmpeg = .\FFmpeg\ffmpeg-2.1.4-win32-static\bin\ffmpeg.exe
        lame = .\LAME\lame.exe
        mmsnothread = 1
        modes = flashlow1
        mplayer = .\MPlayer\mplayer-svn-36348\mplayer.exe
        nopurge = 1
        output = D:\Users\David\My Documents\David\BBC IPlayer
Downloads\get_iplayer downloads
        rtmpdump = .\RTMPDump\rtmpdump.exe
        thumbsize = 150
        verbose = 1
        vlc = .\VLC\vlc-2.0.6\vlc.exe

INFO: Search args: '471'
INFO: Additionally getting cached programme data for tv
INFO: Got 1357 file cache entries for tv
Matches:
471:    Happy Valley - Episode 5, BBC One, Audio
Described,Crime,Drama,Guidance,Highlights,Popular,TV,Thriller,
default,audiodescribed,

INFO: 1 Matching Programmes
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/b045g6r7
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/b045g6r7
INFO: Using Not Live standard TV and Radio: b045g6nv
INFO: Version: default, VersionPid: b045g6nv, Duration: 3600
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: Will search for versions: default
INFO: Mode list: flashlow1
INFO: Checking existence of default version
INFO: Version = default
INFO: Getting page
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b045g6nv?cb=92568
INFO: Found mode flashhd1: (pc_streaming_hd) rtmp h264 1280x720 2800kbps
stream (CDN: akamai/10)
INFO: Found mode flashhd2: (pc_streaming_hd) rtmp h264 1280x720 2800kbps
stream (CDN: level3/5)
INFO: Found mode flashhigh1: (iplayer_streaming_h264_flv) rtmp h264 640x360
796kbps stream (CDN: akamai/10)
INFO: Found mode flashhigh2: (iplayer_streaming_h264_flv) rtmp h264 640x360
796kbps stream (CDN: limelight/5)
INFO: Found mode flashlow1: (iplayer_streaming_h264_flv_vlo) rtmp h264
400x224 396kbps stream (CDN: akamai/10)
INFO: Found mode flashlow2: (iplayer_streaming_h264_flv_vlo) rtmp h264
400x224 396kbps stream (CDN: limelight/5)
INFO: Found mode flashstd1: (iplayer_streaming_h264_flv_lo) rtmp h264
640x360 480kbps stream (CDN: akamai/10)
INFO: Found mode flashstd2: (iplayer_streaming_h264_flv_lo) rtmp h264
640x360 480kbps stream (CDN: limelight/5)
INFO: Found mode flashvhigh1: (iplayer_streaming_h264_flv_high) rtmp h264
832x468 1500kbps stream (CDN: akamai/10)
INFO: Found mode flashvhigh2: (iplayer_streaming_h264_flv_high) rtmp h264
832x468 1500kbps stream (CDN: limelight/5)
INFO: Found mode rtsphd1: (pc_streaming_rtsp_hd) rtmp h264 1280x720 2800kbps
stream (CDN: level3/5)
INFO: Found mode rtsphd2: (pc_streaming_rtsp_hd) rtmp h264 1280x720 2800kbps
stream (CDN: akamai/10)
INFO: Found mode rtsphigh1: (iplayer_streaming_rtsp_h264_flv) rtmp h264
640x360 796kbps stream (CDN: limelight/5)
INFO: Found mode rtsphigh2: (iplayer_streaming_rtsp_h264_flv) rtmp h264
640x360 796kbps stream (CDN: akamai/10)
INFO: Found mode rtsplow1: (iplayer_streaming_rtsp_h264_flv_vlo) rtmp h264
400x224 396kbps stream (CDN: limelight/5)
INFO: Found mode rtsplow2: (iplayer_streaming_rtsp_h264_flv_vlo) rtmp h264
400x224 396kbps stream (CDN: akamai/10)
INFO: Found mode rtspstd1: (iplayer_streaming_rtsp_h264_flv_lo) rtmp h264
640x360 480kbps stream (CDN: limelight/5)
INFO: Found mode rtspstd2: (iplayer_streaming_rtsp_h264_flv_lo) rtmp h264
640x360 480kbps stream (CDN: akamai/10)
INFO: Found mode rtspvhigh1: (iplayer_streaming_rtsp_h264_flv_high) rtmp
h264 832x468 1500kbps stream (CDN: limelight/5)
INFO: Found mode rtspvhigh2: (iplayer_streaming_rtsp_h264_flv_high) rtmp
h264 832x468 1500kbps stream (CDN: akamai/10)
INFO: Found mode subtitles1: (captions) http stream (CDN: http/10)
INFO: flashlow1 modes will be tried for version default
INFO: Trying flashlow1 mode to record tv: Happy Valley - Episode 5
INFO: Attempt number: 1 / 1
INFO: File name prefix = Happy_Valley_-_Episode_5_b045g6r7_default
INFO: rtmpver:
INFO: RTMPDump v2.4
INFO: (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:
GPL
INFO:
INFO: .\RTMPDump\rtmpdump.exe: This program dumps the media content streamed
over RTMP.
INFO:
INFO: --help|-h               Prints this help screen.
INFO: --url|-i url            URL with options included (e.g.
rtmp://host[:port]/path swfUrl=url tcUrl=url)
INFO: --rtmp|-r url           URL (e.g. rtmp://host[:port]/path)
INFO: --host|-n hostname      Overrides the hostname in the rtmp url
INFO: --port|-c port          Overrides the port in the rtmp url
INFO: --socks|-S host:port    Use the specified SOCKS proxy
INFO: --protocol|-l num       Overrides the protocol in the rtmp url (0 -
RTMP, 2 - RTMPE)
INFO: --playpath|-y path      Overrides the playpath parsed from rtmp url
INFO: --playlist|-Y           Set playlist before playing
INFO: --swfUrl|-s url         URL to player swf file
INFO: --tcUrl|-t url          URL to played stream (default:
"rtmp://host[:port]/app")
INFO: --pageUrl|-p url        Web URL of played programme
INFO: --app|-a app            Name of target app on server
INFO: --swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32
bytes)
INFO: --swfsize|-x num        Size of the decompressed SWF file, required
for SWFVerification
INFO: --swfVfy|-W url         URL to player swf file, compute hash/size
automatically
INFO: --swfAge|-X days        Number of days to use cached SWF hash before
refreshing
INFO: --auth|-u string        Authentication string to be appended to the
connect string
INFO: --conn|-C type:data     Arbitrary AMF data to be appended to the
connect string
INFO:                         B:boolean(0|1), S:string, N:number,
O:object-flag(0|1),
INFO:                         Z:(null), NB:name:boolean, NS:name:string,
NN:name:number
INFO: --flashVer|-f string    Flash version string (default: "WIN
10,0,32,18")
INFO: --live|-v               Save a live stream, no --resume (seeking) of
live streams possible
INFO: --subscribe|-d string   Stream name to subscribe to (otherwise
defaults to playpath if live is specifed)
INFO: --realtime|-R           Don't attempt to speed up download via the
Pause/Unpause BUFX hack
INFO: --flv|-o string         FLV output file name, if the file name is -
print stream to stdout
INFO: --resume|-e             Resume a partial RTMP download
INFO: --timeout|-m num        Timeout connection num seconds (default: 30)
INFO: --start|-A num          Start at num seconds into stream (not valid
when using --live)
INFO: --stop|-B num           Stop at num seconds into stream
INFO: --token|-T key          Key for SecureToken response
INFO: --jtv|-j JSON           Authentication token for Justin.tv legacy
servers
INFO: --hashes|-#             Display progress with hashes, not with the
byte counter
INFO: --buffer|-b             Buffer time in milliseconds (default:
36000000)
INFO: --skip|-k num           Skip num keyframes when looking for last
keyframe to resume from. Useful if resume fails (default: 0)
INFO:
INFO: --quiet|-q              Suppresses all command output.
INFO: --verbose|-V            Verbose command output.
INFO: --debug|-z              Debug level command output.
INFO: If you don't pass parameters for swfUrl, pageUrl, or auth these
properties will not be included in the connect packet.
INFO:
INFO: .\RTMPDump\rtmpdump.exe version 2.4
INFO: RTMP_URL:
rtmp://cp41752.edgefcs.net:1935/ondemand?_fcs_vhost=cp41752.edgefcs.net&unde
fined&auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHszL&ai
fp=v001
&slist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-963d-7327d2843ab6_b
045g6nv_1400974037955.mp4;secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9
881-5cab42b7fd92_b045g6
nv_1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5
cab42b7fd92_b045g6nv_1400978864380.mp4;secure/480kbps/modav/bUnknown-b21c399
b-4346-4d8a-9881-5cab42
b7fd92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bUnknown-b21c399b-43
46-4d8a-9881-5cab42b7fd92_b045g6nv_1400978866852.mp4, tcUrl:
rtmp://cp41752.edgefcs.net:80/ondemand
?_fcs_vhost=cp41752.edgefcs.net&undefined&auth=daEazcHcocvczd0dpdNdCaddRbtd_
bZdua1-btHtxl-bWG-GpoFEpxpKEpHszL&aifp=v001&slist=secure/3200kbps/modav/bUnk
nown-eec9e4ad-5a26-4ee3
-963d-7327d2843ab6_b045g6nv_1400974037955.mp4;secure/400kbps/modav/bUnknown-
b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978865604.mp4;secure/800kb
ps/modav/bUnknown-b21c3
99b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978864380.mp4;secure/480kbps/mo
dav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978863717.mp4
;secure/1500kbps/modav/
bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978866852.mp4,
application:
ondemand?_fcs_vhost=cp41752.edgefcs.net&undefined&auth=daEazcHcocvczd0dpdNdC
addRbtd_bZdu
a1-btHtxl-bWG-GpoFEpxpKEpHszL&aifp=v001&slist=secure/3200kbps/modav/bUnknown
-eec9e4ad-5a26-4ee3-963d-7327d2843ab6_b045g6nv_1400974037955.mp4;secure/400k
bps/modav/bUnknown-b21c
399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978865604.mp4;secure/800kbps/m
odav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978864380.mp
4;secure/480kbps/modav/
bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978863717.mp4;sec
ure/1500kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_14
00978866852.mp4, authSt
ring:
auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHszL&aifp=v00
1&slist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-963d-7327d2843ab6_
b045g6nv_14009740
37955.mp4;secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92
_b045g6nv_1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399b-4346-4d8a
-9881-5cab42b7fd92_b045
g6nv_1400978864380.mp4;secure/480kbps/modav/bUnknown-b21c399b-4346-4d8a-9881
-5cab42b7fd92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bUnknown-b21c
399b-4346-4d8a-9881-5ca
b42b7fd92_b045g6nv_1400978866852.mp4, swfUrl:
http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_6
18125_4_emp.swf, file: D:\Users\David\My Documents\Da
vid\BBC IPlayer Downloads\get_iplayer
downloads\Happy_Valley_-_Episode_5_b045g6r7_default.partial.mp4, file_done:
D:\Users\David\My Documents\David\BBC IPlayer Downloads\get_i
player downloads\Happy_Valley_-_Episode_5_b045g6r7_default.mp4


INFO: Command: ".\RTMPDump\rtmpdump.exe" "--port" "1935" "--protocol" "0"
"--playpath"
"mp4:secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045
g6nv_1400978
865604.mp4?auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHs
zL&aifp=v001&slist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-963d-73
27d2843ab6_b045g6nv_140
0974037955.mp4;secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b
7fd92_b045g6nv_1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399b-4346
-4d8a-9881-5cab42b7fd92
_b045g6nv_1400978864380.mp4;secure/480kbps/modav/bUnknown-b21c399b-4346-4d8a
-9881-5cab42b7fd92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bUnknown
-b21c399b-4346-4d8a-988
1-5cab42b7fd92_b045g6nv_1400978866852.mp4" "--host" "cp41752.edgefcs.net"
"--swfVfy"
"http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_
618125_4_emp.s
wf" "--tcUrl"
"rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&undef
ined&auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHszL&aif
p=v001&sl
ist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-963d-7327d2843ab6_b045
g6nv_1400974037955.mp4;secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881
-5cab42b7fd92_b045g6nv_
1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab
42b7fd92_b045g6nv_1400978864380.mp4;secure/480kbps/modav/bUnknown-b21c399b-4
346-4d8a-9881-5cab42b7f
d92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bUnknown-b21c399b-4346-
4d8a-9881-5cab42b7fd92_b045g6nv_1400978866852.mp4" "--app"
"ondemand?_fcs_vhost=cp41752.edgefcs.net
&undefined&auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHs
zL&aifp=v001&slist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-963d-73
27d2843ab6_b045g6nv_140
0974037955.mp4;secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b
7fd92_b045g6nv_1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399b-4346
-4d8a-9881-5cab42b7fd92
_b045g6nv_1400978864380.mp4;secure/480kbps/modav/bUnknown-b21c399b-4346-4d8a
-9881-5cab42b7fd92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bUnknown
-b21c399b-4346-4d8a-988
1-5cab42b7fd92_b045g6nv_1400978866852.mp4" "--pageUrl" "" "--resume" "-o"
"D:\Users\David\My Documents\David\BBC IPlayer Downloads\get_iplayer
downloads\Happy_Valley_-_Episode
_5_b045g6r7_default.partial.mp4.flv" "--timeout" "10" "--verbose"

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp41752.edgefcs.net
DEBUG: Port     : 1935
DEBUG: Playpath :
mp4:secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g
6nv_1400978865604.mp4?auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-Gp
oFEpx
pKEpHszL&aifp=v001&slist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-9
63d-7327d2843ab6_b045g6nv_1400974037955.mp4;secure/400kbps/modav/bUnknown-b2
1c399b-4346-4d8a-9881-5
cab42b7fd92_b045g6nv_1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399
b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978864380.mp4;secure/480kbps/moda
v/bUnknown-b21c399b-434
6-4d8a-9881-5cab42b7fd92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bU
nknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400978866852.mp4
DEBUG: tcUrl    :
rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&undefi
ned&auth=daEazcHcocvczd0dpdNdCaddRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHszL&aifp
=v001
&slist=secure/3200kbps/modav/bUnknown-eec9e4ad-5a26-4ee3-963d-7327d2843ab6_b
045g6nv_1400974037955.mp4;secure/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9
881-5cab42b7fd92_b045g6
nv_1400978865604.mp4;secure/800kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5
cab42b7fd92_b045g6nv_1400978864380.mp4;secure/480kbps/modav/bUnknown-b21c399
b-4346-4d8a-9881-5cab42
b7fd92_b045g6nv_1400978863717.mp4;secure/1500kbps/modav/bUnknown-b21c399b-43
46-4d8a-9881-5cab42b7fd92_b045g6nv_1400978866852.mp4
DEBUG: swfUrl   :
http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_6
18125_4_emp.swf
DEBUG: pageUrl  :
DEBUG: app      :
ondemand?_fcs_vhost=cp41752.edgefcs.net&undefined&auth=daEazcHcocvczd0dpdNdC
addRbtd_bZdua1-btHtxl-bWG-GpoFEpxpKEpHszL&aifp=v001&slist=secure/3200kbps/mo
dav/b
Unknown-eec9e4ad-5a26-4ee3-963d-7327d2843ab6_b045g6nv_1400974037955.mp4;secu
re/400kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_1400
978865604.mp4;secure/80
0kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045g6nv_140097886
4380.mp4;secure/480kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_
b045g6nv_1400978863717.
mp4;secure/1500kbps/modav/bUnknown-b21c399b-4346-4d8a-9881-5cab42b7fd92_b045
g6nv_1400978866852.mp4
DEBUG: live     : no
DEBUG: timeout  : 10 sec
DEBUG: SWFSHA256:
DEBUG: b6 74 7f 89 f9 ec 6a 60 c1 a4 b5 8b b1 18 b0 fa
DEBUG: 65 18 86 24 c2 8a 1a a3 2f 72 0f 0b 80 59 dd 7f
DEBUG: SWFSize  : 595316
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 53
DEBUG: HandShake: Initial client digest:
DEBUG: bd 39 f6 2c fd bc b7 94 7d 22 9d f7 96 91 90 89
DEBUG: a9 1b 6e e0 c8 0d 23 77 16 3c 6d 7d 20 4e a5 b5
ERROR: RTMP_Connect1, handshake failed.
DEBUG: Closing connection.

INFO: Command exit code 3 (raw code = 768)
WARNING: Failed to stream file D:\Users\David\My Documents\David\BBC IPlayer
Downloads\get_iplayer
downloads\Happy_Valley_-_Episode_5_b045g6r7_default.partial.mp4.flv via RTMP

DEBUG: Record using flashlow1 mode return code: 'next'
INFO: skipping flashlow1 mode
ERROR: Failed to record 'Happy Valley - Episode 5 (b045g6r7)'






More information about the get_iplayer mailing list