-
Notifications
You must be signed in to change notification settings - Fork 0
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
add Mozilla Firefox support #7
Comments
Error in firefox: h3::Error { code: H3_STREAM_CREATION_ERROR, reason: "Stream closed before type received" } seems like if i comment either of these lines (Client side), it avoid the error: (but streams don't work) writer.release_lock();
JsFuture::from(stream.close()).await.unwrap(); OR I can comment out BOTH of these lines in the server, and avoid the error: session.accept_uni() => ...
session.accept_bi() => ... so basically streams has some issues. |
@ten3roberts ^^ what do you think? any clues? |
I feel that we need an echo test for your sec-http3 webtransport implementation. I tested my client code in mozilla with a public webtransport echo test and it works great: |
@cybersoulK can you test my echo client against your backend? |
I've seen this one before. It is a bug in h3 related to buffering. When the The issue is that it will first poll the stream, and in doing so return that the stream is closed, before checking if there is buffered data available. It can be reproduced by sending an empty message (i.e just a a frame header) on the chrome echo client as well. |
To add some valuable information from my testing on Firefox: Datagrams work fine. Uni streams Server->Client works perfect. The issue: my logs: 1st stream: Success: JsFuture::from(uni_stream)
2nd stream: Error: JsFuture::from(uni_stream) failed: JsValue(InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable error: Uncaught (in promise) TypeError: getObject(...) is undefined
https://localhost/client.js so there is something external affecting it. (client -> server bidirectional streams works fine, so that's weird) |
when i connect the echo client on Firefox to my backend: 16:34:36.191: Connection lost (JsValue(Object({"closeCode":0,"reason":""}))) |
No description provided.
The text was updated successfully, but these errors were encountered: