RTMP failing with send error

Philip Colmer philip at colmer.me.uk
Thu Jun 6 09:41:16 EDT 2013


> I'm getting this same error this morning intermittently on everything I
try to
> download. If you leave it a few minutes and then try again, it'll
generally
> work. Perhaps a problem with the BBC's server?

Or have they made a change that is now blocking get_iplayer? If I add
--debug to the command line, I see this from RMTPDump:

DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=412, size=645
DEBUG2:   0000:  03 00 00 00 00 02 85 14  00 00 00 00
............
DEBUG2:   0000:  02 00 07 63 6f 6e 6e 65  63 74 00 3f f0 00 00 00
...connect.?....
DEBUG2:   0010:  00 00 00 03 00 03 61 70  70 02 00 89 69 70 6c 61
......app...ipla
DEBUG2:   0020:  79 65 72 74 6f 6b 3f 74  6f 6b 65 6e 3d 63 33 52
yertok?token=c3R
DEBUG2:   0030:  68 63 6e 52 66 64 47 6c  74 5a 54 30 79 4d 44 45
hcnRfdGltZT0yMDE
DEBUG2:   0040:  7a 4d 44 59 77 4e 6a 45  78 4d 7a 59 7a 4e 43 5a
zMDYwNjExMzYzNCZ
DEBUG2:   0050:  6c 62 6d 52 66 64 47 6c  74 5a 54 30 79 4d 44 45
lbmRfdGltZT0yMDE
DEBUG2:   0060:  7a 4d 44 59 77 4e 6a 45  31 4d 7a 59 7a 4e 43 5a
zMDYwNjE1MzYzNCZ
DEBUG2:   0070:  6b 61 57 64 6c 63 33 51  39 59 54 45 31 4f 44 52
kaWdlc3Q9YTE1ODR
DEBUG2:   0000:  c3                                                 .
DEBUG2:   0000:  68 4f 54 41 79 4e 54 55  77 4e 44 52 69 59 57 4d
hOTAyNTUwNDRiYWM
DEBUG2:   0010:  31 4e 6a 6b 33 4d 47 45  31 5a 54 45 32 4d 32 4e
1Njk3MGE1ZTE2M2N
DEBUG2:   0020:  69 4d 6a 41 3d 00 08 66  6c 61 73 68 56 65 72 02
iMjA=..flashVer.
DEBUG2:   0030:  00 0e 57 49 4e 20 31 30  2c 30 2c 33 32 2c 31 38   ..WIN
10,0,32,18
DEBUG2:   0040:  00 06 73 77 66 55 72 6c  02 00 50 68 74 74 70 3a
..swfUrl..Phttp:
DEBUG2:   0050:  2f 2f 77 77 77 2e 62 62  63 2e 63 6f 2e 75 6b 2f
//www.bbc.co.uk/
DEBUG2:   0060:  65 6d 70 2f 72 65 76 69  73 69 6f 6e 73 2f 31 38
emp/revisions/18
DEBUG2:   0070:  32 36 39 5f 32 31 35 37  36 5f 31 30 70 6c 61 79
269_21576_10play
DEBUG2:   0000:  c3                                                 .
DEBUG2:   0000:  65 72 2e 73 77 66 3f 72  65 76 69 73 69 6f 6e 3d
er.swf?revision=
DEBUG2:   0010:  31 38 32 36 39 5f 32 31  35 37 36 00 05 74 63 55
18269_21576..tcU
DEBUG2:   0020:  72 6c 02 00 ad 72 74 6d  70 3a 2f 2f 69 70 6c 61
rl...rtmp://ipla
DEBUG2:   0030:  79 65 72 74 6f 6b 66 73  2e 66 70 6c 69 76 65 2e
yertokfs.fplive.
DEBUG2:   0040:  6e 65 74 3a 31 39 33 35  2f 69 70 6c 61 79 65 72
net:1935/iplayer
DEBUG2:   0050:  74 6f 6b 3f 74 6f 6b 65  6e 3d 63 33 52 68 63 6e
tok?token=c3Rhcn
DEBUG2:   0060:  52 66 64 47 6c 74 5a 54  30 79 4d 44 45 7a 4d 44
RfdGltZT0yMDEzMD
DEBUG2:   0070:  59 77 4e 6a 45 78 4d 7a  59 7a 4e 43 5a 6c 62 6d
YwNjExMzYzNCZlbm
DEBUG2:   0000:  c3                                                 .
DEBUG2:   0000:  52 66 64 47 6c 74 5a 54  30 79 4d 44 45 7a 4d 44
RfdGltZT0yMDEzMD
DEBUG2:   0010:  59 77 4e 6a 45 31 4d 7a  59 7a 4e 43 5a 6b 61 57
YwNjE1MzYzNCZkaW
DEBUG2:   0020:  64 6c 63 33 51 39 59 54  45 31 4f 44 52 68 4f 54
dlc3Q9YTE1ODRhOT
DEBUG2:   0030:  41 79 4e 54 55 77 4e 44  52 69 59 57 4d 31 4e 6a
AyNTUwNDRiYWM1Nj
DEBUG2:   0040:  6b 33 4d 47 45 31 5a 54  45 32 4d 32 4e 69 4d 6a
k3MGE1ZTE2M2NiMj
DEBUG2:   0050:  41 3d 00 04 66 70 61 64  01 00 00 0c 63 61 70 61
A=..fpad....capa
DEBUG2:   0060:  62 69 6c 69 74 69 65 73  00 40 2e 00 00 00 00 00
bilities. at ......
DEBUG2:   0070:  00 00 0b 61 75 64 69 6f  43 6f 64 65 63 73 00 40
...audioCodecs.@
DEBUG2:   0000:  c3                                                 .
DEBUG2:   0000:  a8 ee 00 00 00 00 00 00  0b 76 69 64 65 6f 43 6f
.........videoCo
DEBUG2:   0010:  64 65 63 73 00 40 6f 80  00 00 00 00 00 00 0d 76
decs. at o........v
DEBUG2:   0020:  69 64 65 6f 46 75 6e 63  74 69 6f 6e 00 3f f0 00
ideoFunction.?..
DEBUG2:   0030:  00 00 00 00 00 00 07 70  61 67 65 55 72 6c 02 00
.......pageUrl..
DEBUG2:   0040:  41 68 74 74 70 3a 2f 2f  77 77 77 2e 62 62 63 2e
Ahttp://www.bbc.
DEBUG2:   0050:  63 6f 2e 75 6b 2f 69 70  6c 61 79 65 72 2f 65 70
co.uk/iplayer/ep
DEBUG2:   0060:  69 73 6f 64 65 2f 62 30  32 76 30 70 6d 73 2f 54
isode/b02v0pms/T
DEBUG2:   0070:  68 65 5f 46 61 6c 6c 5f  45 70 69 73 6f 64 65 5f
he_Fall_Episode_
DEBUG2:   0000:  c3                                                 .
DEBUG2:   0000:  34 2f 00 00 09                                     4/...
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=412
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00
............
DEBUG2:   0000:  00 26 25 a0                                        .&%.
DEBUG: HandleServerBW: server BW = 2500000
DEBUG2: RTMP_ReadPacket: fd=412
DEBUG2:   0000:  02 00 00 00 00 00 05 06  00 00 00 00
............
DEBUG2:   0000:  00 26 25 a0 02                                     .&%..
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG2: RTMP_ReadPacket: fd=412
DEBUG2:   0000:  02 00 00 00 00 00 03 04  00 00 00 00
............
DEBUG2:   0000:  00 1a 01                                           ...
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 0f 9c 9b 00 0f 9c 9b e5 e9 41 e6
DEBUG: 2a 3c 20 74 1d a0 e6 56 8d 72 eb 19 09 e3 f7 4f
DEBUG: 15 f6 e5 ea 7d 80 4a d6 75 dd 22 86
DEBUG2: RTMP_SendPacket: fd=412, size=44
DEBUG2:   0000:  42 00 00 00 00 00 2c 04                            B.....,.
DEBUG2:   0000:  00 1b 01 01 00 0f 9c 9b  00 0f 9c 9b e5 e9 41 e6
..............A.
DEBUG2:   0010:  2a 3c 20 74 1d a0 e6 56  8d 72 eb 19 09 e3 f7 4f   *<
t...V.r.....O
DEBUG2:   0020:  15 f6 e5 ea 7d 80 4a d6  75 dd 22 86
....}.J.u.".
DEBUG2: RTMP_ReadPacket: fd=412
DEBUG2:   0000:  02 00 00 00 00 00 04 01  00 00 00 00
............
DEBUG2:   0000:  00 00 40 00                                        .. at .
DEBUG: HandleChangeChunkSize, received: chunk size change to 16384
DEBUG2: RTMP_ReadPacket: fd=412
DEBUG2:   0000:  03 00 00 00 00 00 b5 14  00 00 00 00
............
DEBUG2:   0000:  02 00 06 5f 65 72 72 6f  72 00 3f f0 00 00 00 00
..._error.?.....
DEBUG2:   0010:  00 00 05 03 00 05 6c 65  76 65 6c 02 00 05 65 72
......level...er
DEBUG2:   0020:  72 6f 72 00 04 63 6f 64  65 02 00 1e 4e 65 74 43
ror..code...NetC
DEBUG2:   0030:  6f 6e 6e 65 63 74 69 6f  6e 2e 43 6f 6e 6e 65 63
onnection.Connec
DEBUG2:   0040:  74 2e 52 65 6a 65 63 74  65 64 00 0b 64 65 73 63
t.Rejected..desc
DEBUG2:   0050:  72 69 70 74 69 6f 6e 02  00 12 43 6f 6e 6e 65 63
ription...Connec
DEBUG2:   0060:  74 69 6f 6e 20 66 61 69  6c 65 64 2e 00 0b 64 65   tion
failed...de
DEBUG2:   0070:  73 63 72 69 70 74 69 6f  6e 02 00 36 5b 20 43 6c
scription..6[ Cl
DEBUG2:   0080:  69 65 6e 74 2e 53 57 46  56 65 72 69 66 69 63 69
ient.SWFVerifici
DEBUG2:   0090:  61 74 69 6f 6e 2e 52 65  6a 65 63 74 65 64 20 5d
ation.Rejected ]
DEBUG2:   00a0:  20 3a 20 73 74 61 74 75  73 20 63 6f 64 65 20 34    :
status code 4
DEBUG2:   00b0:  33 33 00 00 09                                     33...
DEBUG: RTMP_ClientPacket, received: invoke 181 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.>
DEBUG: Property: <Name:        description, STRING:     [
Client.SWFVerificiation.Rejected ] : status code 433>
DEBUG: (object end)
DEBUG: (object end)

Unless I'm misunderstanding things, this looks like SWF verification is
failing. I thought that RTMPDump supported this now, so it is a bit odd to
be getting that error, unless that isn't the *real* cause?

Philip




More information about the get_iplayer mailing list