Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: RTMP_Connect1, handshake failed. #317

Closed
danryu opened this issue Mar 21, 2012 · 1 comment
Closed

ERROR: RTMP_Connect1, handshake failed. #317

danryu opened this issue Mar 21, 2012 · 1 comment

Comments

@danryu
Copy link

@danryu danryu commented Mar 21, 2012

Hi,

I'm trying to rip a segment of a Cobert Nation (Comedy Central) episode.
This is what happens:
l$ ./youtube-dl http://www.colbertnation.com/full-episodes/tue-march-13-2012-andrew-bird
[comedycentral] tue-march-13-2012-andrew-bird: Extracting information
[comedycentral] tue-march-13-2012-andrew-bird: Determining player URL
[comedycentral] tue-march-13-2012-andrew-bird: Downloading show index
[comedycentral] tue-march-13-2012-andrew-bird: Downloading configuration
[download] Destination: 410571.mp4
[rtmpdump] 0 bytes
ERROR: rtmpdump exited with code 1

Version:
dan@mango:~/youtube-dl$ ./youtube-dl --version
2012.02.27

dan@mango:~/youtube-dl$ python --version
Python 2.7.2+

Running Ubuntu 11.10 x64.

If I do a "youtube-dl -g" to get the URLs separately, and then try and rtmpdump a specific one, this is what I see:

dan@mango:~/youtube-dl$ rtmpdump -V -l 2 -r "rtmpe://viacomccstrmfs.fplive.net/viacomccstrm/gsp.comedystor/com/colbert/season_08/episode_071/cr_08071_act5_768x432_1720.mp4" -o dude
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 2
DEBUG: Parsed host : viacomccstrmfs.fplive.net
DEBUG: Parsed app : viacomccstrm/gsp.comedystor
DEBUG: Protocol : RTMPE
DEBUG: Hostname : viacomccstrmfs.fplive.net
DEBUG: Port : 1935
DEBUG: Playpath : mp4:com/colbert/season_08/episode_071/cr_08071_act5_768x432_1720
DEBUG: tcUrl : rtmpe://viacomccstrmfs.fplive.net:1935/viacomccstrm/gsp.comedystor
DEBUG: app : viacomccstrm/gsp.comedystor
DEBUG: live : no
DEBUG: timeout : 30 sec
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: 13 10 ef a5 ac c5 dd 23 8c 78 63 cd 7b 41 2e 8a
DEBUG: 16 8c 29 e3 46 1b 46 ea 15 f0 ec cb 25 73 f0 3b
DEBUG: HandShake: Type Answer : 09
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
DEBUG: HandShake: Server Uptime : 651410987
DEBUG: HandShake: FMS Version : 3.5.6.1
DEBUG: HandShake: Server DH public key offset: 393
DEBUG: HandShake: Secret key:
DEBUG: 51 b9 cd 8f e5 4e 32 01 13 a9 83 56 93 ed 12 ed
DEBUG: 90 6b bc 59 4a 56 02 06 f5 89 55 a8 0f 65 4d 66
DEBUG: b1 6b 5c e1 52 d6 76 45 8a a3 11 24 35 d9 b0 cc
DEBUG: 55 d3 fd 2d d8 44 73 9f c6 04 2b 10 4e 53 1c d9
DEBUG: 08 73 ed 2c f5 e5 8c a4 2c 27 37 ff e9 8c ba 94
DEBUG: 84 98 ca 07 6a 69 ef 7f dd 16 d0 6c 0e ec e8 c6
DEBUG: 3b c0 12 5b df 33 f6 a9 8b 53 03 1f c8 9d ea 11
DEBUG: 85 f0 06 78 98 91 6f 55 58 78 d7 fe 21 38 bf 81
DEBUG: RC4 Out Key:
DEBUG: 2c e7 3d 07 02 d8 d0 51 4d c3 1a 2e 70 18 7f 62
DEBUG: RC4 In Key:
DEBUG: bf c8 10 77 42 c4 ed 51 7e ee 6d 19 00 cb 2d f0
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 12 25 e9 fb a9 46 3a 06 b3 14 92 d6 35 98 3b 80
DEBUG: 29 24 3b 53 ab bc 87 80 cc 15 b4 ff 00 7c 7e 91
DEBUG: HandShake: Client signature calculated:
DEBUG: 6a 8a 33 74 a8 df 25 4f 18 ff 18 09 32 ab 7b 1d
DEBUG: de af 19 69 a5 28 e8 25 8b 48 99 42 e4 7e 6a 9c
DEBUG: HandShake: Server sent signature:
DEBUG: 25 8b 9b 3f df 6e 1e f9 11 62 06 99 26 d9 5f ce
DEBUG: 7d c1 50 f9 4a ac bb c9 89 7f 12 7d 16 6d 79 ff
DEBUG: HandShake: Digest key:
DEBUG: 46 02 00 da 70 2d 77 d0 97 70 b4 10 82 69 38 68
DEBUG: e4 7d 8a 58 67 db 25 90 95 e0 e6 84 e5 e2 f7 50
DEBUG: HandShake: Signature calculated:
DEBUG: 3d 9d 2d 35 44 cb 53 9e 29 3a 3a c3 b3 09 51 fb
DEBUG: 6c 06 9e b1 98 18 41 73 d1 1f b6 bd 8e 10 f4 7d
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.
DEBUG: Closing connection.

@phihag
Copy link
Contributor

@phihag phihag commented Apr 3, 2012

This is an error(well, missing feature) in rtmpdump, and not related to youtube-dl. I'm personally looking for a solution by modifying rtmpdump, but haven't found one yet.

@phihag phihag closed this Apr 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.