Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Web App is Timing Out

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

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

like image 692
Lutando Avatar asked Oct 31 '22 00:10

Lutando


1 Answers

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.

like image 54
David Makogon Avatar answered Nov 09 '22 05:11

David Makogon