gpt4 book ai didi

azure - 发布命令在 Windows Azure 上一直失败

转载 作者:行者123 更新时间:2023-12-03 06:05:21 25 4
gpt4 key购买 nike

我的 Windows Azure 发布命令一直失败。在 Visual Studio 中,我收到以下错误消息:

4:48:58 PM - Preparing deployment for with Subscription ID: < mysubscriptionid >
4:48:58 PM - Connecting...
4:48:59 PM - Verifying storage account 'pwcstorageend'...
4:49:01 PM - Uploading Package...
4:50:39 PM - Creating...
4:51:43 PM - The HTTP request was forbidden with client authentication scheme 'Anonymous'.
4:51:43 PM - Stopping mvc3appsample
4:51:45 PM - The HTTP request was forbidden with client authentication scheme 'Anonymous'.
4:51:45 PM - Deployment failed

注意:发布命令之前是有效的。

最佳答案

当您遇到这样的问题时,事情一次工作正常,但在一段时间后就不行了,更新环境总是好的,这样您就知道如果某些事情发生变化就会恢复正常。

此问题与您的开发计算机证书配置密切相关,并且由于证书不匹配,无法建立 SSL 连接。实际上,我可以通过删除管理门户中与我用于从 Visual Studio 进行部署的完全相同的证书来重现此问题。

要解决此问题,您可以按照如下所述从 Windows Azure 管理门户下载最新的发布设置,并将其与 Visual Studio 一起使用: http://blogs.msdn.com/b/avkashchauhan/archive/2012/05/10/downloading-windows-azure-publish-settings-subscription-configuration-file.aspx

一旦您在开发计算机和 Windows Azure 管理门户之间进行了正确的证书设置,就可以建立 SSL 连接并进行发布。

关于azure - 发布命令在 Windows Azure 上一直失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10610515/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com