I had a similar problem except that my requests would wait for two minutes and then die. Being new to gunicorn I had no idea, but thanks to Chanpols' post I found my --timeout setting was 120 and needed to be longer for my long running API endpoints to complete.