PDA

View Full Version : RTMP Error - 'NetConnection.Connect.Rejected'


harikmp
07-22-2014, 12:38 AM
Hi,

Please help me with playing the following stream;

http://www.turbotv.in/mathrubhumi-news/


rtmpdump -r "rtmp://65.49.77.153/redirect/" -W "http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -p "http://www.turbotv.in/mathrubhumi-news/" -y "asia10.stream" -V -T "Vu4KaBzaxa" -v


RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : 65.49.77.153
DEBUG: Port : 1935
DEBUG: Playpath : asia10.stream
DEBUG: tcUrl : rtmp://65.49.77.153:1935/redirect
DEBUG: swfUrl : http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf
DEBUG: pageUrl : http://www.turbotv.in/mathrubhumi-news/
DEBUG: app : redirect
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 5a d1 f3 e6 54 7e ff b2 5f 31 f1 16 bf a3 03 a2
DEBUG: b9 bc 46 b3 ae da 62 d1 09 e6 a7 09 35 b0 91 89
DEBUG: SWFSize : 221174
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: a8 a7 03 8e a8 62 8d 62 49 69 54 b8 6c a3 76 c3
DEBUG: 5d 78 ae 2a 36 e8 1c d1 26 7a 66 16 64 a7 99 e7
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb
DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47
DEBUG: HandShake: Client signature calculated:
DEBUG: fd 79 74 36 2a 2c e3 8e 47 6b 78 79 fd 17 fe ce
DEBUG: 3b d6 19 d8 30 cf ce a5 ab 80 01 61 a7 15 e8 28
DEBUG: HandShake: Server sent signature:
DEBUG: a0 23 1b 99 c7 3c a0 67 15 af 89 91 6e 67 23 41
DEBUG: 6a 9a 47 d9 c2 d3 64 a9 16 15 95 1a a0 fd f8 76
DEBUG: HandShake: Digest key:
DEBUG: 14 9d ac 9b b4 d3 b3 18 c5 9d 8f 31 ee a9 9f 64
DEBUG: 27 fc ea ff 70 77 ca 4a 48 37 46 b7 88 27 2a 20
DEBUG: HandShake: Signature calculated:
DEBUG: a0 23 1b 99 c7 3c a0 67 15 af 89 91 6e 67 23 41
DEBUG: 6a 9a 47 d9 c2 d3 64 a9 16 15 95 1a a0 fd f8 76
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: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 229 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Re
jected>
DEBUG: Property: <Name: description, STRING: Connection failed: Appli
cation rejected connection.>
DEBUG: Property: <Name: ex, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: redirect, STRING: rtmp://50.7.175.251:1935
/base2>
DEBUG: Property: <Name: code, NUMBER: 302.00>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 437653025.00>
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.

peterpan
07-22-2014, 12:47 AM
It's working fine...you just need to add the path to VLC ;)

rtmpdump -r "rtmp://65.49.77.153/redirect/" -W "http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -p "http://www.turbotv.in/mathrubhumi-news/" -y "asia10.stream" -V -T "Vu4KaBzaxa" -v | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -


http://i.imgur.com/z81wwVpl.png

harikmp
07-22-2014, 01:59 AM
Thanks for the reply..

Can the stream be added to JWPlayer?

harikmp
07-22-2014, 05:27 AM
Sorry, after adding VLC also its showing the same error!!

Please check..

C:\rtmpdump>rtmpdump -r "rtmp://65.49.77.153/redirect/" -W "http://www.turbotv.i
n/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -p "http:
//www.turbotv.in/mathrubhumi-news/" -y "asia10.stream" -V -T "Vu4KaBzaxa" -v |
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : 65.49.77.153
DEBUG: Port : 1935
DEBUG: Playpath : asia10.stream
DEBUG: tcUrl : rtmp://65.49.77.153:1935/redirect
DEBUG: swfUrl : http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-
wordpress/player/player.swf
DEBUG: pageUrl : http://www.turbotv.in/mathrubhumi-news/
DEBUG: app : redirect
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 5a d1 f3 e6 54 7e ff b2 5f 31 f1 16 bf a3 03 a2
DEBUG: b9 bc 46 b3 ae da 62 d1 09 e6 a7 09 35 b0 91 89
DEBUG: SWFSize : 221174
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: da d5 40 6b 70 ca 2a 51 87 2c c0 9f 80 b7 57 d4
DEBUG: f3 df 10 aa d1 02 bb 0d c1 2e a6 d9 b9 d8 15 13
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb
DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47
DEBUG: HandShake: Client signature calculated:
DEBUG: fd 79 74 36 2a 2c e3 8e 47 6b 78 79 fd 17 fe ce
DEBUG: 3b d6 19 d8 30 cf ce a5 ab 80 01 61 a7 15 e8 28
DEBUG: HandShake: Server sent signature:
DEBUG: de 4b fb cb 88 3b bd 92 77 bf c6 64 c6 8f a6 43
DEBUG: fb b7 cc f6 7d c4 76 e7 59 e8 ea a3 1e 3f 7e 7f
DEBUG: HandShake: Digest key:
DEBUG: 57 89 ec 5c 45 0d fc d3 74 f8 d0 e3 9f dc 73 12
DEBUG: 3e 9d 76 d3 61 1f aa 2f 65 4d 8e 58 73 5c a8 3f
DEBUG: HandShake: Signature calculated:
DEBUG: de 4b fb cb 88 3b bd 92 77 bf c6 64 c6 8f a6 43
DEBUG: fb b7 cc f6 7d c4 76 e7 59 e8 ea a3 1e 3f 7e 7f
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: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 229 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Re
jected>
DEBUG: Property: <Name: description, STRING: Connection failed: Appli
cation rejected connection.>
DEBUG: Property: <Name: ex, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: redirect, STRING: rtmp://50.7.175.243:1935
/base2>
DEBUG: Property: <Name: code, NUMBER: 302.00>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 946484316.00>
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.

peterpan
07-22-2014, 05:34 AM
Double check and make sure you have the correct VLC path (it doesn't have to be like mine) & Make sure you have the latest rtmpdump. good luck

harikmp
07-22-2014, 05:39 AM
yep, VLC is opening. Also i have checked it using other rtmp streams, but is not working with this IP stream. Also my rtmpdumb is latest for windows. Can you paste your rtmpdump debug details here for the same?

again, thank you mate for ur reply..