Azure worker role getting stuck in Role state Unknown

两盒软妹~` 提交于 2019-12-12 09:43:03

问题


Azure toolkit 1.5

  1. Create New project
  2. Add worker role
  3. Hit F5

The deployments get stuck in:

[fabric] Role Instance: deployment(189).WindowsAzureProject1.WorkerRole1.0

[fabric] Role state Unknown

Eventually the deployment times out.

Any ideas on how to debug this?


回答1:


I personally solved this problem by removing *:808 binding in IIS Manager for Default Website.




回答2:


The required Azure assemblies may be missing from the package you are deploying to Azure.

Double check that each Azure assembly your project is referencing has the copy to local property set to true.

The following article may help to debug the problem:

Debugging MSDN article




回答3:


Got it working, turned out that Windows Process Activation Service wasn't running correctly on my machine. Reinstalled and enabled tcp activation and now its working!




回答4:


I had the same problem: roles were permanently stuck in Unknown state and never started properly. Turns out that Net.Tcp Port Sharing Service (SMSvcHost.exe) had taken port 808 and this prevented dev fabric from starting the roles. I restarted the service, and now my roles run fine in dev fabric.

So if you run into the same problem, see if port 808 has been taken by some other process.




回答5:


Andreas,

You're probably missing an assembly reference or have a startup script issue, best way to continue is to try the deployment with intellitrace enabled.



来源:https://stackoverflow.com/questions/7416533/azure-worker-role-getting-stuck-in-role-state-unknown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!