ASP OWIN application keeps returning 502 Bad Gateway

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 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