cURL error 18 in Drupal 10.2

Created on 16 December 2023, over 1 year ago
Updated 25 December 2023, over 1 year ago

Problem/Motivation

After updating Drupal 10.1- to 10.2, when running the cache warmer cron, the following message (type "warmer") is displayed for several pages / nodes:

cURL error 18: transfer closed with 5668 bytes remaining to read (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://...

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇩🇪Germany frank.dev

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

Comments & Activities

  • Issue created by @frank.dev
  • Status changed to Postponed: needs info over 1 year ago
  • e0ipso Can Picafort

    Can you please provide reproduction instructions?

  • 🇩🇪Germany frank.dev

    Okay:

    The Warmer and CDN Warmer modules are activated.

    The following settings have been made:
    admin/config/development/warmer/settings: Sitemaps => /sitemap.xml (the sitemap is correctly set up and accessible). I have not made any other settings.

    On the page "/admin/config/development/warmer" I activate the checkbox "CDN via Sitemap" under Warm caches. I then start cron. In the Drupal dblog, many messages of the type "cURL error 18: transfer closed with ... bytes remaining to read (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)".

    This behaviour started exactly with the Drupal core update 10.1.7 => 10.2. Under Drupal 10.1 the module worked perfectly, with the same setting.

  • Status changed to Closed: works as designed over 1 year ago
  • 🇩🇪Germany frank.dev

    I have the suspicion that the behavior described here is related to another module (Minify Source HTML module) " Minify html breaks pages in Drupal 10.2 🐛 Minify html breaks pages in Drupal 10.2 Active ". The problem described there also seems to affect the Warmer-CDN module in my case.

    After I deactivated the Minify Source HTML module on my website, CDN-Warmer works perfectly again. I therefore consider the theme to be closed here.

Production build 0.71.5 2024