Skip to content

Chrome browser debugger still shows HTTP/2 and curl-http3 shows QUIC: connection refused #2

@khteh

Description

@khteh
$ docker run -it -p 0.0.0.0:8080:80 -p 0.0.0.0:4433:443/tcp -p 0.0.0.0:4433:443/udp -t justdanz/quart-http3:latest
[2025-03-18 10:05:19 +0000] [8] [INFO] Running on https://0.0.0.0:443 (CTRL + C to quit)
[2025-03-18 10:05:19 +0000] [8] [INFO] Running on http://0.0.0.0:80 (CTRL + C to quit)
[2025-03-18 10:05:19 +0000] [8] [INFO] Running on https://0.0.0.0:443 (QUIC) (CTRL + C to quit)
[2025-03-18 10:05:45 +0000] [8] [INFO] 172.17.0.1:57312 - - [18/Mar/2025:10:05:45 +0000] "GET / 2" 200 21 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
$ docker run --rm ymuski/curl-http3 curl --http3 --verbose https://localhost:4433
* processing: https://localhost:4433
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying [::1]:4433...
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* QUIC: connection to ::1 port 4433 refused
* connect to ::1 port 4433 failed: Couldn't connect to server
*   Trying 127.0.0.1:4433...
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* QUIC: connection to 127.0.0.1 port 4433 refused
* connect to 127.0.0.1 port 4433 failed: Couldn't connect to server
* Failed to connect to localhost port 4433 after 8 ms: Couldn't connect to server
*   Trying [::1]:4433...
* connect to ::1 port 4433 failed: Connection refused
*   Trying 127.0.0.1:4433...
* connect to 127.0.0.1 port 4433 failed: Connection refused
* Failed to connect to localhost port 4433 after 8 ms: Couldn't connect to server
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection
curl: (7) QUIC: connection to ::1 port 4433 refused

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions