Outbound IPv6 requests very slow or failing to connect

It seems that outbound IPv6 requests are either extremely slow to connect (10s+) or fail to connect entirely. I found this by debugging extremely slow outbound requests in my app and was able to isolated it via curl:

This hangs indefinitely:

curl --ipv6 https://google.com

Whereas this returns immediately:

curl --ipv4 https://google.com

I’ve verified the same issues in my Python app by logging the HTTP module and forcibly disabling ipv6.

This happens in the two regions I have my app running: yyz and syd

The only thing in my app that’s changed recently is I added multiple processes. I’m also using the latest pre-release version of litefs to support write forwarding. Seems unlikely that either of these would effect outbound TCP connections.

1 Like