Hi @simonl!
Without knowing more specifics or seeing any code, it’s a bit hard to come to a firm conclusion, but since you have something working locally that isn’t working the same on AWS, a few things come to mind:
-
Have you checked to see if your
.envfile is correct on the Elastic Beanstalk instance? Maybe there are some bad values set there that would make your queue not work. -
Relating to #1, did you cache your config files and then proceed to make a change to an
.envvalue that was referenced in those config files? If so, try re-caching your config files and see if that fixes something. -
Are you using the same queue driver on the Elastic Beanstalk instance as you are locally? And as a follow-up, are you using the drivers that you think you’re using on Elastic Beanstalk, according to your
.envfile? -
Have you checked your laravel logs to see if there are any system errors when trying to push a job onto your selected queue?
Just from reading your question, it really seems like there is some sort of interruption between your Laravel app and whatever is hosting your queue—almost like the app is pushing the job out, but somehow it’s not going to the right place. I’d start your sleuthing there, and if you want to come back with these answers and potentially some more insight into exactly what’s going on, I’d be happy to help debug further!
Best of luck!