Cloudflare seems to be throttling my connection
I am hosting a nextjs app on cloudflare pages and was testing my app yesterday and I noticed that when visiting the site on my home network, it's very slow to process any request. Like 10x slower than it's supposed to be.
I tried:
1. Connecting through a vpn
2. Connecting through my phones hotspot
both of these workarounds resolved the issue.
Based on that, I believe cloudflare is for some reason throttling speeds to my ip address.
I also tested my speeds at https://speed.cloudflare.com/ and it seems to confirm that suspicion. It seems my connection is throttled when connecting to any website that uses cloudflare.
The first image shows the speeds on the my home network and the 2nd are my speeds when connected through a vpn.
Internet Speed Test - Measure Network Performance | Cloudflare
Test your Internet connection. Check your network performance with our Internet speed test. Powered by Cloudflare's global edge network.
4 Replies
Although cf speedtest may be inaccurate, I think the fact that there is so much packet loss and such slow speeds which are immediately fixed once I connect to a vpn indicates that this something specific to my connection to cloudflare.
This is also reflected when I visit my own app deployed to cloudflare. Every request made from my home network is extremely delayed and just hangs for 20+ seconds. But as soon as I connect through a vpn or a hotspot, it's very quick to respond.
Changed the mac address on my router which triggered a new wan ip address being assigned through my ISP and now got these results:
Safe to say, cloudflare was 100% throttling my previous IP.
Would that not also affect my connection to other servers?
It seemed pretty specific to cloudflare servers
You may have more insight into this, but it seems that my ipv6 address still has the same issues as before. If I disable ipv6 in my router settings, all traffic goes through the ipv4 address which currently works normally. But once I enable ipv6, some traffic is routed through ipv6 which encounters the previous issues.