Imagnes not loading & 502 bad gateway

images
bug
502

#1

Hi. I have a problem where images on my main website refuse to load, see by yourself here. And on my wordpress website, I sometimes get a 502 bad gateway when going into it, although not always. See here


#2

Looks like a configuration issue from Your host.


#3

I am using cpanel right now with whm on a dedicated server. Is there anything else that I need to configure? Is there maybe a wiki for getting started?


#4

Check logs for Your domain in cpanel. It should tell You what is going on.


#5

I will when ever I get home, just so you know. When I have gray cloud in DNS settings it works just fine.


#6

Then it can also be Related to SSL, any chance your cloudflare Crypto tab says SSL - Flexible? Maybe try using Full SSL mode?


#7

I tried this. I first had full SSL, now I have full SSL strict, but nothing changed :confused: Can this have something to do with my htaccess file?. I do know that I have always https in there and caching. Since if cloudflare too have caching, this might interfere


#8

Try creating a page rule with Performance disabled for *.hostup.org if that lets You access site?


#9

I mean, there is still a problem with main website too, hostup.org, the images wont load. Although blog is worse yes :smiley:


#10

I can not access hostup.org or blog.hostup.org, getting 502 on both. 502 is usually from server side not cloudflare side but if Your site works fine with cloudflare disabled then you can try creating a page rule to narrow it down to the exact thing causing this.


#11

it does not work for you at all now? It works just fine for me, try clearing cache/flushing DNS.

But yeah, I get the same problem as you when I have CDN on.


#12

Seems like You disabled cloudflare? (Assuming by checking ssl which now says issued by cpanel)

It’s mostly likely that the server is unable to talk to cloudflare properly.


#13

I think it has something to do with that I am using nginx for cpanel. https://github.com/engintron/engintron


#14

https://engintron.com/docs/#/pages/Engintron-&-CloudFlare fixs it.