In the response from spicedb server, I can see I t...
# spicedb
p
In the response from spicedb server, I can see I tried for http2 but falled back to http/1.1.
Copy code
* ALPN: server did not agree on a protocol. Uses default.
Here's the curl response:
Copy code
curl -v --http2 --cacert /Users/nitishaggarw/mac/mac-verse/mac-spicedb-poc2/certs/server.crt https://localhost:8080/healthz
* Host localhost:8080 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:8080...
* Connected to localhost (::1) port 8080
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /Users/nitishaggarw/mac/mac-verse/mac-spicedb-poc2/certs/server.crt
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
*  subject: C=IN; ST=California; L=San Francisco; O=SpiceDB; OU=Mac Service; CN=localhost; emailAddress=nitishaggarwal145@gmail.com
*  start date: Jan 13 07:55:27 2025 GMT
*  expire date: Jan 13 07:55:27 2026 GMT
*  common name: localhost (matched)
*  issuer: C=IN; ST=California; L=San Francisco; O=SpiceDB; OU=Mac Service; CN=localhost; emailAddress=nitishaggarwal145@gmail.com
*  SSL certificate verify ok.
* using HTTP/1.x
> GET /healthz HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.7.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Mon, 13 Jan 2025 08:13:51 GMT
< Content-Length: 21
< 
{"status":"SERVING"}
* Connection #0 to host localhost left intact
7 Views