jordicenzano / simple-wt-server

Shows how to create a simple Webtransport server allowing localhost connections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-wt-server

This code is just to show an (alleged) bug in (webtransport-go) that prevents Chrome to establish a WT session

Repro steps

  • Clone this repo

  • Create certs

cd scripts
./create-server-certs.sh
  • Run chrome allowing localhost certs & connections to QUIC on localhost:443 (on terminal 1)
cd scripts
./start-localhost-test-chrome.sh
  • Run simple local webserver (on terminal 2)
./start-http-server-cross-origin-isolated.py
  • Load following webpage index.html (just tries to connects WT to localhost:443)

See results:

Connection error

PS: I have used following Chrome Version 119.0.6045.123 (Official Build) (arm64)

About

Shows how to create a simple Webtransport server allowing localhost connections


Languages

Language:Shell 37.3%Language:Python 22.9%Language:Go 20.5%Language:HTML 19.3%