mondain

red5-decoder-issue

Feb 3rd, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.73 KB | None | 0 0
  1. 2016-02-03 08:44:02,479 [NioProcessor-2] TRACE org.red5.io.amf.Input - Input: 02000b636c6f736553747265616d00000000000000000005
  2. 2016-02-03 08:44:02,479 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 2
  3. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Std string type
  4. 2016-02-03 08:44:02,481 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Length: 11 limit: 24
  5. 2016-02-03 08:44:02,481 [NioProcessor-2] DEBUG org.red5.io.amf.Input - String: closeStream
  6. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 0
  7. 2016-02-03 08:44:02,481 [NioProcessor-2] DEBUG org.red5.io.amf.Input - readNumber from 9 bytes
  8. 2016-02-03 08:44:02,481 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Number: 0.0
  9. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Input: 05
  10. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 5
  11. 2016-02-03 08:44:02,481 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Num params: 0
  12. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Input: 02000c63726561746553747265616d00401000000000000005
  13. 2016-02-03 08:44:02,481 [RTMPConnectionExecutor-1] DEBUG o.red5.server.net.rtmp.RTMPHandler - onCommand Invoke #0: Service: null Method: closeStream Num Params: 0
  14. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 2
  15. 2016-02-03 08:44:02,481 [RTMPConnectionExecutor-1] DEBUG o.red5.server.net.rtmp.RTMPHandler - Stream action: closeStream
  16. 2016-02-03 08:44:02,481 [NioProcessor-2] TRACE org.red5.io.amf.Input - Std string type
  17. 2016-02-03 08:44:02,482 [RTMPConnectionExecutor-1] DEBUG o.red5.server.net.rtmp.RTMPHandler - Invoking Service: null Method: closeStream Num Params: 0 from S6YJXUSULYFIF with service: org.red5.server.stream.StreamService@3435e0b5
  18. 2016-02-03 08:44:02,482 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Length: 12 limit: 25
  19. 2016-02-03 08:44:02,482 [NioProcessor-2] DEBUG org.red5.io.amf.Input - String: createStream
  20. 2016-02-03 08:44:02,483 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 0
  21. 2016-02-03 08:44:02,483 [NioProcessor-2] DEBUG org.red5.io.amf.Input - readNumber from 9 bytes
  22. 2016-02-03 08:44:02,483 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Number: 4.0
  23. 2016-02-03 08:44:02,483 [NioProcessor-2] TRACE org.red5.io.amf.Input - Input: 05
  24. 2016-02-03 08:44:02,483 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 5
  25. 2016-02-03 08:44:02,483 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Num params: 0
  26. 2016-02-03 08:44:02,483 [NioProcessor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolDecoder - Chunk too small, buffering (9,34)
  27. 2016-02-03 08:44:02,483 [NioProcessor-2] DEBUG o.red5.server.net.rtmp.RTMPHandler - Client sent a buffer size: 5000 ms for stream id: 0
  28. 2016-02-03 08:44:02,483 [NioProcessor-2] DEBUG o.red5.server.net.rtmp.RTMPHandler - Remembering client buffer on stream: 5000
  29. 2016-02-03 08:44:02,488 [RTMPConnectionExecutor-1] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Service: null Method: onStatus Num Params: 1 0: Status: code: NetStream.Play.Stop desc: Stream closed by server level: status
  30. 2016-02-03 08:44:02,488 [NioProcessor-2] TRACE org.red5.io.amf.Input - Input: 1d02000c63726561746553747265616d0040100000000000
  31. 2016-02-03 08:44:02,488 [RTMPConnectionExecutor-2] DEBUG o.red5.server.net.rtmp.RTMPHandler - onCommand Invoke #4: Service: null Method: createStream Num Params: 0
  32. 2016-02-03 08:44:02,488 [RTMPConnectionExecutor-1] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Call: Service: null Method: onStatus Num Params: 1 0: Status: code: NetStream.Play.Stop desc: Stream closed by server level: status pending: true
  33. 2016-02-03 08:44:02,491 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 29
  34. 2016-02-03 08:44:02,491 [RTMPConnectionExecutor-2] DEBUG o.red5.server.net.rtmp.RTMPHandler - Stream action: createStream
  35. 2016-02-03 08:44:02,491 [RTMPConnectionExecutor-1] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - This is a pending call, send request
  36. 2016-02-03 08:44:02,491 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 2
  37. 2016-02-03 08:44:02,491 [RTMPConnectionExecutor-2] DEBUG o.red5.server.net.rtmp.RTMPHandler - Invoking Service: null Method: createStream Num Params: 0 from S6YJXUSULYFIF with service: org.red5.server.stream.StreamService@3435e0b5
  38. 2016-02-03 08:44:02,491 [RTMPConnectionExecutor-1] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Writing params
  39. 2016-02-03 08:44:02,491 [NioProcessor-2] TRACE org.red5.io.amf.Input - Std string type
  40. 2016-02-03 08:44:02,491 [RTMPConnectionExecutor-1] TRACE org.red5.io.amf.Output - Bean map keys: [clientid, code, level, description, details, class]
  41. 2016-02-03 08:44:02,492 [RTMPConnectionExecutor-2] DEBUG o.red5.server.net.rtmp.RTMPHandler - Stream service invoke createStream success
  42. 2016-02-03 08:44:02,493 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Length: 12 limit: 24
  43. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-1] DEBUG o.red5.server.net.rtmp.RTMPHandler - Stream service invoke closeStream success
  44. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Service: null Method: createStream Num Params: 0
  45. 2016-02-03 08:44:02,494 [NioProcessor-2] DEBUG org.red5.io.amf.Input - String: createStream
  46. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-1] DEBUG o.red5.server.net.rtmp.RTMPHandler - Method does not have return value, do not reply
  47. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Call: Service: null Method: createStream Num Params: 0 pending: false
  48. 2016-02-03 08:44:02,494 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 0
  49. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-1] DEBUG o.r.s.net.rtmp.ReceivedMessageTask - Processing message for S6YJXUSULYFIF is processed: true packet #5
  50. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Call has been executed, send result
  51. 2016-02-03 08:44:02,494 [NioProcessor-2] DEBUG org.red5.io.amf.Input - readNumber from 7 bytes
  52. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-1] DEBUG o.r.server.net.rtmp.RTMPConnection - ReceivedMessageTask success
  53. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-2] DEBUG o.r.s.n.r.codec.RTMPProtocolEncoder - Writing result: 2.0
  54. 2016-02-03 08:44:02,494 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Remaining not big enough for number - offset: 17 limit: 24 1d02000c63726561746553747265616d00401000000000000000000000000000
  55. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-1] DEBUG o.r.server.net.rtmp.RTMPConnection - onSuccess - session: S6YJXUSULYFIF, msgType: TYPE_INVOKE, processingTime: 13, packetNum: 5
  56. 2016-02-03 08:44:02,494 [RTMPConnectionExecutor-2] DEBUG o.r.s.net.rtmp.ReceivedMessageTask - Processing message for S6YJXUSULYFIF is processed: true packet #6
  57. 2016-02-03 08:44:02,494 [NioProcessor-2] TRACE org.red5.io.amf.Input - Input: 40100000000000
  58. 2016-02-03 08:44:02,495 [RTMPConnectionExecutor-2] DEBUG o.r.server.net.rtmp.RTMPConnection - ReceivedMessageTask success
  59. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 64
  60. 2016-02-03 08:44:02,495 [RTMPConnectionExecutor-2] DEBUG o.r.server.net.rtmp.RTMPConnection - onSuccess - session: S6YJXUSULYFIF, msgType: TYPE_INVOKE, processingTime: 7, packetNum: 6
  61. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 16
  62. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - getString - currentDataType: 16
  63. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - Std string type
  64. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Length: 0 limit: 24
  65. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - String:
  66. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - readObject:
  67. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - read class object
  68. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Loading class:
  69. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Forced to use simple object for class
  70. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - readSimpleObject
  71. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - getString - currentDataType: 16
  72. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - Std string type
  73. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Length: 0 limit: 24
  74. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - String:
  75. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - property:
  76. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - Data type: 0
  77. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - readNumber from 0 bytes
  78. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - Remaining not big enough for number - offset: 24 limit: 24 1d02000c63726561746553747265616d00401000000000000000000000000000
  79. 2016-02-03 08:44:02,495 [NioProcessor-2] DEBUG org.red5.io.amf.Input - val: 0
  80. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - getString - currentDataType: 0
  81. 2016-02-03 08:44:02,495 [NioProcessor-2] TRACE org.red5.io.amf.Input - Std string type
  82. 2016-02-03 08:44:02,499 [NioProcessor-2] WARN o.r.s.n.r.codec.RTMPProtocolDecoder - Closing connection because decoding failed: RTMPMinaConnection 127.0.0.1:33530 to localhost client: 0 session: S6YJXUSULYFIF state: connected
  83. org.red5.server.net.protocol.ProtocolException: Error during decoding
  84. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:198) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  85. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:116) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  86. at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:71) [red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  87. at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:230) [mina-core-2.0.12.jar:na]
  88. at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542) [mina-core-2.0.12.jar:na]
  89. at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48) [mina-core-2.0.12.jar:na]
  90. at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943) [mina-core-2.0.12.jar:na]
  91. at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:175) [red5-server.jar:na]
  92. at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542) [mina-core-2.0.12.jar:na]
  93. at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48) [mina-core-2.0.12.jar:na]
  94. at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943) [mina-core-2.0.12.jar:na]
  95. at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109) [mina-core-2.0.12.jar:na]
  96. at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542) [mina-core-2.0.12.jar:na]
  97. at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:535) [mina-core-2.0.12.jar:na]
  98. at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697) [mina-core-2.0.12.jar:na]
  99. at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651) [mina-core-2.0.12.jar:na]
  100. at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640) [mina-core-2.0.12.jar:na]
  101. at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.12.jar:na]
  102. at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1097) [mina-core-2.0.12.jar:na]
  103. at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.12.jar:na]
  104. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_72]
  105. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72]
  106. at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
  107. Caused by: java.nio.BufferUnderflowException: null
  108. at java.nio.Buffer.nextGetIndex(Buffer.java:506) ~[na:1.8.0_72]
  109. at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310) ~[na:1.8.0_72]
  110. at org.apache.mina.core.buffer.AbstractIoBuffer.getShort(AbstractIoBuffer.java:768) ~[mina-core-2.0.12.jar:na]
  111. at org.apache.mina.core.buffer.AbstractIoBuffer.getUnsignedShort(AbstractIoBuffer.java:1361) ~[mina-core-2.0.12.jar:na]
  112. at org.red5.io.amf.Input.readString(Input.java:223) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  113. at org.red5.io.amf.Input.getString(Input.java:199) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  114. at org.red5.io.amf.Input.readPropertyName(Input.java:572) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  115. at org.red5.io.amf.Input.readKeyValues(Input.java:349) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  116. at org.red5.io.amf.Input.readSimpleObject(Input.java:505) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  117. at org.red5.io.amf.Input.readObject(Input.java:536) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  118. at org.red5.io.object.Deserializer.deserialize(Deserializer.java:97) ~[red5-io-1.0.7-SNAPSHOT.jar:na]
  119. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.handleParameters(RTMPProtocolDecoder.java:1092) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  120. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeInvoke(RTMPProtocolDecoder.java:808) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  121. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeMessage(RTMPProtocolDecoder.java:477) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  122. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:322) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  123. at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:184) ~[red5-server-common-1.0.7-SNAPSHOT.jar:1.0.7-SNAPSHOT]
  124. ... 22 common frames omitted
  125. 2016-02-03 08:44:02,500 [NioProcessor-2] DEBUG o.r.server.net.rtmp.RTMPConnection - close: S6YJXUSULYFIF
  126. 2016-02-03 08:44:02,500 [NioProcessor-2] DEBUG o.r.server.net.rtmp.RTMPConnection - Keep alive was cancelled for S6YJXUSULYFIF
  127. 2016-02-03 08:44:02,500 [NioProcessor-2] DEBUG o.r.server.net.rtmp.RTMPConnection - State: connected
  128. 2016-02-03 08:44:02,501 [NioProcessor-2] DEBUG o.r.s.net.rtmp.RTMPMinaConnection - IO Session closing: false
  129. 2016-02-03 08:44:02,501 [NioProcessor-2] DEBUG o.r.s.net.rtmp.RTMPMinaConnection - Connection close future: org.apache.mina.core.future.DefaultCloseFuture@19bed40f
  130. 2016-02-03 08:44:02,502 [NioProcessor-2] DEBUG o.r.s.net.rtmp.RTMPMinaConnection - Connection state: RTMP [state=disconnecting, encrypted=false, readChunkSize=128, writeChunkSize=1024, encoding=AMF0]
  131. 2016-02-03 08:44:02,502 [NioProcessor-2] DEBUG o.r.server.net.rtmp.BaseRTMPHandler - connectionClosed: S6YJXUSULYFIF
  132. 2016-02-03 08:44:02,502 [NioProcessor-2] DEBUG o.r.server.net.rtmp.RTMPConnManager - Connection not found for S6YJXUSULYFIF
  133. 2016-02-03 08:44:02,502 [NioProcessor-2] WARN o.r.s.net.rtmp.RTMPMinaIoHandler - Destination connection was null, it is already disposed. Session id: S6YJXUSULYFIF
  134. 2016-02-03 08:44:02,503 [NioProcessor-2] DEBUG o.r.s.net.rtmp.RTMPMinaIoHandler - Filter chain: { (rtmpeFilter:RTMPEIoFilter), (protocolFilter:ProtocolCodecFilter) }
  135. 2016-02-03 08:44:02,504 [NioProcessor-2] WARN o.r.s.net.rtmp.RTMPMinaIoHandler - Exception caught on session: 1 id: S6YJXUSULYFIF
  136. org.apache.mina.core.write.WriteToClosedSessionException: null
  137. at org.apache.mina.core.polling.AbstractPollingIoProcessor.clearWriteRequestQueue(AbstractPollingIoProcessor.java:625) [mina-core-2.0.12.jar:na]
  138. at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:568) [mina-core-2.0.12.jar:na]
  139. at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:536) [mina-core-2.0.12.jar:na]
  140. at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:68) [mina-core-2.0.12.jar:na]
  141. at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1105) [mina-core-2.0.12.jar:na]
  142. at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.12.jar:na]
  143. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_72]
  144. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72]
  145. at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
Advertisement
Add Comment
Please, Sign In to add comment