-
Notifications
You must be signed in to change notification settings - Fork 23
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
Sending stops after X sends and fails #224
Comments
Thanks for reporting this. We're already aware of the issue and working on a fix, will update here when we've gotten to the bottom of it. |
In the meantime, clearing the compiled template caches (in the Cache Utility) appears to fix this issue. |
I've cleared all Craft caches but is there a specific one within Campaign? Clearing the Craft caches did not seem to help. We are currently just manually resuming to send to the next 10 recipients until complete. Keep us posted! |
Just the regular compiled template caches should do the trick. You may need to restart FPM if OPcache is enabled, after clearing the caches. |
One thing to note is that we are unable to reliably reproduce the issue, so please be sure update Craft and Campaign and let us know if you have any more info to share about when exactly the issue happens, including what exactly you updated and which version of PHP you are running. |
@bencroker I'll get everything updated tomorrow and provide as much information as I can. |
Hi Ben, I've spent the day exploring this in more detail, I'll share what I have. Craft 3.6.12 If we use Campaign's test mode, it sends to the full list of intended recipients successfully. If we use live mode, it always gets to 10 recipients then fails on the 11th. I also tried Gmail settings and it sent to all successfully. This therefore indicates that we have some rate limiting in our SMTP. We see the Now, looking at the historical Campaign logs (and I am wondering therefore if recent updates in Campaign and/or Craft has changed the way these failures are handled and resumed? In the meantime, setting ‘max batch size’ to 10 seems to be a work-around. |
Version 1.15.4 introduced the I would highly recommend using a dedicated email sending service that does not rate limit you to 10 emails in some time period. You can see a list of recommended services and plugins at https://putyourlightson.com/plugins/campaign#email-delivery Alternatively, if you must stick with your rate limited SMTP server, then setting |
Ah ha! That's the badger! We'll discuss with the team and client - but seems like we have a couple of options in there. Thanks for your patience on this - I'll mark as closed now. One quick question - what was the |
Same as the default now, |
I have been hit by this issue recently:
Clearing the cache solved the issue, the sendout was successful. Campaign 1.19.2 config/campaign.php:
The recipient count for this sendout was 39 addresses, so it was impossible that the max. fail count was hit. |
@Saboteur777 I believe you've encountered issue #225. |
@bencroker I think so, yes - thanks! |
Our sendouts have started failing after what seems to be 10 recipient sends. This seems to be since we upgraded Craft and Campaign (just recently), but may be unrelated. It also feels slightly reminiscent of #104
From the sendout:
In the Campaign logs, I cannot see any errors, only info messages:
From the queue log:
I am reaching out to our hosting as well to see if they can shed some light - but any thoughts greatly appreciated.
Versions
The text was updated successfully, but these errors were encountered: