Jallad's avatar

Problem with Laravel Queue Timeout when using Guzzle for SMS Notifications under Supervisor

I'm encountering an issue with Laravel queues running under Supervisor. Specifically, when I try to send SMS notifications (SMS custom Driver) using Guzzle for HTTP requests, I'm getting timeouts. However, when I run the queue from the command line, it runs successfully. Any ideas on how to troubleshoot this?

Thank you in advance for your help!

0 likes
5 replies
gych's avatar

When you run via the command line or via supervisor, is this on the same environment?

gych's avatar

@Jallad What is the command you use in your supervisor worker

Jallad's avatar

@gych queue:work I am using the same supervisor configuration in the Laravel supervisor config file example, except I've changed the artisan path and log path.

gych's avatar

Try to use queue:work --timeout=0

Please or to participate in this conversation.