question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERR_METHOD_NOT_SUPPORTED, Opening handshake failed.

See original GitHub issue

At terminal

2021-11-13 11:39:45,945 INFO quic [4654232e7292bb80] ALPN negotiated protocol h3
2021-11-13 11:39:45,947 INFO quic [4654232e7292bb80] Connection close sent (code 0x109, reason ENABLE_WEBTRANSPORT requires H3_DATAGRAM)

At browser

Failed to establish a connection to https://quic.aiortc.org/wt: net::ERR_METHOD_NOT_SUPPORTED.
VM23:11 Opening handshake failed.
(anonymous) @ VM23:11
Promise.catch (async)
(anonymous) @ VM23:10
quic.aiortc.org/:1 Uncaught (in promise) WebTransportError: Opening handshake failed.

Steps to reeproduce:

Follow instructions at examples/README for Chromium.

Potentially related https://github.com/GoogleChrome/samples/pull/749#issuecomment-961623180, https://github.com/GoogleChrome/samples/pull/754/commits/b83dc66a8f24e357201c6dd0e8aed26d26ba5ea0.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
guest271314commented, Jan 13, 2022

@BruceChai-SM Works in general, yes, using the code published, except for the unmerged PR that fixes reading bidirectional stream https://github.com/GoogleChrome/samples/pull/752. I have not achieved the requirement of live-streaming media https://github.com/GoogleChrome/samples/issues/756. The stream and datagram eventual grow in internal buffer size (should not be buffered at all), and stops streaming.

Can you share the link to the PR please?

https://github.com/GoogleChrome/samples/pull/749

0reactions
BruceChai-SMcommented, Jan 13, 2022

@Niek Yes, that code runs, though does not support live-streaming. I also do not gather why Chromium authors who updated WebTransport in GoogleChrome/samples did not update code in the main dependency. I mentioned this handshake error in a PR there.

Thanks, @guest271314 Can you share the link to the PR please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebSocket opening handshake was canceled for electron ...
In the electron app setup, You can ignore certificate errors by: app.commandLine.appendSwitch("ignore-certificate-errors");.
Read more >
How to Fix “SSL Handshake Failed” & "Cloudflare 525" Error
First, open your browser and go to Settings > Advanced. This will expand a number of menu options. Under the System section, click...
Read more >
What Is SSL Handshake & How Do I Fix SSL ... - HubSpot Blog
SSL Handshake Failed is an error message that occurs when the client or server wasn't able to establish a secure connection.
Read more >
Handshake error messages - IBM
Solution: Report the problem to IBM Support. Message: SSL0213E: Handshake Failed, Open failed due to cipher error. Reason: An unknown error has ...
Read more >
Deep dive into WebSocket opening handshake protocol with Go
Deep dive into WebSocket opening handshake protocol with Go. #webdev #websocket #go ... Panicf("Dial failed: %#v\n", err) } defer c.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found