-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example failing on newer firefox #241
Comments
Thank you for the report. I was indeed able to reproduce with From a first glance, it does not seems to be related to #166. I am going to investigate more on this, but it does not seem to be related to webtransport protocol |
@mikedilger have you tried by using proper certificates? That is, a webtransport server that uses a certificated signed by a CA trusted by the system root store |
No, I just tried running the example and wanted to report the situation. I'm not developing using wtransport yet. And when I do I intend to use rustls RFC 7250 RawPublicKey "certificates" (and maybe not browsers at all) |
I confirm that on Firefox version 133.0.3 it does not work indeed. I'm using certificates generated by mkcert, and that the CA store of Firefox recognizes the mkcert authority. In the Rust debug log I can see:
if that could help. |
And I confirm that firefox-esr 128 works correctly |
Firefox closes the connection but sometimes it returns a crypto error instead of application error
|
Amazing work on this project - It's been tremendously valuable to me. I've reproduced the issue on Firefox with a fresh copy of the repository using
Steps to reproduce
Results (with RUST_LOG=trace):
I'm willing to help investigate - any suggestions where to start? Test with older versions of Firefox to determine when it broke? Test with real TLS certificates instead of self-signed? |
Thank you for the support and the help. When reproducing, Firefox seemed to return I've tried both with self-signed certificate and We should understand what changed in new Firefox release for certificate validation (maybe a look at firefox source code changes might worth it) |
The last working firefox release was |
It looks like both chrome and firefox recently chose to require that "all certificates used for WebTransport over HTTP/3 are issued by a known certificate root". My application stopped working in both browsers when tested locally using self-signed certificates by mkcert.
wtransport's example provides a 'serverCertificateHashes` to the wtransport config, which apparently chromium considers acceptable and firefox does not - I think this is a quirk of the browser implementation. Perhaps it could even be considered a bug in Firefox if their intention was to disable HTTP/3 when third party certificate roots are used. Regardless, it is a browser change that makes wtransport a little more difficult to test locally, and requires browser configuration. Any thought on what we should do about it? Documentation at a minimum. I can prepare a pull request. |
The diff proposed to fix this Mozilla bug appears to re-enable |
"Connection failed. WebTransportError: WebTransport connection rejected"
Works in Firefox 132.0.2 (64-bit). Tested with a fresh clean profile.
Fails in Firefox Developer Edition 133.0b8 (64-bit). Tested with a fresh clean profile.
I see a related earlier issue that was resolved: #166
The text was updated successfully, but these errors were encountered: