Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

DeDmytro's avatar

Service Unavailable 503

Vapor works perfect for handling regular requests, file uploads and downloads but in some condition when much more data request takes much longer and got Service Unavailable message with status 503 after 30 seconds despite locally it takes no more then 10 seconds.

As for max_execution_time, I set timeout: 180 in vapor.yml file which means that max time should be 180 seconds. However I still get an exception after 30 seconds. In Vapor UI I can see all these timeout exceptions which say: Task timed out after 180.10 seconds

0 likes
3 replies
DeDmytro's avatar

@jlrdw , I think it is. The main issue is hard to debug Service Unavailable , no additional info

tasp's avatar

I'm getting this as well when making large requests from Nova. Did you ever find a solution? @dedmytro

Please or to participate in this conversation.