Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

www.isky.co.nz: Problems with rtmpsuck (Handshake failed)

(http://stream-recorder.com/forum/showthread.php?t=8610)

niallm90 03-13-2011 09:33 PM

www.isky.co.nz: Problems with rtmpsuck (Handshake failed)


 
I am trying to get the stream from a new servers called iSky here in New Zealand.

So far I have found the url for the rtmpte stream (rtmpte://fs-184f500000000000.id.velocix.com/vxedge/fs-184f500000000000)

I cannot rtmpdump that stream as it outputs:
Code:

DEBUG: Protocol : RTMPTE
DEBUG: Hostname : fs-184f500000000000.id.velocix.com
DEBUG: Port    : 80
DEBUG: Playpath : fs-184f500000000000
DEBUG: tcUrl    : rtmpte://fs-184f500000000000.id.velocix.com:80/vxedge
DEBUG: app      : vxedge
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: 68 03 33 e7 4a ba bc a6 35 59 bf 9b db 32 49 04
DEBUG: 23 07 74 a7 a5 86 12 49 5e 74 f4 84 f2 8e b9 18
DEBUG: HandShake: Type Answer  : 06
DEBUG: HandShake: Server Uptime : 1650505906
DEBUG: HandShake: FMS Version  : 3.5.4.1
DEBUG: HandShake: Server DH public key offset: 510
DEBUG: HandShake: Secret key:
DEBUG: 4a 88 aa 27 39 ca 74 e5 ff 8b 45 a8 09 d6 bd 46
DEBUG: 80 cd b5 d2 ce a2 26 9d e5 5a 76 1e 82 fe 08 96
DEBUG: e7 f3 00 92 30 b0 6b 23 6b a7 45 59 f0 09 3c d7
DEBUG: 33 59 c2 77 95 5c 9d 23 6b 13 c8 88 86 6e cb 22
DEBUG: 38 54 55 1c a8 3a a4 fe b7 76 0e 27 76 2b bc c1
DEBUG: dd 0d 70 94 e1 19 27 97 14 c9 a7 61 de 27 2d 56
DEBUG: d6 51 1e ea 2b 50 fa 9d 33 bd a2 0f 6a 68 f3 c9
DEBUG: bb 18 5d 5d 4f 08 7a d1 bb 52 02 4e 82 c2 5b a9
DEBUG: RC4 Out Key:
DEBUG: b3 5c 57 c6 d1 3a f7 9a 0d 94 90 3a e1 76 27 88
DEBUG: RC4 In Key:
DEBUG: 87 9c f7 46 5b f7 68 5d 43 0f 5e df d6 08 d4 d7
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: b9 3d 70 b4 2e 73 f2 44 dc b8 96 9e 60 84 f7 80
DEBUG: cf f9 56 5e 68 4e 82 c1 ed e3 cc 70 e7 b8 39 08
DEBUG: HandShake: Client signature calculated:
DEBUG: 75 f5 1b 7a 46 93 e0 ad 69 0a b4 33 0f 16 e2 e7
DEBUG: 06 78 f8 99 16 e5 19 87 53 3c 13 0c 82 40 77 fb
DEBUG: HandShake: Server sent signature:
DEBUG: 3c c0 d3 d6 99 a5 a0 62 69 e4 e3 a4 f3 e2 c2 97
DEBUG: 00 bd 93 54 59 0d 76 56 0f 3d 2e 35 d9 c6 b6 98
DEBUG: HandShake: Digest key:
DEBUG: b4 ef 4c 9f 5d 1c 59 ed e7 cd 24 a3 82 d7 ab a2
DEBUG: a1 dd d3 25 e7 70 70 62 61 c4 9c 24 2d 1d 2d 31
DEBUG: HandShake: Signature calculated:
DEBUG: 3c c0 d3 d6 99 a5 a0 62 69 e4 e3 a4 f3 e2 c2 97
DEBUG: 00 bd 93 54 59 0d 76 56 0f 3d 2e 35 d9 c6 b6 98
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: RTMP_ClientPacket, received: invoke 125 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:        error>
DEBUG: Property: <Name:              code, STRING:        NetConnection.Connect.Rejected>
DEBUG: Property: <Name:        description, STRING:        Connection failed.>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.

So I carried on to see if I could fined out any parameters that I need.

First the stream is on 80 meaning I had to redirect traffic from 80 to 1935. (Doing this could be my problem?)
Code:

sudo iptables -t nat -A OUTPUT -p tcp -d fs-184f500000000000.id.velocix.com --dport 80 -m owner \! --uid-owner root -j REDIRECT --to-ports 1935
I then load up a root terminal and start the rtmpsuck -z.

On my user I load the iSky video and this is what I get in the terminal:
Code:

RTMP Proxy Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
DEBUG: serverThread: accepted connection from 10.1.2.2 to 60.234.60.202

ERROR: Handshake failed
Closing connection... done!

DEBUG: serverThread: processed request

DEBUG: serverThread: accepted connection from 10.1.2.2 to 60.234.60.202

ERROR: Handshake failed
Closing connection... done!

DEBUG: serverThread: processed request

So I through I would try rtmpsrv and the output is the same:
Code:

RTMP Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
DEBUG: serverThread: accepted connection from 10.1.2.2 to 60.234.60.202

ERROR: Handshake failed
Closing connection... done!

DEBUG: serverThread: processed request

Loading up wireshark I can see the packets going to the rtmpsuck / rtmpsrv but none are getting back. Is this because of my iptables command?

Thanks for the help!!

getflv 03-25-2011 07:39 AM

Re: Problems with rtmpsuck (Handshake failed)


 
Quote:

Originally Posted by niallm90 (Post 26447)
Dump.
Sorry but I could really do with some help. Please tell me if I'm posting in the wrong forum.

Thanks

Please download latest GetFLV 8.9.9.9 to download your videos and give us your feedback.

Stream Recorder 03-25-2011 08:08 AM

Re: Problems with rtmpsuck (Handshake failed)


 
niallm90 is using Linux, so not sure whether RTMPE recorders for Windows are acceptable here.

niallm90 03-26-2011 01:03 AM

Re: www.isky.co.nz: Problems with rtmpsuck (Handshake failed)


 
I have a windows VM. Trying it now. Thanks.

niallm90 03-26-2011 01:08 AM

Re: www.isky.co.nz: Problems with rtmpsuck (Handshake failed)


 
It failed to download the file and putting the URL it finds into rtmpdump gives me:
Code:

ERROR: Closing connection: NetStream.Failed

niallm90 06-12-2011 05:32 PM

Re: www.isky.co.nz: Problems with rtmpsuck (Handshake failed)


 
Bump...


All times are GMT -6. The time now is 10:08 PM.