Some images start missing after some time (3.90)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 года назад
I am using 3.90. After the website is working for some time, some of the images (logo, categories images, thumbnails) start missing. On inspection in Chrome developer tools, the requests are with wrong URL, e.g. the request is to:
https://www.sitemap.MYSITE.com/content/images/thumbs/0001953_casio-efr-552d-1avuef_415.jpeg
where the correct URL should be without the "sitemap" prefix:
https://www.MYSITE.com/content/images/thumbs/0001953_casio-efr-552d-1avuef_415.jpeg
As I use SSL, the request to the wrong URL fails with ERR_CERT_COMMON_NAME_INVALID (though if I bypass the security warning, the server correctly resolves even this URL to the correct image).

If I clear the cache or restart the website, the problem is gone for an hour or so, and then the images gradually start to "disappear" due to the wrong URLs.

I suspect that the problem is somehow related to this one: https://www.nopcommerce.com/en/boards/topic/52431/images-problem-40-version but I am not sure who/what would make the requests with such "sitemap" prefix to poison the cache.

In a despair, I tried to disable the sitemaps for the website, but the problem is still present.
2 года назад
Most likely a bot rather than anything malicious. Just add the your hostname to your IIS binding to make sure that only requests for that host are being handled by your site.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.