I'd like to add a possible solution to this. In my case, I had issues in the past where IPV6 requests would take forever to finally fail, I had to disable IPV6 in curl for example. Probably an issue with my ISP. This is why my internet connection appeared to work as fast as ever while some other stuff failed, the stuff that prioritizes IPV6. So I ran this and problem fixed: