Maybe it has happened to you while browsing, or users have reported they can’t access your website. The only thing they see is an Error 502 message. How can you fix error 502?
What is Error 502?
It is a HTTP status code that points to a server communication problem. A server (acting as a proxy) got not response or got an invalid response from another server (origin or upstream server).