Skip to content
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

[webtransport] opening a bidirectional stream triggers exception #818

Open
phsultan opened this issue Dec 29, 2023 · 0 comments · May be fixed by #819
Open

[webtransport] opening a bidirectional stream triggers exception #818

phsultan opened this issue Dec 29, 2023 · 0 comments · May be fixed by #819

Comments

@phsultan
Copy link

From the test page https://googlechrome.github.io/samples/webtransport/client.html, when opening a bidirectional webtransport stream, an exception is triggered that prevents from receiving data from the server.

To reproduce, from https://googlechrome.github.io/samples/webtransport/client.html

  • connect to your webtransport server
  • enter some content in the textarea input, select Open a bidirectional stream then click Send data

result:

  • a bidirectional webtransport stream is established, data can be sent but not received
  • in the JS console, the exception below is triggered:
    Uncaught (in promise) TypeError: stream.pipeThrough is not a function

what is expected:

  • a bidirectional webtransport stream is established, data can be sent and received and no exception is shown in the JS console (I'm testing with a simple webtransport server that echoes back any received data)
phsultan added a commit to phsultan/GoogleChrome-samples that referenced this issue Dec 29, 2023
@phsultan phsultan linked a pull request Dec 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant