如何查看App Service 400 Azure中的标题/内容详细信息?

发布于 2025-02-13 00:07:24 字数 186 浏览 0 评论 0原文

Azure的应用程序服务显示400个错误,约有0.05%的请求。

如果我进入Azure Portal中的App Service,请单击“诊断和解决问题”,请单击“可用性和性能”,然后单击“ HTTP 4XX错误”,我可以看到错误的数量和端点点击。

是否可以看到这些失败请求的标题和内容,或者查看有关它们的更多详细信息,以找出问题?

An app service in Azure is showing 400 errors for about 0.05% of requests.

I can see the number of errors and the endpoints hit if I go into the app service in Azure portal, click on "Diagnose and solve problems", click on "Availability and Performance", and click on "HTTP 4xx Errors".

Is it possible to see the header and content of these failed requests or see any more details about them to try to figure out the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

十年九夏 2025-02-20 00:07:24
  • 按照此 MSDOC ,我们可以通过设置详细错误消息失败请求来启用详细错误跟踪

  • 导航到Azure Portal =>您的Web App => App Service Logs 单调并启用详细错误消息失败的请求跟踪并保存

”

我们可以使用应用程序见解来获取请求和响应主体。

请参阅记录有关更多信息

  • As per this MSDoc, we can enable the detailed errors by setting the Detailed error messages and Failed request tracing On

  • Navigate to Azure Portal => your Web App => App Service Logs Under Monotoring and Enable Detailed error messages and Failed request tracing and save

enter image description here

We can use Application Insights to get the request and response body.

Please refer Enable diagnostics logging for more information

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文