Just got the same issue on my instance. Seems that after the instance is idled it returns this 502 even after the instance is restarted (confirmed in the log that it's up and running).
----- Original Message -----
> From: "Ioan Eugen Stan" <email@example.com>
> To: "Stian Thorgersen" <firstname.lastname@example.org>
> Cc: "keycloak-user" <email@example.com>
> Sent: Thursday, 23 July, 2015 12:45:56 PM
> Subject: Re: [keycloak-user] Keycloak OpenShift Cartridge updated to 1.3.1.Final
> Thank you for the response. However, I think it's another beast altogether:
> Proxy Error
> The proxy server received an invalid response from an upstream server.
> The proxy server could not handle the request GET /auth/admin/.
> Reason: DNS lookup failure for: 127.0.0.1:80auth
keycloak-user mailing list