Steps to reproduce
Seems Edge has a bug regarding ICE replies. Official RFCs require the USERNAME attribute MUST NOT be present. But Edge is sending USERNAME attribute in replies and does appear to reject our ICE responses from ORTC Lib that do not contain USERNAME attribute.
According to: https://tools.ietf.org/html/rfc5245#section-184.108.40.206
… A connectivity check
from R to L utilizes the username LFRAG:RFRAG and a password of
LPASS. The responses utilize the same usernames and passwords as the
requests (note that the USERNAME attribute is not present in the
If these checks pass, the agent continues to process the request or
indication. Any response generated by a server MUST include the
MESSAGE-INTEGRITY attribute, computed using the password utilized to
authenticate the request. The response MUST NOT contain the USERNAME
But edge does not appear to like our STUN response packets (as the ICE transport does not go into the “connected” state on the Edge side) and sends us USERNAME in ICE BIND responses. This seems to follow the MSDN articles on the topic where I noticed that MS has STUN BIND reply behavior defined wrongly.
The USERNAME attribute MUST have the same value as the USERNAME attribute in the corresponding STUN binding request message. The MESSAGE-INTEGRITY attribute MUST have the message integrity value that is computed by using the password of the local candidate in the matching candidate pair.
If a STUN binding response message is received without a USERNAME attribute, it MUST be discarded. The USERNAME attribute MUST be used to find the matching transport address pair for which the STUN binding response message is received.
NOTE: We understand that your implementation is partially conformant when considering Google’s ICE implementation, but Google support both methods in their WebRTC lib, Edge does not and is also not conformant with the STUN spec.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Frank L.”
Changed Status to “Confirmed”
Changed Assigned To from “Frank L.” to “Shijun S.”
Thank you so much for providing the feedback to us!
You are correct that the Edge implementation currently is not fully consistent with RFC 5245. Our media stack allows receiving replies either with or without the USERNAME attribute. However, it includes the USERNAME attribute when sending response,
Hope you can work around the issue at this point based on this information, while we figure out how to address this properly in future product releases. Please let us know if you have any further question in this area.
All the Best, MS Edge Team
- Microsoft Edge Team
Changed Assigned To from “Shijun S.” to “Brad E.”
Changed Status from “Confirmed” to “Won’t fix”
you for your feedback on Edge. This item is not actionable in its current
state. If you could provide us with some more information we would be
happy to look into this. Please provide:
Repro steps, including affected websites when you see resources going higher.
Fiddler / Network trace.
Output from a DXDiag report (for hardware details).
of these items would make the item more useful for us to triage and direct to
the appropriate teams for investigation.
MS Edge Team