# 502 Bad gateway error after switching to SSL

**URL:** <https://meta.discourse.org/t/502-bad-gateway-error-after-switching-to-ssl/43477>\
**Category:** Self-hosting\
**Created:** [2016 年4 月 29 日 23:04 UTC](https://meta.discourse.org/t/502-bad-gateway-error-after-switching-to-ssl/43477 "2016-04-29T23:04:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![glynhudson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glynhudson/32/120597_2.png) [@glynhudson](https://meta.discourse.org/u/glynhudson)\
发布日期： [2016 年5 月 1 日 18:10 UTC](https://meta.discourse.org/t/502-bad-gateway-error-after-switching-to-ssl/43477/3 "2016-05-01T18:10:35Z")

</div>

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?

---

_[View the full topic](https://meta.discourse.org/t/502-bad-gateway-error-after-switching-to-ssl/43477)._
