After installing free SSL (google trust) site images are not loading or partially

Website URL ( https://www.stchrischeam.42web.io )

Error Message ( after installing SSL images does not load and site loading has become very slow. Sometimes receive a 502 bad gateway error )

Hi, I am a beginner to the world of web development. Created the above site and another site on infinity free hosting. Everything ( images and code ) worked perfectly in http and all sorts of problems ( with images ) began after I installed the free SSL certificate ( google trust ) using the infinity control panel. Both sites face similar issues with images now with SSL.

The images no longer appear properly with SSL. After many reloads almost all images end up loading where as at times there are some images that still do not get loaded ( if not on desktop but loads 100% on tablet or mobile ). Each time a random result loading images ( however images I load with links from the database works perfectly fine all the time though).

When I open images on its own ( in https:// ) they load flawless

It appears I am facing the similar issue as a pervious posting but with a different SSL provider ( After installing free SSL certificate from Control panel, website not loading fully ).

Should I change to another free SSL or what can be done to overcome this problem please ? appreciate some assistance on this

1 Like

So, at first, most of the images on your site loaded fine with just the banner images refusing to. Looking at the console in developer tools revealed they were resulting in CORB errors.
image
However, after refreshing your site it looks like the banner images all load fine, with other things (such as the favicon) having a CORB error.

This is acting like the result of a mixed content error, but unless you’ve changed anything it seems to be getting progressively resolved.

5 Likes

thank you for the quick reply.

Yes, at times if I leave it be or refresh many times some of the missing images appear eventually. In the current instance the images load 100% on the desktop chrome but tablet chrome many images not getting loaded.

I think I might see what’s going on here. Your web page has hard-coded its resources (such as images, PHP scripts, CSS, etc.) to their full link including the domain name, rather than just the file path directly.


Is your website hand-coded, or are you using a CMS of some kind? Regardless, I think this is just the result of browser cache. Can you please try clearing the browser cache for Chrome on your tablet and see if that makes a difference?
Edit: My apologies, but I think I’m mistaken. Content on your site that loads successfully one time sometimes doesn’t after a refresh.

4 Likes

I noticed it was very slow at times

sometimes a bigger problem

it could be a problem on the server where your website is located 185.27.134.57 (I don’t know if it is overloaded or something else)
or is your PHP code

4 Likes

thank you so much.

Yes the links are hard coded and I am not using any CMS.

I cleared the cache on the tablet and retired, now I am getting error 502 bad gateway. On the desktop did the same too retried and the images that appeared correctly previously no longer loading once again now.

Everything worked flawless until I installed the SSL certificate using the control panel. Thats where all the issues began with images not appearing and very slow page loading at times and then everything working perfectly fine some other times.

1 Like

Ah, okay. Just a suggestion, you may want to insert your resources by linking just their file path, rather than the entire URL. That will prevent mixed content errors and will avoid issues if you ever decide you want to migrate your site to a different URL. Like say for example if you decide to buy and use a custom domain name, instead of your current free subdomain.
image
But like @Oxy pointed out there appears to be a bigger issue at hand here, considering the error messages and fluctuating speed of your website.
Looking at your source code further, I noticed that most if not all of your site’s pages seem to be .php files rather than .html files. Considering you’re not using a CMS, are you using them for PHP scripting functionality, or are they just HTML documents that you’ve saved as .php?

3 Likes

thanks very much again EdwardhamHam for the URL file path suggestion. I will revise them moving forward so that it will be much more convenient in the future.

I do use the php scripts in almost all the pages ( for functionality and database connectivity and so forth ) hence the pages are saved as .php

Hope the server issue ( if that it is can be resolved )

Ah okay, I asked because at the time I was unable to check for myself (due to the other pages not loading) but now I can see that.

If this is from load on the server like Oxy suggested might be the case, then the only solution is to wait and hope it isn’t a bigger problem. But your site does seem to be up intermittently. That said if there is a major issue it’s usually jumped on and tackled pretty quickly. It’s quite possible that the fact the problem started after you installed an SSL certificate was just a coincidence.

3 Likes

Thanks EdwardHamHam,

Another user has faced almost an identical issue ( After installing free SSL certificate from Control panel, website not loading fully - #5 by Admin )

Admin explains…
"It wasn’t actually a rate limiting issue, but rather a server issue, specifically related to HTTP/2. HTTP/2 is supposed to improve website performance, but what we saw is the exact opposite. And because HTTP/2 only works with HTTPS, that’s why this issue only happens after setting up SSL.

HTTP/2 has been disabled now, which should fix the issue with some images not loading, and also improve website performance. We hope to be able to enable HTTP/2 again later when we know it can actually help with performance."

Perhaps my situation too is similar. Fingers crossed Admin can help resolve this

1 Like

Your website seems to be loading fast from here, and this speedtest also shows very good results:

There was an issue with HTTP/2 in the past, but that was solved by disabling HTTP/2. That still seems to be the case.

2 Likes

5 posts were split to a new topic: It’s not fully correct appear images and paners some content and blocks mixed very bad

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.