Windows Azure角色实例的启动时间比预期的要长
本文关键字:启动 Azure 角色 实例 Windows 时间 | 更新日期: 2023-09-27 17:58:13
在调试模式和不调试模式下启动项目时,我会收到一条消息,通知我角色实例的启动时间比预期的要长。
我看到很多帖子说这是角色中的代码问题,但代码在我同事的机器上运行良好。
以下是来自模拟器UI的诊断信息:
[Diagnostics] Information: Diagnostic process exited with code: 0
[Diagnostics] Information: C:'Users'ashleyrobinson'AppData'Local'dftmp'Resources'731ee61a-70ac-4811-8c9b-279ef76ae10a'directory'DiagnosticStore'Monitor
[Diagnostics] Information: C:'DUOSAzure'src'Projects'CloudUniformOrderingSystem'csx'Debug'roles'CloudService'diagnostics'x64'monitor'MonAgentHost.exe -LocalPath "C:'Users'ashleyrobinson'AppData'Local'dftmp'Resources'731ee61a-70ac-4811-8c9b-279ef76ae10a'directory'DiagnosticStore'Monitor" -StaticConfigFile "C:'Users'ashleyrobinson'AppData'Local'dftmp'Resources'731ee61a-70ac-4811-8c9b-279ef76ae10a'directory'DiagnosticStore'Monitor'Configuration'mastaticconfig.xml" -ConfigFile "C:'Users'ashleyrobinson'AppData'Local'dftmp'Resources'731ee61a-70ac-4811-8c9b-279ef76ae10a'directory'DiagnosticStore'Monitor'Configuration'maconfig.xml" -ShutDownEvent WADDM-ShutDown 66692520bb0a4ef8b40be2a6b222be3f -InitializedEvent WADM-StartUp-66692520bb0a4ef8b40be2a6b222be3f -parent 9640 -events
[MonAgentHost] Output: Agent will exit when WADDM-ShutDown-66692520bb0a4ef8b40be2a6b222be3f is signaled.
[MonAgentHost] Output: Will signal WADM-StartUp-66692520bb0a4ef8b40be2a6b222be3f after the agent is initialized.
[MonAgentHost] Output: Registered as an event consumer.
[MonAgentHost] Output: Agent will exit when parent process 9640 exits.
[MonAgentHost] Output: Monitoring Agent Started
[Diagnostics]: Starting configuration channel polling
[MonAgentHost] Error: MA EVENT: 2013-02-08T10:21:45.552Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 12384
[MonAgentHost] Error: 12524
[MonAgentHost] Error: NetTransport
[MonAgentHost] Error: 0
[MonAgentHost] Error: ec0e0567-0246-43a7-b302-95ab15b
[MonAgentHost] Error: netutils.cpp
[MonAgentHost] Error: OpenHttpSession
[MonAgentHost] Error: 749
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2f87
[MonAgentHost] Error:
[MonAgentHost] Error: WinHttpGetProxyForUrl(http://127.0.0.1) failed ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT (12167)
[Diagnostics]: Checking for configuration updates 08/02/2013 10:22:16.
我使用的是1.8 SDK。
有人能破译出问题的原因吗。
谢谢大家。
我不知道是什么原因导致了问题,但事实证明是机器出了问题。这是一个巨大的麻烦,但几天后我安装了一台新机器,一切都很好。很明显,有些东西阻止了我的角色启动,但我猜我在某个地方错过了一个重要的软件。