-
Notifications
You must be signed in to change notification settings - Fork 853
Closed
Labels
Description
I built ATS as explained in the HTTP/3 Docs (https://github.com/apache/trafficserver/wiki/HTTP-3-Documentation)
root@ubuntu:~# netstat -alpn | grep traffic_
tcp 0 0 0.0.0.0:4443 0.0.0.0:* LISTEN 250548/traffic_serv
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 250548/traffic_serv
tcp6 0 0 :::8080 :::* LISTEN 250548/traffic_serv
udp 0 0 127.0.0.1:50171 127.0.0.53:53 ESTABLISHED 250548/traffic_serv
udp 0 0 0.0.0.0:4443 0.0.0.0:* 250548/traffic_serv
udp6 0 0 :::4443 :::* 250548/traffic_serv
unix 2 [ ACC ] STREAM LISTENING 5400858 250548/traffic_serv /opt/ats/var/trafficserver/jsonrpc20.sock
unix 2 [ ] DGRAM CONNECTED 5400853 250548/traffic_serv
root@ubuntu:~#
when i tried to download or establish any connection using curl 8.5.1-DEV built on top of quictls/3.1.4 with ATS, connection is not getting established.
root@ubuntu:~# curl -V
curl 8.5.1-DEV (x86_64-pc-linux-gnu) libcurl/8.5.1-DEV quictls/3.1.4 zlib/1.2.11 brotli/1.0.9 nghttp2/1.59.0-DEV ngtcp2/1.1.0 nghttp3/1.1.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe TLS-SRP UnixSockets
root@ubuntu:~#
root@ubuntu:~# curl -k -v --http3 https://127.0.0.1:4443/cache/1024
* Trying 127.0.0.1:4443...
* QUIC cipher selection: TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_CCM_SHA256
* Skipped certificate verification
* Connected to 127.0.0.1 (127.0.0.1) port 4443
* using HTTP/3
* [HTTP/3] [0] OPENED stream for https://127.0.0.1:4443/cache/1024
* [HTTP/3] [0] [:method: GET]
* [HTTP/3] [0] [:scheme: https]
* [HTTP/3] [0] [:authority: 127.0.0.1:4443]
* [HTTP/3] [0] [:path: /cache/1024]
* [HTTP/3] [0] [user-agent: curl/8.5.1-DEV]
* [HTTP/3] [0] [accept: */*]
> GET /cache/1024 HTTP/3
> Host: 127.0.0.1:4443
> User-Agent: curl/8.5.1-DEV
> Accept: */*
>
* ngtcp2_conn_handle_expiry returned error: ERR_IDLE_CLOSE
* Connection #0 to host 127.0.0.1 left intact
curl: (55) ngtcp2_conn_handle_expiry returned error: ERR_IDLE_CLOSE
root@ubuntu:~#
but when i tried to establish connection with curl 8.2.1-DEV built on top of OpenSSL/3.1.2 with ATS, connection is getting established
root@ubuntu:~# /opt/bin/curl -V
curl 8.2.1-DEV (x86_64-pc-linux-gnu) libcurl/8.2.1-DEV OpenSSL/3.1.2 zlib/1.2.11 brotli/1.0.9 nghttp2/1.55.1 ngtcp2/0.17.0 nghttp3/0.13.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL threadsafe TLS-SRP UnixSockets
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# /opt/bin/curl -k -v --http3 https://127.0.0.1:4443/cache/1024
* processing: https://127.0.0.1:4443/cache/1024
* Trying 127.0.0.1:4443...
* Skipped certificate verification
* Connected to 127.0.0.1 (127.0.0.1) port 4443
* using HTTP/3
* Using HTTP/3 Stream ID: 0
> GET /cache/1024 HTTP/3
> Host: 127.0.0.1:4443
> User-Agent: curl/8.2.1-DEV
> Accept: */*
>
< HTTP/3 200
< content-length: 1024
< cache-control: max-age=86400, public
< last-modified: Tue, 19 Dec 2023 13:39:12 GMT
< date: Tue, 19 Dec 2023 13:39:12 GMT
< age: 54310
< via: http/1.1 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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx* Connection #0 to host 127.0.0.1 left intact
root@ubuntu:~#
is there any known issue with curl 8.5.1-DEV with ATS or am i missing anything here?
Reactions are currently unavailable