After update to version >1.2 no image mirroring

Created on 13 December 2022, almost 2 years ago
Updated 31 January 2023, almost 2 years ago

Problem/Motivation

I currently have a strange problem. When using the module in version 1.2, image derivatives from the productive environment are always dragged, regardless of whether they are on the stage or local environment.

as soon as i update the module version to >1.2, also the 2.0, the expected function is completely stopped.

in the chrome dev tools i always get a 404 error.

the following entries can be found in the dblog:

Stage File Proxy encountered an error when retrieving file https://domain.tld/sites/default/files/media/19/08/image-file-name. Client error: `GET https://domain.tld/sites/default/files/media/19/08/image-file-name` resulted in a `404 Not Found` response: <!DOCTYPE html><html lang="de" dir="ltr" prefix="og: https://ogp.me/ns#"><head><meta charset="utf-8" /><script>var _mtm (truncated...) in GuzzleHttp\Exception\RequestException::create() (line 113 of /var/www/html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php).

Source image at public://media/19/08/image-file-name.webp not found while trying to generate derivative image.

what surprises me is that the file extension is completely missing here. i know that support for webp was implented with 1.3, but the webp format has always worked for me, even with 1.2. version 2.0 also has exactly the same problem. i also went through the individual releases: 1.3, 1.4 and 1.5. unfortunately nothing changed, all versions above 1.2 are no longer functional.

If I use the local image url, the image is not found. If I call the same url on the productive environment, the image style exists, the image is found and the url is functional.

Settings of the module in the backend have not been changed, domain included, verify SSL activated, origin directory matches, image style root is activated, hotlink deactivated. even when activating hotlink, or changing different settings, nothing happens, furthermore no images are mirrored.

does anyone have a similar problem?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany zcht

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