Https router redirect to http then back out again to https
I have a weird corporate server set up in production that is not precisely replicated in build. So everything works fine in build, test, dev and local but not prod. Also the other sites, and the angular template that comes with VS 2017 works too on prod. So I must of created a bug somewhere! Requests come in to the router and the SSL handshake occurs. Then it passes the request to our internal IIS server over port 80, when the response comes back the router will pass that on to the client over SSL (port 443). I deployed the angular application to production and it runs perfectly on the production server. However any request external to the server times out. I could not figure out what was wrong and could not replicate the issue in local, dev, build or test. Also the logs are empty, using ASP.NET Core logging it appears like the server is not even hit. However, if I swap out the site with the angular vs 2017 template it works fine. I turned off server side rendering and changed my http requests to return a dummy observable, yet I still end up with this the timeout only for external clients. Has anyone come across something even remotely similar or point me to something I can look at?
Thank you.
This was all my bad. I had the http get attribute on the controller. Once removed all was well.