Hi all, I am running a website for a school. I detected a problem, that is, when users authenticate, me as admin included, they cannot reach the homepage and get a 502 bad gateway error. 

the only way to go to the home page is logging out

There is no visitor counter or any other service pointing to other server, or at least i think so. Any suggestion where to start ?

This is my config D7.91

php 7.4

max_execution_time 240

max input time 90

memory limit 1024

max input vars 1000

output buffering

post max size 25m

upload max file size 25m

zlib.output compression off

short open tag off

Comments

vm’s picture

Have you checked the server error logs?

You've provided PHP information but what about the OS on the server? Apache? Ningx? other?

Have you worked through related search results: https://www.google.com/search?q=drupal+502+bad+gateway&rlz=1C1CHBF_enUS7...

giamepalorg’s picture

Yes, you're right, I checked and I've found out that there was a module which tried to establish a connection with a virtual server which now is no more in use. I disabled the module and voilà... Solved

Thanks