# ASP OWIN application keeps returning 502 Bad Gateway

**URL:** <https://community.auth0.com/t/asp-owin-application-keeps-returning-502-bad-gateway/8558>\
**Category:** Get Help\
**Tags:** aspnet-mvc, authentication, owin\
**Created:** [October 24, 2017, 1:12pm UTC](https://community.auth0.com/t/asp-owin-application-keeps-returning-502-bad-gateway/8558 "2017-10-24T13:12:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacques.bronkhorst](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jacques.bronkhorst/32/7233_2.png) [@jacques.bronkhorst](https://community.auth0.com/u/jacques.bronkhorst)\
**Post date:** [October 24, 2017, 1:12pm UTC](https://community.auth0.com/t/asp-owin-application-keeps-returning-502-bad-gateway/8558/1 "2017-10-24T13:12:37Z")

</div>

My ASP OWIN Application suddenly developed an issue while trying to sign in I keep getting 502 Bad Gateway. I have not changed any of my initial code and the logs do not provide any indication as to an error.

I downloaded the [Quickstart](https://github.com/auth0-samples/auth0-aspnet-owin-mvc-samples/tree/master/Quickstart/01-Login/MvcApplication) app and updated the allowed callbacks and the Web.Config to reflect the application setting but still no joy.

Any advice would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/asp-owin-application-keeps-returning-502-bad-gateway/8558/2 "2018-03-02T05:57:06Z")

</div>


