Open xou816 opened 7 months ago
I've bypassed Flight 2 locally for a quick test, I still encounter the IllegalParameter alert, so the issue might be something else. I'll leave the issue open in case the behavior described above is incorrect despite that.
I am writing a WebRTC peer using this crate, making an offer and acting as a server during the TLS handshake. This peer is meant to talk with an instance of Kurento Media Server.
The handshake fails with the following error:
Upon further inspection, it looks like the server (using webrtc-rs, ip 172.18.0.4) sends two
Hello Verify Request
s, and also sends Flight 4 right after the secondHello Verify Request
:The other peer (172.18.0.3) responds correctly to the first
Hello Verify Request
.It seems that we end up in an inconsistent state, where Flight 2 is erroneously sent a second time before waiting for a response from the client, but Flight 4 is sent as well once the
Client Hello
is acknowledged. Some relevant logs:I am not sure what is specific about my setup, I am working from the examples in the repo to assert if this crate fits my needs. I could try to provide a minimal setup but it involves a Kurento deployment and a custom signaling server.
I've tried using
engine.set_answering_dtls_role(DTLSRole::Client)
as a workaround, to no avail.