Working http3 configuration ?

Hi,

Does anyone has a minimal configuration with working http3 ? I’m trying to get this working locally on an ARM64 mac but I can’t get anything working, curl always tell me this:

curl -k -v --http3 https://localhost:4444/
* Host localhost:4444 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:4444...
* SSL Trust: peer verification disabled
* QUIC: connection to ::1 port 4444 refused
* QUIC connect to ::1 port 4444 failed: Could not connect to server
*   Trying 127.0.0.1:4444...
* SSL Trust: peer verification disabled
* QUIC connect to 127.0.0.1 port 4444 failed: Could not connect to server
* Failed to connect to localhost port 4444 after 6 ms: Could not connect to server
*   Trying [::1]:4444...
* connect to ::1 port 4444 from ::1 port 58951 failed: Connection refused
*   Trying 127.0.0.1:4444...
* ALPN: curl offers h2,http/1.1

Here my testing configuration:

# code: language=toml insertSpaces=true tabSize=2
[log]
  level = "TRACE"
[entryPoints.https]
  address = ":4443"
  [entryPoints.https.transport.lifecycle]
    requestAcceptGraceTimeout = "15s"
    graceTimeOut = "60s"
  [entryPoints.https.transport.respondingTimeouts]
    idleTimeout = "15m"
  [entryPoints.https.forwardedHeaders]
    insecure = true
[entryPoints.https-private]
  address = "127.0.0.1:4444"
  [entryPoints.https-private.http3]
    advertisedPort = 4444
  [entryPoints.https-private.transport.lifecycle]
    requestAcceptGraceTimeout = "15s"
    graceTimeOut = "60s"
  [entryPoints.https-private.transport.respondingTimeouts]
    idleTimeout = "15m"
  [entryPoints.https-private.forwardedHeaders]
    insecure = true
[entryPoints.traefik]
  address = ":8080"
[ping]
[api]
  insecure = true
  dashboard = true
  debug = true
[metrics.prometheus]
  entryPoint = "traefik"
  buckets = [0.1, 0.25, 0.5, 0.75, 1.0, 1.5, 2.0]
  [metrics.prometheus.headerLabels]
    host = "X-Forwarded-Host"

Thank you.

Sorry, I don't speak TOML, too much repetition of words :wink:

Are you running this in a container? Did you check the ports on Mac?

sudo lsof -iTCP -iUDP -sTCP:LISTEN -nP | grep ':\d'

Nevermind, the problem was with a patch from a PR which broke HTTP3.

Sorry for the noise.