• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

External Storage bug?

Status
Not open for further replies.

neoark

Chevereto Member
On some of the images I am getting:

That page doesn't exist
The requested page was not found.

Nginx error log shows:

2016/08/21 07:25:31 [error] 5551#5551: *6184 FastCGI sent in stderr: "PHP message: Can't fetch file header from external storage server: <url>/4a73e94ec651ccf48f6a04fffdc1181c.png (404)" while reading response header from upstream, client: 100.x.x.x, server: imges.link, request: "GET /image/5K HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "<url>", referrer: "<url>"

If you click on the external storage it is a valid link.
 
Last edited:
Actually is not a bug but a very annoying feature.

Thing is that when an image is in an external container, Chevereto tries to fetch the image headers to detect if the image is there or not and either display the image or a 404 error page. This system doesn't work if the request from your Chevereto website is either jammed or blocked to access the remote server URL.

So, you can disable this feature (manually) at route.image.php, just get rid of this:

PHP:
                if($headers['http_code'] !== 200) {
                    return $handler->issue404();
                }

Since this happens way to much I will add an option to enable/disable this remote lookup.
 
That seems to have resolved the issue. Still odd why it would have the problem getting headers. Please add this in the future version or add an option to automatically retry a couple of times.
 
That seems to have resolved the issue. Still odd why it would have the problem getting headers. Please add this in the future version or add an option to automatically retry a couple of times.
It doesn't gets anything trying again, there is a block from origin or remote.
 
That is odd there shouldn't be any block. I don't see chevereto retrying when i refresh the page. Nginx error log doesn't multiple entries.
 
Status
Not open for further replies.
Back
Top