[rtmpdump] WARNING: HandShake: Type mismatch: client sent 6, server answered 8

TuX RaceR tuxracer69 at gmail.com
Sun Aug 8 22:50:19 CEST 2010


Hello List,

I am trying to record the m6 tv streams using parameters I got from 
rtmpsrv, but I get an error.
As http://www.m6replay.fr blocks access from non French IPs, I can if a 
developer asks, setup a proxy to allow network traffic analysis from any 
country in the world,

Thanks
TuX

PS: below are the oytput of the command in normal mode, and in verbose mode:


rtmpdump -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/d1/" -a "a2883/d1/" 
-f "LNX 10,0,32,18" -W 
"http://groupemsix.vo.llnwd.net/o24/u/players/ReplayPlayer_20100416.swf" 
-p "http://www.m6replay.fr/#/info/capital/15378" -y 
"mp4:production/regienum/m6_capital_55986_010820102040.mp4" -o 
m6_capital_55986_010820102040.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header







rtmpdump --verbose -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/d1/" -a 
"a2883/d1/" -f "LNX 10,0,32,18" -W 
"http://groupemsix.vo.llnwd.net/o24/u/players/ReplayPlayer_20100416.swf" 
-p "http://www.m6replay.fr/#/info/capital/15378" -y 
"mp4:production/regienum/m6_capital_55986_010820102040.mp4" -o 
m6_capital_55986_010820102040.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 2
DEBUG: Parsed host    : groupemsix.fcod.llnwd.net
DEBUG: Parsed app     : a2883/d1
DEBUG: Protocol : RTMPE
DEBUG: Hostname : groupemsix.fcod.llnwd.net
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:production/regienum/m6_capital_55986_010820102040.mp4
DEBUG: tcUrl    : rtmpe://groupemsix.fcod.llnwd.net:1935/a2883/d1/
DEBUG: swfUrl   : 
http://groupemsix.vo.llnwd.net/o24/u/players/ReplayPlayer_20100416.swf
DEBUG: pageUrl  : http://www.m6replay.fr/#/info/capital/15378
DEBUG: app      : a2883/d1/
DEBUG: flashVer : LNX 10,0,32,18
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: d3 2d 28 50 7b 82 63 bd 08 f5 e1 50 dd 0b fa 79
DEBUG: 1c 67 17 87 51 4f 32 56 01 b0 55 72 21 84 22 bf
DEBUG: SWFSize  : 33259
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 472
DEBUG: HandShake: Client digest offset: 1383
DEBUG: HandShake: Initial client digest:
DEBUG: ad c4 ef 82 6d da a2 4b e2 5b 6a 1a 15 2d c3 79
DEBUG: c1 87 70 f0 de 2a 0f 55 c4 75 c9 29 b7 c4 5e 24
DEBUG: HandShake: Type Answer   : 08
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
DEBUG: HandShake: Server Uptime : 1392150818
DEBUG: HandShake: FMS Version   : 3.5.2.1
DEBUG: HandShake: Server DH public key offset: 410
DEBUG: HandShake: Secret key:
DEBUG: ab 4c 17 ed 18 51 68 97 93 19 b4 ee 5e a5 f2 98
DEBUG: ca 44 e5 83 fa 6b c5 6b 41 e6 1c 5e 71 e0 d1 cb
DEBUG: 17 c1 2b a8 93 67 1b f3 cf d4 a3 85 1f d9 9f c4
DEBUG: 9c fe 26 60 9b f5 64 ae e5 a1 e7 81 3f 32 91 50
DEBUG: c9 e5 02 48 d7 11 5e 27 ee 3e 22 fb f3 f7 f9 cf
DEBUG: 95 d6 f9 d1 79 dd c2 82 3f 93 22 89 ea 7e 96 4a
DEBUG: b4 f8 76 d8 1b 9a 5b 96 4a af 19 6f 3d 88 64 10
DEBUG: da 0a cd 77 ef c2 d7 85 05 35 aa 63 11 a9 17 6b
DEBUG: RC4 Out Key:
DEBUG: af 2d 12 0f 35 69 5a 79 69 49 f5 c9 dc 5b 42 b4
DEBUG: RC4 In Key:
DEBUG: ae 9f 1e 5f bf 8e 16 b3 d6 a5 2a 24 f6 8f 44 13
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: db b7 a2 bf a9 f5 f6 aa 54 c3 36 b3 08 77 70 54
DEBUG: 3e 4b 96 55 35 9b b5 a1 52 36 1e d9 db 4c a2 e9
DEBUG: HandShake: Client signature calculated:
DEBUG: 76 09 c4 ac 1a 4d c9 cb a3 d4 df d6 bd 04 69 12
DEBUG: d6 66 9e 13 1c 67 a8 c8 c9 97 86 0c 91 91 ac 72
DEBUG: HandShake: Server sent signature:
DEBUG: 44 cc db 1f 6d ef ed a0 3a a3 1d 46 55 d3 98 db
DEBUG: 6e d4 4e 39 18 e9 59 da 04 aa 1b 7d 06 89 ef be
DEBUG: HandShake: Digest key:
DEBUG: 07 4c 4b 1a 43 aa 5b 04 1e 7c 5b f3 a1 5c 5c f1
DEBUG: d6 37 7d 68 06 1f 87 db e2 9a 37 4e d2 10 af 70
DEBUG: HandShake: Signature calculated:
DEBUG: 44 cc db 1f 6d ef ed a0 3a a3 1d 46 55 d3 98 db
DEBUG: 6e d4 4e 39 18 e9 59 da 04 aa 1b 7d 06 89 ef be
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 00 81 eb 00 00 81 eb 15 8b 87 2d
DEBUG: 1e a1 d6 4b 04 34 b8 b7 8c 19 ea 91 4c bf 94 aa
DEBUG: 3e 25 f8 6c c2 3d 79 6f 93 4e 34 1c
DEBUG: RTMP_ClientPacket, received: invoke 240 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/3,5,3,863>
DEBUG: Property: <Name:       capabilities, NUMBER:     127.00>
DEBUG: Property: <Name:               mode, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     
NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:     Connection 
succeeded.>
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: Property: <Name:               data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:     3,5,3,863>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 104 
(Connection reset by peer)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.



More information about the rtmpdump mailing list