Chrome 124 - Webrtc- DTLS handshake failure

I followed the WebRTC example provided in the milestone’s GitHub repository. Everything was working just fine until we upgraded Chrome to the latest version (124).

While listening for packets using Wireshark (see attached) that are sent between the client and the server, we noticed that one packet informs us of a handshake error when trying to initialize the connection.

After that, the RTCPeerConnection entered a failed state triggered by the onconnectionstatechange listener.

Notes:

  • The application functions correctly on all previous versions of Chromium and all versions of Firefox.
  • I attempted to resolve the issue by disabling the TLS 1.3 hybridized Kyber support flag in the Chrome settings, but it did not resolve the problem.
  • Some sources suggest that supporting ClientCertificateType.ecdsa_sign may be necessary for establishing the WebRTC connection.

This is a known issue, discovered recently and caused by the Chrome upgrade. Milestone Development have a fix developed that works internally but needs to develop this into a hotfix for the current version and run some testing.

I will post an update here the moment there is a hotfix.

A fix is now available - https://developer.milestonesys.com/s/article/WebRTC-fails-in-Chrome-v-124-troubleshooting-hotfix