【发布时间】:2017-08-13 06:51:42
【问题描述】:
我正在将 Azure 移动应用部署到部署槽,并在 Xamarin iOS 中收到以下错误。
500 请求无法完成(内部服务器错误)
我做了以下事情:
- 设置
<customErrors mode="Off" ></customErrors> - 检查 Application Insights 实时指标屏幕
- 启用失败的请求跟踪
- 检查事件日志(2147024891 azure runtime 初始化失败)
- 在我的“网络应用程序”中搜索基于“网络服务”的 DLL 和引用。我在 Application Insights 中发现了一些包含“ROLE”一词的可疑文件
.
<?xml version="1.0" encoding="utf-8"?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
<TelemetryInitializers>
<Add Type="Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector" />
<Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />
<Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />
未来的测试和调试
Azure 帮助页面似乎没有告诉我如何启用远程调试,这是我接下来要搜索的内容。
【问题讨论】:
标签: azure azure-mobile-services azure-application-insights azure-web-app-service