如何解决托管Web应用程序上的HTTP 500(请求超时)错误。 [英] How do I solve HTTP 500 (the request timed out) error on a hosted web app.
本文介绍了如何解决托管Web应用程序上的HTTP 500(请求超时)错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个我在azure上部署的网络应用程序,不久之后我得到HTTP 500(请求超时)。有时主页出现有时它没有,有什么我可以做的来解决这个问题吗?当它在本地运行它没有问题。
我尝试过:
使用不同的发布设置重新部署应用程序,检查服务器设置。
Hi,I have a web app that i have deployed on azure and after a short while I get HTTP 500 (The request timed out). sometimes the homepage comes up sometimes it doesn't,Is there anything I can do to fix this? when its running locally it has no problem.
What I have tried:
re-deploying the app with different publish settings, checking the server settings.
推荐答案
500是一个非常普遍的错误。您是否收到详细的错误消息,如果有,请发布。
一些问题:
你的应用从哪里获取数据 - 是否也在Azure上?
很短的时间多长时间? Azure有230秒超时。在看到此消息之前需要多长时间?
您的开发平台返回页面/结果需要多长时间?我得到的是这个特定的应用程序是否正在做一些特别是处理密集的事情,这可能导致长时间的延迟,而不是仅在Azure环境中出现的应用程序权限/配置问题。
500 is a very general error. Do you get a detailed error message, and if so, please post it.
Some questions:
Where does your app get data from - is it on Azure as well?
How long is "a short while"? Azure has a 230 second timeout. How long is it taking before you see this message?
How long does it take on your development platform to return the page/results? What I'm getting at is whether this particular application is doing something particularly processing intensive that may be causing a long delay, versus an application permissions/configuration issue that might be present only in the Azure environment.
这篇关于如何解决托管Web应用程序上的HTTP 500(请求超时)错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文