我正在使用Azure自动缩放WASABi遇到这个异常。
无法检索具有DNS前缀'DNS前缀‘的托管服务的实例计数。Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.ServiceManagement.ServiceManagementClientException:无法从Windows检索托管服务的服务配置,该服务的DNS前缀“DNS前缀”位于订阅id“ subscription ID”和部署槽“暂存”中。 System.ServiceModel.Security.SecurityNegotiationException:无法通过权限'management.core.windows.net‘为SSL/TLS建立安全通道。-> System.Net.WebException:请求被中止:无法创建SSL/TLS安全通道。在System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan超时时的System.Net.HttpWebRequest.GetResponse() -内部异常堆栈跟踪的结束
我已经将我的服务配置设置为:
<?xml version="1.0" encoding="utf-8" ?>
<serviceModel xmlns="http://schemas.microsoft.com/practices/2011/entlib/autoscaling/serviceModel">
<subscriptions>
<subscription name="3-Month Free Trial"
certificateThumbprint="<Thumbprint>"
subscriptionId="<Subscription ID>"
certificateStoreLocation="LocalMachine" certificateStoreName="My">
<services>
<service dnsPrefix="<DNS Prefix>" slot="Staging">
<roles>
<role alias="<Role Name>" roleName="<Role Name>" wadStorageAccountName="wad-control-container"/>
</roles>
</service>
</services>
<storageAccounts>
<storageAccount alias="wad-control-container"
connectionString="DefaultEndpointsProtocol=https;AccountName=<Account Name>;AccountKey=<Account Key>">
</storageAccount>
</storageAccounts>
</subscription>
</subscriptions>
<stabilizer scaleUpCooldown="00:01:00"
scaleDownCooldown="00:01:00"
scaleUpOnlyInFirstMinutesOfHour="0"
scaleDownOnlyInLastMinutesOfHour="0" />
</serviceModel>要添加,自动缩放角色是单个工作人员角色.该部署包含网站的2个Web角色和这个自动缩放的工作人员角色。
web角色使用的是相同的证书,并且运行良好,有人能给我一些关于解决这个问题的线索吗?
谢谢和干杯。
发布于 2012-08-30 02:01:36
我让它开始工作了。
希望这对任何有此问题的人都有帮助。
干杯。
https://stackoverflow.com/questions/12177333
复制相似问题