Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
An error occurred subscribing email@example.com to list 666AA4567. "MailChimp API call to lists/subscribe failed: Error opening socket ssl://us2.api.mailchimp.com:443: "
Proposed resolution
Could these failures be put back into the cron queue?
Comments
Comment #1
helmo CreditAttribution: helmo at Initfour websolutions commentedSounds nice to have a fallback for network issues.
I'm seeing intermittent socket errors.
But what to do with feedback to the user? It could be reported as a delay, but what if we later re-try and get some other error? E.g. incorrect mail address.
Maybe it's an option to re-try it once on such errors?
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions commentedComment #3
helmo CreditAttribution: helmo at Initfour websolutions commentedAnd one more #2392063: Re-try failed communications with Mailchimp to avoid data loss ... that has pseudo code for a solution.
Comment #4
ruscoe CreditAttribution: ruscoe at ThinkShout for Mailchimp commentedWe're going to be ending support for the 7.x-3.x branch due to the upcoming deprecation of the v2.0 MailChimp API. If you're still interested in this feature, please feel free to reopen for the 7.x-4.x branch.