Open dalisoft opened 1 year ago
I encounter the same problem. How is this resolved?
The curl-http3 image that you are using is outdated. It doesn't support the latest released http/3 version. It only supports the old draft versions.
The curl-http3 image that you are using is outdated. It doesn't support the latest released http/3 version. It only supports the old draft versions.
Doesn't matter. Check it with the browser (actual Firefox or Chrome), it doesn't work.
Same here, even with latest 1.25.1 official build I cannot get it to work...
i tested the latest version from docker hub (macbre/nginx-http3:1.25.1) and is able to work with http/3 when using curl as below
` $ curl -IL https://localhost:8889/ -k --http3
HTTP/3 200 date: Wed, 28 Jun 2023 09:43:23 GMT content-type: text/html; charset=utf-8 vary: accept-encoding x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block content-security-policy: object-src 'none'; frame-ancestors 'self'; form-action 'self'; block-all-mixed-content; sandbox allow-forms allow-same-origin allow-scripts allow-popups allow-downloads; base-uri 'self'; alt-svc: h3=":8889"; ma=86400 quic-status: h3 - Sent when QUIC was used `
on my browser http/3 didn't work , apparently is the ssl cert issue below , u can remove the -k option above to see it . No idea why though, i have used openssl3.0.0 to generate and my chrome browser supports TLS1.3 , but since its a local cert issue i guess it can be ignored .
SSL peer certificate or SSH remote key was not OK
@natsl05164 can you try with mkcert
(choco install mkcert)? This will add the Root CA to your keychain in Windows so Chrome wont complain about local certs.
@natsl05164 can you try with
mkcert
(choco install mkcert)? This will add the Root CA to your keychain in Windows so Chrome wont complain about local certs.
but trouble is my Chrome browser doesn't complain of the cert, it shows its valid cert with the "lock" icon without the red slash, i did add the cert to the Trusted Root CA in Chrome..
does mkcert works for you ?
Nope, h3 does not work at all on my Mac with M1... but I don't have cert issues.
I have the same problem, using
docker run -it --rm ymuski/curl-http3 curl -kIL https://home-server.home --http3
returns HTTP/3 200
, but Firefox refuses to use HTTP/3. (Using -k because the certificate isn't trusted by the docker container, but Firefox shows the lock icon so the certificate is trusted by Firefox).
same issue: nginx version: nginx/1.25.4 (quic-89bff782528a)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Config
static.conf
docker-compose.yml
Checks
Environments
docker
macbre/nginx-http3
latest
os
ubuntu
22.04
(amd64)
Expected Result
HTTP/3 responses
Actual Result