I’m getting 502 Bad Gateway errors when trying to reach my (docker environment) web service.
Based Web service returning HTTP/1.1 502 Bad Gateway - #2 by shantanu, it sounds like Render may be trying to send me HEAD requests to figure out what port the server is running on. I don’t want to bother responding to HEAD requests, so I just set the environment variable
PORT to the appropriate port number of my server. That affected my internal host:port value but I’m still seeing 502’s externally. I have not tested reaching the server internally.
I can see from the server logs that no incoming requests are making it through. Oddly enough I’m not seeing any HEAD requests in the logs either. In the Events tab I can see “Deploy failed: Timed out” events, but what exactly timed out? There’s no description.
The Shell tab is also not working, and is behaving as described in [bug report] Never ending "Reconnecting..." cycle in the Shell tab.
The service in question is
Any pointers are greatly appreciated!