asp.net mvc - Http Request Timeouts on Azure Web Apps -
we have collection of mvc 5 websites running on azure cloud hosting platform. have several different versions of environment these websites run (development, staging, production), , experiencing difficult troubleshoot issue. seems that, intermittently, when request made production environment, request rejected, or file served point of server timing out , aborting request. seems occur in production environment, , not appear happen in development or staging.
given our websites started receiving traffic, production environment lesser used in case, not matter of machine being out of resources. also, have capability monitor resources of machine through web ui, , not see issues here.
when configuring these systems, not have ton of control on how set up. end, it's unlikely there configuration difference between them, setup (presumably) image, , configured through web ui. settings on these systems same between them far can tell. ensure not issue of configuration of machine, have mirrored production environment recreating it, , we're still experiencing same issue.
the websites in our environments secured via ssl certificates. in order remove potential culprit, we've turned ssl off on our production site , tested it. didn't seem fix issue , still got intermittent failed requests.
we thought may have routing, , mvc handling files, we've attempted downloads of static files (images, javascript files) dynamic files (views, bundled javascript), , still these failed requests. in our bundling configuration, not override default routeexistingfiles value, mvc should not handling routing of static files (as understand it, @ least, please correct me if i'm wrong)
our tests run against primary domain name on account, , doesn't appear issue attributed dns related.
it doesn't seem have our database connections, not hit our database when serving static files, nor when load our login page (which tested against primarily)
we running short on ideas regard might causing issue, , hoping out there may have experienced similar issue azure cloud platform? alternatively, if has suggestions, appreciated.
try enabling "always on" feature, can done via web app settings.
how azure app service works site content stored on file server, , site loaded web worker when active. if site idle unloaded. when new request comes in, site have reloaded, may cause slowdown experiencing. in addition, content may ngen'd again, further contribute slowdown.
documentation configuring web apps here: https://azure.microsoft.com/en-us/documentation/articles/web-sites-configure/
Comments
Post a Comment