<div dir="ltr">Hi everyone,<div>This is my first time posting to this list - so if theres a better place for this question please let me know.</div><div><br></div><div>The problem I'm trying to fix applies to the Janus webrtc gateway (<a href="https://github.com/meetecho/janus-gateway">https://github.com/meetecho/janus-gateway</a>) and my application which is using native C++ webrtc.</div><div><br></div><div>What happens is that after hundreds of successful connections, sometimes the Janus server is unable to negotiate a DTLS handshake and after a key exchange the webrtc client replied with a DTLS Alert: Decrypt failed message. I'm attaching a wireshark trace of the issue happening and one for the correct negotiation.  </div><div><br></div><div>The problem refuses to fix itself till Janus is restarted.</div><div><br></div><div>Both installations are using Openssl. Janus is compiled with version 1.0.1f</div><div><br></div><div>If someone can help explain how DTLS key exchange works and whats going wrong in the above trace it would be great! I'm completely at a loss as far as this is concerned!</div><div><br></div><div>Thanks all!</div></div>