lightyear icon indicating copy to clipboard operation
lightyear copied to clipboard

ERR_SSL_PROTOCOL_ERROR with simple_box instructions

Open mwbryant opened this issue 5 months ago • 2 comments

When following the instructions for the example I can open the game in a browser locally and it works great. Once I try connecting from my laptop I need to use https for WebTransport to be defined.

I believe I have everything setup as the instructions say and have tried added a Trunk.toml pointing at the cert/keys to no avail.

localhost sent an invalid response.
ERR_SSL_PROTOCOL_ERROR

Is all the browser gives me and I'm a bit out of my depth to debug this.

curl gives:

curl -v https://localhost:8080
*   Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* (5454) (IN), , Unknown (72):
* error:0A00010B:SSL routines::wrong version number
* Closing connection 0
curl: (35) error:0A00010B:SSL routines::wrong version number

But I'm worried that's a red herring. Any ideas or suggestions for debugging?

mwbryant avatar Sep 08 '24 03:09 mwbryant