dusterio/laravel-aws-worker

Error 500 in AWS SQS

N3evin opened this issue · 2 comments

Hey, I had my application and my worker set up in elasticbeanstalk. The jobs are being sent to the queue, however, in the log, I am getting 500 inside the eb of the SQS worker. It's been pointing to localhost or something all this while and receive 500. Does anyone have any idea?

2018-09-27T08:26:55Z message: sent to http://localhost:80/worker/queue
2018-09-27T08:26:55Z message: sent to http://localhost:80/worker/queue
2018-09-27T08:26:55Z message: sent to http://localhost:80/worker/queue
2018-09-27T08:26:55Z message: sent to http://localhost:80/worker/queue
2018-09-27T08:26:57Z http-err: ae772911-9a93-4d3f-9092-fc1970fe3807 (3) 500 - 1.466
2018-09-27T08:26:57Z http-err: 587a7bcb-8b59-48f3-837f-728b15eabf03 (3) 500 - 1.468
2018-09-27T08:26:57Z http-err: 9c455c9c-91a2-4046-8ebe-d933a927afc4 (3) 500 - 1.468
2018-09-27T08:26:57Z http-err: 3002f36b-b99c-4fb3-91b5-ebdc6db0bbe9 (3) 500 - 1.506

Looks like your jobs are failing at some point. Have you tested the code you are running from the worker?

Thanks! Figure out what's the problem. Changing it to php7.1 solves the issues.