Hi @joyryde,
I just checked and see more 403 errors than 400 here, it appears that your site is running a firewall and blocking Statically. I recommend fixing this on your side by adding the Statically-Images user agent to whitelist.
If you are using Cloudflare you can use this example for your firewall rule and choose action Allow:
(http.user_agent contains "Statically-Images")
Also, Statically and Flying Images (CDN feature) are not recommended to be used together seeing that both have the same CDN URL.
I hope this helps.
Thanks so much!! So helpful.
I added (http.user_agent contains “Statically-Images”) to Cloudflare, it worked π
Perfect!
If you find this helpful, please give it a rate because it means a lot to me π
Just noticed that images still aren’t loading, do you think it’s a caching issue, or something else?
https://djdeals.com/product-category/dj-lighting-special-effects/fog-machines-hazers/
https://cdn.statically.io/img/djdeals.com/f=auto/wp-content/uploads/American-DJ-Fog-Fury-Jett-Pro-300×300.jpg
On the error message Could not fetch the image β the server returned HTTP error 403 Forbidden
This means that the CDN does not receive image content, but Error 403 from your website. The above issue still seems to be happening.
If you enable the Hotlink Protection feature try turning it off and see if it works?
Hi,
The image exists:
https://djdeals.com/wp-content/uploads/American-DJ-Fog-Fury-Jett-Pro.jpg
Where is the hotlink protection that you want me to turn off? We don’t use Cloudflare Scrapeshield…
Yes, the image does exist, but because the website seems to be answering our CDN with a 403 Forbidden Error, so then the CDN is unable to process the image.
I went ahead and tried changing the IP address of our Images Workers (the server responsible for downloading the images from your website) because I assumed this was probably an issue caused by the firewall blocking us from the IP address. Do a test on the pages on your site and it looks like it is working.
Can you also check and see if it works?
We’ve deactivated the plugin as it no longer works; no images are loading sitewide.
Hi @joyryde, it was the right decision to deactivate the plugin while we were trying to reproduce the issue.
The problem still seems to be the same where your site blocks Statically from accessing images π
Can you try to add a whitelist rule for our servers using AS number on Cloudflare. The number is 13335 and see if it works?
(ip.geoip.asnum eq 13335)
What would the rule parameters be?
The prior rule was “User Agent” “Contains”
Is this the same or do we select “IP Address” “Equals” “ip.geoip.asnum eq 13335”
Hi @joyryde sorry for the late reply.
You can follow my Firewall Rules in the image below:
https://cdn.statically.io/img/i.imgur.com/MtVpt4s.png
Please do let me know if you have any questions.
OK, so now we have one User Agent rule and one AS Num rule. We will reactivate the plugin and test.
Didn’t work; thousands and thousands of blank images appeared on first load.