cache dns corruption

ThemeBurn SupportForumsOpenCart ThemesKiddos OpenCart Themecache dns corruption

This topic has been marked as resolved.

Hello,

I have another major issue with the theme, randomly i get the dns cache corrupted as you can see in the attachment and the dns is no longer working instead it goes to IP, that makes the site unusable as it does not load the resources properly (again the squares from the attachment instead of icons), not to mention the SSL certificate problem.

The only solution i get is to clear the theme cache but this is by far no real solution as i cannot monitor 24/7 this issue and i get customer complaints on it. Another solution is i disable the cache but then the site speed is crap and again customer complaints. Please advise as this theme is really creating more problems than benefits for us.

just to keep track https://giraffe-shoes.ro is the site

Regards

December 17, 2016 at 12:42 am #54432

Hi,

we are not able to see how exactly is the dns cache corruption connected with our theme ? The theme’s cache has nothing to do with DNS- it caches SQL queries and templates. If the theme cache files somehow get corrupted you would see PHP error messages, not static IP redirections or serer connection problems.

Can’t also see a relation between SSL certificate problem and the theme. You better check your server and domain configuration about these issues.

About the square icons- we haven’t really understood when do they appear. If you open the site with the IP instead of the domain or if the SSL certificate becomes invalid ?

Regards,
ThemeBurn team

December 21, 2016 at 5:00 pm #54562

All the links get cached with ip instead of dns and that is the core problem. Only after cleaning the theme cache the site recovers. There should not be any php error as this in fact is no error but a malfunctioning of the cache. My guess is that someone’s DNS f.. up and it somehow hits the site using the ip instead of dns, and the site caches that request and propagates it via all the links, as it sometimes happens only to certain links and some time to all the site.

My guess is that the caching should have some sanity check in place to avoid this kind of behaviour.

The ssl certificate has no relation to the theme it is just a result of the site only working with ip from cache and the ssl is created for domain name not ip.

December 22, 2016 at 12:10 am #54602

Okay, this makes sense. We didn’t assume that your site can be opened by IP only. I guess this would be an issue with any other url caching extension as it relies on OpenCart to provide the right URL. If opencart provides wrong URL, then it’s the one that is cached.

We could try to add some checks here, but this is really not a purpose of a theme (it controls the design mostly). You can actually disable the url caching only, but it’s a half-baked solution. You better use htaccess for domain redirection in case of attempts to open the site by IP.

Regards,
ThemeBurn team

December 22, 2016 at 8:08 am #54635

Yeap the htaccess redirect was what i had in mind but i thought maybe you have some sanity check mechanism there that can be activated and i get off easy.

I will try that then. Consider this ticket close

PS: please have a look at the “upgrade problems” ticket thread as that is a real problem.

December 22, 2016 at 9:44 am #54640

The ‘upgrade problems’ thread is not neglected, we just still not convinced that there are BurnEngine issues there. We mark this thread as resolved.

Regards,
ThemeBurn team

December 22, 2016 at 11:10 am #54643
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.