REST API Guzzle POST gives timeout but the same call works if I run it on the server cli
Okay turns out it was xdebug. I had to allow more simultaneous connections in the PHP Debug settings of PHP Storm.