Varnish Bundled Purgers: GuzzleHttp\Exception\ClientException 400 Bad Request

Created on 13 December 2021, almost 3 years ago
Updated 1 September 2023, about 1 year ago

Problem/Motivation

I'm in the process of upgrading from Drupal 8 to 9. Using purge version 3.0 runs as expected, however after updating to purge 3.2, I get the following whenever I run drush updb

[error] purger_varnishbundled_6bb40645e9: item failed due GuzzleHttp\Exception\ClientException, details (JSON): {"msg":"Client error: `BAN http:\/\/127.0.0.1:6081\/` resulted in a `400 Bad Request` response","uri":"http:\/\/127.0.0.1:6081\/","method":"BAN","guzzle_opt":{"http_errors":true,"connect_timeout":1,"timeout":1},"headers":{"user-agent":"varnish_purger module for Drupal 8.","cache-tags":"config:..."}}

Steps to reproduce

Using Drupal 9.3 with Purge version 3.2

Run drush updb

Proposed resolution

As of now using Purge version 3.0 does not throw the error.

Remaining tasks

Fix purge version 3.2

User interface changes

None

API changes

TBD

Data model changes

TBD

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇨🇦Canada sagesolutions

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024