Petro O. Bochan
Member
Hello, I face a strange problem of connecting a third-party library to WCS. Below are connection log samples of iOS, OBS, and Android. The latter doesn't connect although there is no info on what the problem is. Wondering if here I'm able to find an answer.
OBS
02:50:53,322 INFO ServerHandler - RTMP-BOSS-pool-13-thread-1 opened channel: [id: 0x0bdfd8f0, /109.229.7.100:57299 => /10.0.0.6:1935] OPEN
02:50:53,373 INFO C - RTMP-pool-14-thread-16 handshake done, rtmpe: false
02:50:53,373 INFO C - RTMP-pool-14-thread-16 old client version, disabled 'aggregate' mode
02:50:53,417 INFO ServerHandler - RTMP-pool-14-thread-16 command - connect
02:50:53,417 INFO ServerHandler - RTMP-pool-14-thread-16 connect, client id: 199219440, application: [name: '' streams: {abc=[name: 'abc publisher: [id: 0x57fab1a4, /109.229.7.100:48170 => /10.0.0.6:1935] subscribers: {}]}]
02:50:53,418 INFO ServerHandler - RTMP-pool-14-thread-16 [0 COMMAND_AMF0 c3 #0 t0 (0) s153] name: connect, transactionId: 1, object: TransferObject{dataMap={app=, type=nonprivate, flashVer=FMLE/3.0 (compatible; FMSc/1.0), swfUrl=rtmp://affluxis.com, tcUrl=rtmp://affluxis.com}typeMap={app=class java.lang.String, tcUrl=class java.lang.String, swfUrl=class java.lang.String, flashVer=class java.lang.String, type=class java.lang.String}}, args: []
02:50:53,418 INFO RestClient - API-ASYNC-pool-12-thread-8 SEND REST OBJECT ==>
URL:http://localhost:8081/apps/EchoApp/connect
iOS
02:49:36,463 INFO ServerHandler - RTMP-BOSS-pool-13-thread-1 opened channel: [id: 0x57fab1a4, /109.229.7.100:48170 => /10.0.0.6:1935] OPEN
02:49:36,466 INFO J - RTMP-pool-14-thread-15 client part 1 validation success
02:49:36,468 INFO J - RTMP-pool-14-thread-15 initialized encryption / decryption ciphers
02:49:36,514 INFO C - RTMP-pool-14-thread-15 handshake done, rtmpe: false
02:49:36,557 INFO ServerHandler - RTMP-pool-14-thread-15 command - connect
02:49:36,557 INFO ServerHandler - RTMP-pool-14-thread-15 connect, client id: 1476047268, application: [name: '' streams: {}]
02:49:36,557 INFO ServerHandler - RTMP-pool-14-thread-15 [0 COMMAND_AMF0 c3 #0 t0 (0) s142] name: connect, transactionId: 1, object: TransferObject{dataMap={app=live, type=nonprivate, flashVer=FMLE/3.0 (compatible; Lavf57.71.100), tcUrl=rtmp://affluxis.com:1935/live}typeMap={app=class java.lang.String, tcUrl=class java.lang.String, flashVer=class java.lang.String, type=class java.lang.String}}, args: []
02:49:36,559 INFO RestClient - API-ASYNC-pool-12-thread-8 SEND REST OBJECT ==>
URL:http://localhost:8081/apps/EchoApp/connect
Android
02:38:21,660 INFO ServerHandler - RTMP-BOSS-pool-13-thread-1 opened channel: [id: 0x78dee5d6, /109.229.7.100:49903 => /10.0.0.6:1935] OPEN
02:38:21,746 INFO J - RTMP-pool-14-thread-13 client part 1 validation success
02:38:21,748 INFO J - RTMP-pool-14-thread-13 initialized encryption / decryption ciphers
02:38:21,794 ERROR ServerHandler - RTMP-pool-14-thread-13 RTMP error {}[id: 0x78dee5d6, /109.229.7.100:49903 => /10.0.0.6:1935]
java.lang.RuntimeException: client part 2 validation failed
at com.flashphoner.server.rtmp.rtmp.J.D(Unknown Source)
at com.flashphoner.server.rtmp.rtmp.server.C.decode(Unknown Source)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(Unknown Source)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(Unknown Source)
at com.flashphoner.server.rtmp.rtmp.server.C.handleUpstream(Unknown Source)
at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(Unknown Source)
at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioWorker.read(Unknown Source)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(Unknown Source)
at org.jboss.netty.channel.socket.nio.DeadlockAwareNioWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
02:38:21,795 ERROR ServerHandler - RTMP-pool-14-thread-13 channel closed: [id: 0x78dee5d6, /109.229.7.100:49903 :> /10.0.0.6:1935] CLOSED
02:38:21,795 ERROR ServerHandler - RTMP-pool-14-thread-13 RTMP error {}[id: 0x78dee5d6, /109.229.7.100:49903 :> /10.0.0.6:1935]
So, the question is, "client part 2 validation", that fails?
Thank you,
P
OBS
02:50:53,322 INFO ServerHandler - RTMP-BOSS-pool-13-thread-1 opened channel: [id: 0x0bdfd8f0, /109.229.7.100:57299 => /10.0.0.6:1935] OPEN
02:50:53,373 INFO C - RTMP-pool-14-thread-16 handshake done, rtmpe: false
02:50:53,373 INFO C - RTMP-pool-14-thread-16 old client version, disabled 'aggregate' mode
02:50:53,417 INFO ServerHandler - RTMP-pool-14-thread-16 command - connect
02:50:53,417 INFO ServerHandler - RTMP-pool-14-thread-16 connect, client id: 199219440, application: [name: '' streams: {abc=[name: 'abc publisher: [id: 0x57fab1a4, /109.229.7.100:48170 => /10.0.0.6:1935] subscribers: {}]}]
02:50:53,418 INFO ServerHandler - RTMP-pool-14-thread-16 [0 COMMAND_AMF0 c3 #0 t0 (0) s153] name: connect, transactionId: 1, object: TransferObject{dataMap={app=, type=nonprivate, flashVer=FMLE/3.0 (compatible; FMSc/1.0), swfUrl=rtmp://affluxis.com, tcUrl=rtmp://affluxis.com}typeMap={app=class java.lang.String, tcUrl=class java.lang.String, swfUrl=class java.lang.String, flashVer=class java.lang.String, type=class java.lang.String}}, args: []
02:50:53,418 INFO RestClient - API-ASYNC-pool-12-thread-8 SEND REST OBJECT ==>
URL:http://localhost:8081/apps/EchoApp/connect
iOS
02:49:36,463 INFO ServerHandler - RTMP-BOSS-pool-13-thread-1 opened channel: [id: 0x57fab1a4, /109.229.7.100:48170 => /10.0.0.6:1935] OPEN
02:49:36,466 INFO J - RTMP-pool-14-thread-15 client part 1 validation success
02:49:36,468 INFO J - RTMP-pool-14-thread-15 initialized encryption / decryption ciphers
02:49:36,514 INFO C - RTMP-pool-14-thread-15 handshake done, rtmpe: false
02:49:36,557 INFO ServerHandler - RTMP-pool-14-thread-15 command - connect
02:49:36,557 INFO ServerHandler - RTMP-pool-14-thread-15 connect, client id: 1476047268, application: [name: '' streams: {}]
02:49:36,557 INFO ServerHandler - RTMP-pool-14-thread-15 [0 COMMAND_AMF0 c3 #0 t0 (0) s142] name: connect, transactionId: 1, object: TransferObject{dataMap={app=live, type=nonprivate, flashVer=FMLE/3.0 (compatible; Lavf57.71.100), tcUrl=rtmp://affluxis.com:1935/live}typeMap={app=class java.lang.String, tcUrl=class java.lang.String, flashVer=class java.lang.String, type=class java.lang.String}}, args: []
02:49:36,559 INFO RestClient - API-ASYNC-pool-12-thread-8 SEND REST OBJECT ==>
URL:http://localhost:8081/apps/EchoApp/connect
Android
02:38:21,660 INFO ServerHandler - RTMP-BOSS-pool-13-thread-1 opened channel: [id: 0x78dee5d6, /109.229.7.100:49903 => /10.0.0.6:1935] OPEN
02:38:21,746 INFO J - RTMP-pool-14-thread-13 client part 1 validation success
02:38:21,748 INFO J - RTMP-pool-14-thread-13 initialized encryption / decryption ciphers
02:38:21,794 ERROR ServerHandler - RTMP-pool-14-thread-13 RTMP error {}[id: 0x78dee5d6, /109.229.7.100:49903 => /10.0.0.6:1935]
java.lang.RuntimeException: client part 2 validation failed
at com.flashphoner.server.rtmp.rtmp.J.D(Unknown Source)
at com.flashphoner.server.rtmp.rtmp.server.C.decode(Unknown Source)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(Unknown Source)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(Unknown Source)
at com.flashphoner.server.rtmp.rtmp.server.C.handleUpstream(Unknown Source)
at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(Unknown Source)
at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioWorker.read(Unknown Source)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(Unknown Source)
at org.jboss.netty.channel.socket.nio.DeadlockAwareNioWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
02:38:21,795 ERROR ServerHandler - RTMP-pool-14-thread-13 channel closed: [id: 0x78dee5d6, /109.229.7.100:49903 :> /10.0.0.6:1935] CLOSED
02:38:21,795 ERROR ServerHandler - RTMP-pool-14-thread-13 RTMP error {}[id: 0x78dee5d6, /109.229.7.100:49903 :> /10.0.0.6:1935]
So, the question is, "client part 2 validation", that fails?
Thank you,
P