Web角色会立即停止在azure仿真器中

时间:2016-10-10 00:22:24

标签: azure azure-web-roles azure-emulator

我试图让azure web角色在模拟器中运行。

我相信我和我的同事正在使用完全相同的设置。但它适用于我的机器,但不适用于她的机器。

以下是设置:
Visual Studio 2015社区。
Azure SDK 2.9.5。

我已经比较了这些日志,我看起来像这样:

....  
State of xx changed from RoleStateSuspended to RoleStateBusy.
State of xx changed from RoleStateBusy to RoleStateUnhealthy.
State of xx changed from RoleStateUnhealthy to RoleStateBusy.
State of xx changed from RoleStateBusy to RoleStateStarted.  
....

她看起来像这样:

....
State of xx changed from RoleStateSuspended to RoleStateBusy.
State of xx changed from RoleStateBusy to RoleStateUnhealthy.
>>>>_Context_Start: {7A692122-8B13-42A8-8B8B-435872E2C0C3}      Context={{ StopRoleEx:  instanceId=xx }}
>>>>_Context_Start: {C882D389-A2C9-47F2-9A05-6E23F56157B6}      Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
<- AgentMonitoringObject::EventStart(0x00007FF95DD075A0) =0x80070015        Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
Stopping role: xx. Notify: True  Recycle: False  StopTimeout: 5     Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
State of xx changed from RoleStateUnhealthy to RoleStateStopping.       Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
....

问题是什么可能会使网络角色进入停止状态?

我的理论是&#39; StopTimeout:5&#39;可能是这里的问题。但是我如何更改此值?

0 个答案:

没有答案