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

amir5's avatar

getting 503 error randomly

In random times for random duration, I get 503 service unavailable error. When that happens I've tried running php artisan up which says application is already up, and ls storage/framework to see is there any down files, which is not, but still shows 503 error, and disappears after some seconds.

0 likes
5 replies
raihanrazon's avatar

This is not very normal. Use a tool like LaraBug or Bugsnag to get the complete error stack of the issue automatically when it occurs.

Glukinho's avatar

Check web server's (most probably httpd or nginx) error log. They both write detailed information about any server-side error by default.

amir5's avatar
amir5
OP
Best Answer
Level 7

I changed the server, and it's fixed now, it seems that the problem was from the server.

Please or to participate in this conversation.