502 Bad gateway error after switching to SSL

I’m having the same issue, https.sock does not exist. I have ensured that SSL and socket template are present in app.yaml. Have you made any progress debugging?