Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

40 emails stuck as "queued" #24

Open
dzg opened this issue Feb 8, 2021 · 6 comments
Open

40 emails stuck as "queued" #24

dzg opened this issue Feb 8, 2021 · 6 comments

Comments

@dzg
Copy link

dzg commented Feb 8, 2021

This morning we sent 370 emails, and in the Activity tab all are "Sent" except for 40 which seems to be stuck in a "Queued" state.

Why would this happen? SES console shows that everything is peachy.

Sending a test email works fine.

@dclawson
Copy link

Did you manage to fix this @dzg ?

I found that the cron job to send the emails was not firing correctly so i disabled then re-enabled the plugin.

Seems to work so far 🤞

@Splact
Copy link

Splact commented Mar 16, 2021

Don't know if is the same problem, but here happened that for about 8hrs every mail sent was put on queue for a long time (stuck?) and then failed. This is the second time this happens.

Looking on db, the error is "DeliciousBrains\WP_Offload_SES\WP_Queue\Exceptions\WorkerAttemptsExceededException" so every attempt (3 for each mail) is failing. But there is no log to understand why.

It could be in some way related to the environment being multi-server (multiple instances behind a load balancer, common DB).

@dclawson
Copy link

Another cause might be if your website is behind a htpasswd, for a staging website or similar.

@Splact
Copy link

Splact commented Mar 16, 2021 via email

@juanviera89
Copy link

Same issue for me, its the 3rd time this month. Emails got stuck for about 10-30 min, then got sent. Also Our server has auto scaling with at least 2 instances running behind a load balancer with common filesistem and DB. Right now is not a critial error but is weird to recieve some emails and not others, in the future when users can manage their own account, this error will be fatal, if not fixed, we will have to move to another plugin

@Splact
Copy link

Splact commented Apr 28, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants