Sora Unity SDK ERROR i.a.e.w.WebSocketEnterpriseHandler - Received message does not contain any command for session id:

86 views
Skip to first unread message

vrunch vrunch

unread,
Nov 4, 2021, 8:45:03 PM11/4/21
to Ant Media Server
Hi,
How are you

I try to use Sora sdk with ant media for webrtc steam,
I have deployed the ant media server on the aws, and test it with https://domain:5443/WebRTCAppEE/ on browser, it works well

But i download the lastest version shiguredo sdk sample and followed the ant-media-unity-guide, added wss://domain:5443/WebRTCAppEE/websocket and channel id in unity
But In the Ant Media Server Dashboard - LOGS, Got the error code  ERROR i.a.e.w.WebSocketEnterpriseHandler - Received message does not contain any command for session id: 10,

2021-11-04 06:22:19,161 [https-jsse-nio2-0.0.0.0-5443-exec-7] INFO  i.a.e.s.WebSocketLocalHandler - Web Socket opened
2021-11-04 06:22:19,166 [https-jsse-nio2-0.0.0.0-5443-exec-4] ERROR i.a.e.w.WebSocketEnterpriseHandler - Received message does not contain any command for session id: 10, message:{"type":"connect","role":"sendonly","multistream":true,"spotlight":false,"simulcast":false,"channel_id":"aa","sora_client":"Sora Unity SDK 2021.3.1 (cc34e87b)","libwebrtc":"Shiguredo-build M92.4515@{#9} (92.4515.9.3 2d3ba085)","environment":"Unity 2020.1.17f1 for Windows","video":{"codec_type":"H264"},"audio":{"codec_type":"OPUS"}}
2021-11-04 06:22:50,512 [https-jsse-nio2-0.0.0.0-5443-exec-9] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: java.io.IOException: java.io.IOException: Connection reset by peer
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:327)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:262)
at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:816)
at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:704)
at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:666)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:184)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:59)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1615)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Connection reset by peer
at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:245)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:395)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)
... 1 more  
image (1).png
would you please tell me that What i am missing? 
how to fixed this issue?
Thank you!
Best regards,
Lei

Yash Tandon

unread,
Nov 5, 2021, 3:34:05 PM11/5/21
to Ant Media Server
Hi Lei,
Hope you are doing well.
As you mentioned over ticket side, your issue has been resolved. So can you please mention here also what was the issue and how did it resolved at your side?

Regards,
Yash
Reply all
Reply to author
Forward
0 new messages