GoogleChrome / samples

A repo containing samples tied to new functionality in each release of Google Chrome.
https://www.chromestatus.com/samples
Apache License 2.0
5.77k stars 2.38k forks source link

WebTrasnport: Failed to establish a connection to https://localhost:4433/counter: net::ERR_METHOD_NOT_SUPPORTED.. Opening handshake failed. #742

Closed guest271314 closed 2 years ago

guest271314 commented 2 years ago
Failed to establish a connection to https://localhost:4433/counter: net::ERR_METHOD_NOT_SUPPORTED.
client.html:1 Uncaught (in promise) WebTransportError: Opening handshake failed.
guest271314 commented 2 years ago

@bashi WebTransport server at WPT is apparently being tested successfully. Can you folks kindly update webtransport_server.py in this repository so that

Uncaught (in promise) WebTransportError: Opening handshake failed.

does not occur?

jeffposnick commented 2 years ago

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

guest271314 commented 2 years ago

@jeffposnick Handshake error is occurring again.

aboba commented 2 years ago

The latest server code seems to have fixed the issue. However, client.js still has some (minor) problems. I believe that a live working version is now hosted here.

aboba commented 2 years ago

The problem seems to have re-emerged on Canary M98. This site (running the python server + client.js) runs on Chrome M95, but not on Canary M98.0.4696.0

Error is: "Connection failed. WebTransportError: Opening handshake failed."

aboba commented 2 years ago

The latest python server PR seems to have fixed the issue.