Jump to content
  • 0

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


vrunch vrunch
 Share

Question

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  

would you please tell me that What i am missing? 
how to fixed this issue?
Thank you!
Best regards,
Lei

 

 

617510041_image(1).thumb.png.84f71617c9025c9e6bdb32fc86899b8d.png

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

 Share


×
×
  • Create New...