We have hosted intel 4.3.1 server in AWS Ec2 instances. The webrtc server is working fine. But sometimes all webrtc connections in the server disconnects automatically. We got the subscription error and publication error during that time. All webrtc connections reconnects immediately after the disconnection with our own re-connection scenario.
Our application structure will look like this : Around 356 plus concurrent peer connections during that time. 60 plus streams to be combined in to one stream and the combined stream to be subscribed by 60 plus users.
We are using two AWS server for hosting the intel 4.3.1 server. An 8 core CPU and 16 GB RAM with Ubuntu 18.04 server is used for video and audio agent. All other agents (Management API, Portal, Conference agent, and Webrtc agent) are running in another Ubuntu 18.04 server with 4 core 8 GB RAM.
The maximum resource usage of these servers are fine during the issue occurred time.
What can be the reasons for this disconnections?
Thank you for your valuable support Jijo-Jayaprakash and sorry for the late reply. We had already configured a Turn server and integrated with our current media server cluster. We don't believe this issue is related to turn server, because our clients machines are not behind in NAT and Firewalls.
We strongly believe that the webrtc child nodes are ended unexpectedly. Please check out the webrtc and conference agent logs.
Conference agent logs.