ICE Restarting

We have a strange issue with one installation where after 10 -15 minutes of production we get the follwing message and the every ones get disconnected
2021-11-08T14:11:43: 2021-11-08T14:11:43.297Z mediasoup:Channel request() [method:transport.produce, id:110]
2021-11-08T14:11:43: 2021-11-08T14:11:43.297Z mediasoup:Channel [pid:1060] RTC::IceServer::HandleTuple() | transition from state ‘new’ to ‘connected’
2021-11-08T14:11:43: 2021-11-08T14:11:43.297Z mediasoup:Channel [pid:1060] RTC::WebRtcTransport::OnIceServerSelectedTuple() | ICE selected tuple
2021-11-08T14:11:43: 2021-11-08T14:11:43.297Z mediasoup:Channel [pid:1060] RTC::WebRtcTransport::OnIceServerConnected() | ICE connected
2021-11-08T14:11:43: 2021-11-08T14:11:43.297Z mediasoup:Channel [pid:1060] RTC::WebRtcTransport::MayRunDtlsTransport() | running DTLS transport in local role ‘client’
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::WebRtcTransport::OnDtlsTransportConnecting() | DTLS connecting
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::DtlsTransport::Run() | running [role:client]
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::DtlsTransport::OnSslInfo() | DTLS handshake start
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::DtlsTransport::OnSslInfo() | [role:client, action:‘before SSL initialization’]
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::DtlsTransport::OnSslInfo() | [role:client, action:‘SSLv3/TLS write client hello’]
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::DtlsTransport::OnSslInfo() | role: client, waiting:‘SSLv3/TLS write client hello’]
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel request succeeded [method:transport.produce, id:110]
2021-11-08T14:11:43: 2021-11-08T14:11:43.298Z mediasoup:Channel [pid:1060] RTC::Transport::HandleRequest() | enabling TransportCongestionControlServer with transport-cc
We are running mediasoup 3.8.4
Any direction on this would be much appreciated

I’d check your code first and foremost, soup isn’t likely to fail all at once like that and it’d suggest runtime errors or other issues not necessarily logged because it may be your code somewhere doing it!

Were you able to get it sorted? If so what was your issue? :slight_smile:

yes I was it was a socket.4.2 issue. basically the socket was closing. Looks like there is a change is socket 4.20 vs socket 2.3 which we were using , in 4.20 the server sends the ping messages and they were timming out therefore dropping the connection and restarting ICE.
Thank you for you help