Errors thrown in the log file

Michael

Member
Hello,

We are seeing many of these errors in our logs:

ERROR 1:
FlashphonerWebCallServer-5.2.621

18:41:58,623 ERROR DtlsError - Stun-Clbk-thread tcp/ User-agent: null; alert level: 2; alert description: 70; message: null

ERROR 2:
FlashphonerWebCallServer-5.2.621

18:01:09,336 ERROR MediaHandler - API-ASYNC-pool-12-thread-663 Failed to handle record rtmp stream
java.lang.IllegalArgumentException: Bad identifier 40817dbfd2aeef309eaf2526436491d4fcb98cce
at com.flashphoner.server.client.handler.wcs4.MixerAutoCreateIdentifier.<init>(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.media.MediaHandlerUtils.addToMixer(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.media.MediaHandler.publishStream(Unknown Source)
at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.flashphoner.server.client.handler.HandlerUtils.lambda$processThroughREST$0(Unknown Source)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456)
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)

ERROR 3:
FlashphonerWebCallServer-5.2.479 and FlashphonerWebCallServer-5.2.621

18:00:09,462 ERROR HLSServerHandler - HLS-HTTPS-pool-29-thread-3482 HTTP error
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:377)
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)

ERROR 4:
FlashphonerWebCallServer-5.2.479 and FlashphonerWebCallServer-5.2.621

18:00:11,071 INFO MediaSession - DISCONNECT-CLIENT-pool-5-thread-3255 Stop MediaSession id: 3e7c6730-9ae5-11ea-8ce6-5ff5a2db0512
18:00:11,071 INFO Agent - DISCONNECT-CLIENT-pool-5-thread-3255 ICE state changed from Completed to Terminated. Local ufrag 3e7c6730/9ae5/11ea/8ce6/5ff5a2db051261ig21e8q1jflp
18:00:11,072 INFO ergingDatagramSocket - DISCONNECT-CLIENT-pool-5-thread-3255 Closing.
18:00:11,072 INFO StunTcpSocket - DISCONNECT-CLIENT-pool-5-thread-3255 Close socket
18:00:11,072 ERROR TcpServer - ICE-TCP-pool-155917-thread-1 Got exception
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(Unknown Source)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(Unknown Source)
at com.flashphoner.ice.A.F.handleDownstream(Unknown Source)
at com.flashphoner.ice.A.H.handleDownstream(Unknown Source)
at org.jboss.netty.channel.Channels.close(Unknown Source)
at org.jboss.netty.channel.AbstractChannel.close(Unknown Source)
at org.jboss.netty.channel.group.DefaultChannelGroup.close(Unknown Source)
at com.flashphoner.ice.C.C.H(Unknown Source)
at com.flashphoner.ice.C.D.close(Unknown Source)
at com.flashphoner.ice.Component.free(Unknown Source)
at org.ice4j.ice.IceMediaStream.free(Unknown Source)
at org.ice4j.ice.Agent.removeStream(Unknown Source)
at org.ice4j.ice.Agent.free(Unknown Source)
at com.flashphoner.ice.IceAgent.free(Unknown Source)
at com.flashphoner.media.B.G.stop(Unknown Source)
at com.flashphoner.server.client.MediaWCSClient.internalTerminateSubscribeSession(Unknown Source)
at com.flashphoner.server.client.MediaWCSClient.close(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.WCS4Handler.disconnectSync(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.WCS4Handler.lambda$disconnectAsync$0(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
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)

ERROR 5:
FlashphonerWebCallServer-5.2.479

19:05:15,924 ERROR HLSServerHandler - HLS-HTTPS-pool-29-thread-715 HTTP error
java.lang.NullPointerException

What are they about? Are they something we should be worried with or are able to fix?

Thank you,
 

Max

Administrator
Staff member
Good day.
18:41:58,623 ERROR DtlsError - Stun-Clbk-thread tcp/ User-agent: null; alert level: 2; alert description: 70; message: null
18:00:09,462 ERROR HLSServerHandler - HLS-HTTPS-pool-29-thread-3482 HTTP error
java.io.IOException: Connection reset by peer
19:05:15,924 ERROR HLSServerHandler - HLS-HTTPS-pool-29-thread-715 HTTP error
java.lang.NullPointerException
Those 3 errors probably means someone scans your server ports
18:00:11,071 INFO MediaSession - DISCONNECT-CLIENT-pool-5-thread-3255 Stop MediaSession id: 3e7c6730-9ae5-11ea-8ce6-5ff5a2db0512
18:00:11,071 INFO Agent - DISCONNECT-CLIENT-pool-5-thread-3255 ICE state changed from Completed to Terminated. Local ufrag 3e7c6730/9ae5/11ea/8ce6/5ff5a2db051261ig21e8q1jflp
18:00:11,072 INFO ergingDatagramSocket - DISCONNECT-CLIENT-pool-5-thread-3255 Closing.
18:00:11,072 INFO StunTcpSocket - DISCONNECT-CLIENT-pool-5-thread-3255 Close socket
18:00:11,072 ERROR TcpServer - ICE-TCP-pool-155917-thread-1 Got exception
java.nio.channels.ClosedChannelException
This means client closed TCP connection on its side
18:01:09,336 ERROR MediaHandler - API-ASYNC-pool-12-thread-663 Failed to handle record rtmp stream
java.lang.IllegalArgumentException: Bad identifier 40817dbfd2aeef309eaf2526436491d4fcb98cce
This exception is fixed in build 5.2.624, anyway this does not affect the streaming quality. Please update and check.
So you should not worry about all of those messages. However, we recommend for futher investigations to provide more information. If somethig goes wrong or looks like, please collect a report as described here and send to support@flashphoner.com with relative forum topic link, we will check.
 

vasyap

New Member
Hi!

Is it possible to disable mixer in runtime to avoid updating/restarting FlashPhoner while it is in use? We currently do not need this feature at all.

In our case, this error prevents publisher from publishing streams.
 

Max

Administrator
Staff member
To suppress exception in runtime you can add setting in WCS_HOME/conf/flashphoner.properties
Code:
mixer_auto_start=false
Then reload settings
Code:
ssh -p 2001 admin@localhost
>reload node-settings
 
Top