Reputation: 5010
After a deploy to our Azure Web App, we are getting 500 timeouts on any request to the service:
500 - The request timed out.
The web server failed to respond within the specified time.
I have enabled logging in web.config and the logs are showing no exceptions or anything wierd on startup. Only this in stdout_abdce_2016wxyz.log:
Hosting environment: Development
Content root path: D:\home\site\wwwroot
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
Thing is I have loads of logs with the same contents. every 3minutes (approx) There seems to be a new one generated.
Running AspNet Core RTM (after doing an upgrade from RC1. web.config I took from the aspnet/IIS repository on github. The project runs and functions fine locally on my development PC
Upvotes: 5
Views: 1209
Reputation: 71030
Since you're trying to hook into port 5000, I'm pretty sure this is your issue. Azure Web Apps only support ports 80 and 443.
I believe you'll be able to read the port value to use, from the environment.
Upvotes: 2