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

martacronic's avatar

Queue and Job with Guzzle Client

I use queue with database driver. I create Jobs with Guzzle Client. Afret I run queue:work, first Job from database tabele 'jobs' is correct execute, but next fail with curl error 3. I close Guzzle connection, but I think that it is still in cache. I try inject Guzzle Client to Job, but I get error. How can I correct prepare many Jobs with Guzzle Client and execute it by queue:work?

0 likes
3 replies
ahmeddabak's avatar

curl error 3 is for malformed url, check the url you are calling

martacronic's avatar

Url for all jobs is the same. When I execute it in loop, but with one Guzzle Client, I don't have this problem. But I want use jobs and queue, because I need to get many informationa by API.

Please or to participate in this conversation.