drush core-cron results in false urls and missing images

Created on 16 October 2024, about 1 month ago

Problem/Motivation

With a simplenews / symfonymailer integration I send 20 newsletter mails per cron run. Everything worked so far until I run into a "Attempting to re-run cron while it is already running". I checked for solutions and then used the cron in drush with with drush core:cron -l mywebsite.

Result was that all images were missing. All urls became the mywebsite/node/xyz instead of having a full URL like https://www.mywebsite.com/node/xyz.

So Drush can not be used to run the cron for sending mails with simplenews.

Not sure if this a simplenews problem or symfony mailer?

🐛 Bug report
Status

Active

Version

3.0

Component

Usability

Created by

🇫🇮Finland Nchase

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Nchase
  • 🇩🇪Germany harkonn

    We also had a problem with "Attempting to re-run cron while it is already running" and broken URLs.
    We use drush cron and -l / --uri param which works fine normally, but cron occasionally gets triggered simultaneously from external visitors. These requests came through a reverse proxy which maybe triggered the broken host names being internal names for the newsletters.
    Maybe this info helps you in finding the source of the problem.

Production build 0.71.5 2024