Over the past month I’ve started to experience some really strange & slow response times across my applications. I’ve been digging about, and in chrome dev tools, I see that SSL handshake is taking up about 1 second. I’ve seen numerous threads about this but nothing from Fly regarding a resolution. See:
Application slow for a single user... how? - #16 by PeterCxy (some support but closed…)
I (near lax
) have been testing an app hosted in iad
and I see simple Fastify api response times (returning a boolean value, no computation) taking upwards of 1-2 seconds to respond.
My domain is on Cloudflare so I added A/AAAA and CNAME records pointing to Fly from my Cloudflare dashboard (all with the CF proxy turned off).
Here is an example response waterfall
When doing the following simple request
When I check debug.fly.dev, the response shows that my region is sin
?
You can also see my handshakes are occurring in sin
too? Why?
When I run traceroute
directly from my fly.dev URL I see
traceroute to foundry-staging-trpc-web.fly.dev (66.241.124.45), 64 hops max, 40 byte packets
1 192.168.1.254 (192.168.1.254) 1.331 ms 1.111 ms 0.970 ms
2 172.8.144.1 (172.8.144.1) 1.939 ms 2.179 ms 1.965 ms
3 64.148.105.112 (64.148.105.112) 2.011 ms 3.690 ms 2.422 ms
4 12.243.128.102 (12.243.128.102) 10.878 ms 8.497 ms 7.964 ms
5 12.122.128.101 (12.122.128.101) 12.017 ms 6.073 ms 3.879 ms
6 192.205.37.26 (192.205.37.26) 10.925 ms 4.808 ms 4.303 ms
7 96.110.44.157 (96.110.44.157) 12.777 ms
96.110.44.153 (96.110.44.153) 11.958 ms
96.110.44.149 (96.110.44.149) 11.770 ms
8 96.110.33.66 (96.110.33.66) 11.479 ms
96.110.33.78 (96.110.33.78) 12.501 ms
96.110.33.74 (96.110.33.74) 12.422 ms
9 75.149.231.130 (75.149.231.130) 11.240 ms 4.684 ms 3.536 ms
10 * * *
11 * * *
12 * * *
13 * * *
And when I use my Cloudflare domain
traceroute trpc-web.foundry-staging.xyz
traceroute to trpc-web.foundry-staging.xyz (66.241.124.45), 64 hops max, 40 byte packets
1 dsldevice (192.168.1.254) 6.307 ms 7.047 ms 4.535 ms
2 172-8-144-1.lightspeed.irvnca.sbcglobal.net (172.8.144.1) 5.559 ms 27.707 ms 5.586 ms
3 64.148.105.112 (64.148.105.112) 6.074 ms 27.640 ms 7.633 ms
4 12.243.128.102 (12.243.128.102) 12.185 ms 29.933 ms 10.205 ms
5 ggr2.la2ca.ip.att.net (12.122.128.101) 6.935 ms 11.166 ms 8.003 ms
6 192.205.37.26 (192.205.37.26) 6.533 ms 7.477 ms 226.267 ms
7 be-3202-cs02.losangeles.ca.ibone.comcast.net (96.110.44.149) 7.321 ms
be-3102-cs01.losangeles.ca.ibone.comcast.net (96.110.44.145) 7.867 ms
be-3302-cs03.losangeles.ca.ibone.comcast.net (96.110.44.153) 8.419 ms
8 be-3212-pe12.600wseventh.ca.ibone.comcast.net (96.110.33.70) 10.350 ms 11.321 ms
be-3112-pe12.600wseventh.ca.ibone.comcast.net (96.110.33.66) 10.309 ms
9 75.149.231.130 (75.149.231.130) 6.918 ms 7.279 ms 10.476 ms
10 * * *
11 * * *
12 * * *
This definitely wasn’t a thing about a month or so ago, any way we can find a way to debug this problem? Let me know what else I can provide…Thanks!