PDA

View Full Version : ERROR: rtmp server sent error


Josan420
03-19-2012, 08:19 AM
everytime i use rtmpexplorer to find url on this site "http://desihd.net/discovery-india.php" i get this error


RTMP Server 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://live.yycast.com:1935/lb/" -a "lb/" -f "WIN 10,3,181,26" -W "
http://www.streamiton.tv/player/player.swf" -p "http://www.yycast.com/embed.php?
fileid=115520&vw=600&vh=490" -y "115520" -o 115520.flv

Closing connection... done!

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

what is this? how can i solve ti?
please help me

Bahman
03-19-2012, 08:37 AM
rtmpdump -r "rtmp://146.185.23.162:1935/live/" -a "live/" -W "http://www.streamiton.tv/player/player.swf" -p "http://www.yycast.com/" --live -y "115520" -o 115520.flv
RTMPDump v2.4 GIT-2012-02-24 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Medium Bandwidth (300 Kbps) - H.264
INFO: creationdate Sun Mar 18 14:32:09 2012
INFO: videodevice 713x BDA Analog Capture
INFO: framerate 25.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 200.00
INFO: avclevel 21.00
INFO: avcprofile 77.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice SoundMAX Digital Audio
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 78.00
INFO: audiocodecid .mp3
INFO: audiodatarate 48.00
54.340 kB / 2.96 sec
;)

Josan420
03-20-2012, 03:25 AM
thank you:)
can u tell me why i get this error and which software did u use to get correct url?

Bahman
03-20-2012, 05:05 AM
Get a Verbose from your script:
rtmpdump -V -r "rtmp://live.yycast.com:1935/lb/" -a "lb/" -f "WIN 10,3,181,26" -W "http://www.streamiton.tv/player/player.swf" -p "http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490" -y "115520" -o 115520.flv
RTMPDump v2.4 GIT-2012-02-24 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : live.yycast.com
DEBUG: Parsed app : lb
DEBUG: Protocol : RTMP
DEBUG: Hostname : live.yycast.com
DEBUG: Port : 1935
DEBUG: Playpath : 115520
DEBUG: tcUrl : rtmp://live.yycast.com:1935/lb/
DEBUG: swfUrl : http://www.streamiton.tv/player/player.swf
DEBUG: pageUrl : http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490
DEBUG: app : lb/
DEBUG: flashVer : WIN 10,3,181,26
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 03 e8 28 47 ad 82 5e b1 54 0e 8c 72 d7 93 47 0b
DEBUG: bb dc ed 99 30 d1 9c 13 1c e9 92 db db e6 e9 a6
DEBUG: SWFSize : 210113
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: 0a 8b 01 a7 73 ad ab 45 b6 0a e9 12 50 5f a8 33
DEBUG: 77 6e e7 26 bc 37 f6 55 f0 6a fc a3 bc f9 c9 75
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: 39 ac f7 e0 6e 8c 5d a3 db cd 74 3a fc 2d 9e a5
DEBUG: d1 82 dc a0 66 0d 38 10 d0 7b 46 a8 97 f9 6d c3
DEBUG: HandShake: Digest key:
DEBUG: 97 72 1f 31 b1 73 20 da 17 c7 85 5f 22 70 8d 9c
DEBUG: 8e d9 40 7e 0a c2 7f 85 28 3e 01 21 a8 58 db 71
DEBUG: HandShake: Signature calculated:
DEBUG: 39 ac f7 e0 6e 8c 5d a3 db cd 74 3a fc 2d 9e a5
DEBUG: d1 82 dc a0 66 0d 38 10 d0 7b 46 a8 97 f9 6d c3
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 239 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _error>
DEBUG: Property: <Name: no-name, NUMBER: 1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: Connection failed: Application rejected connection.>
DEBUG: Property: <Name: ex, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: redirect, STRING: rtmp://146.185.24.18:1935/live/_definst_>
DEBUG: Property: <Name: code, NUMBER: 302.00>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 1111796401.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: <Name: no-name, STRING: close>
DEBUG: Property: <Name: no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.

You got that error because the stream is redirecting!! So, use that redirected url!!

@KSV, This is a common issue that everyone face it!! Is possible you implement redirecting automatically in rtmpdump, please? Would be nice!!

Josan420
03-20-2012, 09:28 AM
ok thanks
last question, which software do use to find url? please tell me

Bahman
03-20-2012, 09:30 AM
As I said, didn't use anything!! Read my previous post again carefully!! You will get your answer!!

chap
03-20-2012, 09:50 AM
ok thanks
last question, which software do use to find url? please tell me

try use rtmpsusk
RTMP Proxy Server v2.4 GIT-2012-02-24 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : lb/
flashVer : WIN 11,1,102,62
swfUrl : http://www.streamiton.tv/player/player.swf
tcUrl : rtmp://live.yycast.com:1935/lb/
pageUrl : http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490
ERROR: WriteN, RTMP send error 10038 (16 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

WARNING: Trying different position for client digest!
Processing connect
app : live/_definst_
flashVer : WIN 11,1,102,62
swfUrl : http://www.streamiton.tv/player/player.swf
tcUrl : rtmp://146.185.24.18:1935/live/_definst_
pageUrl : http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490
live : no
Playpath : 115520
Saving as : 115520
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Medium Bandwidth (300 Kbps) - H.264
INFO: creationdate Tue Mar 20 20:32:20 2012
INFO: videodevice 713x BDA Analog Capture
INFO: framerate 25.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 200.00
INFO: avclevel 21.00
INFO: avcprofile 77.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice SoundMAX Digital Audio
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 78.00
INFO: audiocodecid .mp3
INFO: audiodatarate 48.00
WARNING: ignoring too small audio packet: size: 0

KSV
03-20-2012, 11:20 AM
@chap, Bahman

test following rtmpdump on as many sites as you know. i have added redirection handling. post with log if you have any problem.

http://www.mediafire.com/file/j8xj3hqnjmodqe2/rtmpdump.exe

Bahman
03-20-2012, 02:11 PM
I've tested it on 5 streams and works fine!! Thank you very much, KSV!! Greatly appreciated!!;)

BTW, The size of rtmpdump has been increased 5x!!:D The last version was 155KB, but this one is 627KB!!:)

Anyway, You rock!

KSV
03-20-2012, 02:24 PM
I've tested it on 5 streams and works fine!!

different sites or different streams from same site?


BTW, The size of rtmpdump has been increased 5x!!:D The last version was 155KB, but this one is 627KB!!:)

it's a debug version so it also contains debugging symbols.

Bahman
03-20-2012, 02:32 PM
Different sites!! It's a little bit silly to doing 2nd work!! :D

Thanks for the info!!

Josan420
03-22-2012, 03:39 AM
sorry but file is deleted from mediafire
please uplload it:mad:

Bahman
03-22-2012, 03:48 AM
here (http://stream-recorder.com/forum/showpost.php?p=42331&postcount=48)!!

Josan420
03-22-2012, 03:51 AM
thanks i will try it

anna danovská
03-31-2012, 04:33 PM
:rolleyes: [QUOTE=Josan420;42200]everytime i use rtmpexplorer to find url on this site "http://desihd.net/discovery-india.php" i get this error


RTMP Server 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://live.yycast.com:1935/lb/" -a "lb/" -f "WIN 10,3,181,26" -W "
http://www.streamiton.tv/player/player.swf" -p "http://www.yycast.com/embed.php?
fileid=115520&vw=600&vh=490" -y "115520" -o 115520.flv

Closing connection... done!

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

what is this? how can i solve ti?
please help me[/QU

MUSICFAN1
03-31-2012, 07:41 PM
@chap, Bahman

test following rtmpdump on as many sites as you know. i have added redirection handling. post with log if you have any problem.

http://www.mediafire.com/file/j8xj3hqnjmodqe2/rtmpdump.exe

it says on mediafire invalid link or deleted file ..
please would someone do a reup

svnpenn
03-31-2012, 10:23 PM
it says on mediafire invalid link or deleted file ..
please would someone do a reup

github.com/downloads/svnpenn/rtmpdump/rtmpdump-v2.4-36-g85453f7.7z

ivan0z0
02-06-2013, 09:15 AM
just found this post, can someone please re post the rtmpdump with redirection handling? greatly appreciated!