【问题标题】:Getting error: 409 Conflict when Deploying WebApp to Azure出现错误:将 WebApp 部署到 Azure 时出现 409 冲突
【发布时间】:2018-12-24 01:02:51
【问题描述】:

我正在尝试使用 MS Docs 中的说明将 Node.js/Mongo webapp 部署到 Azure。具体来说,它使用了一个 deploymentLocalGitUrl,我将我的本地存储库设置为跟踪。推送时,连接中断,现在尝试git push azure master时,出现以下错误:

$ git push azure master
Counting objects: 11, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (11/11), 6.47 KiB | 3.23 MiB/s, done.
Total 11 (delta 7), reused 0 (delta 0)
error: RPC failed; HTTP 409 curl 22 The requested URL returned error: 409 Conflict
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

如何解决这个问题并让我的本地存储库推送到远程 Azure 站点?谢谢!

【问题讨论】:

    标签: git azure azure-devops devops


    【解决方案1】:

    我建议你尝试:

    • 将存储库克隆到其他文件夹

    • 将更改的文件从旧存储库复制到新存储库

    • 从新存储库尝试git push

    当连接中断时,本地文件跟踪机制似乎出现了问题,因此尝试使用“新副本”可能会解决问题。

    希望对您有所帮助!

    【讨论】:

      【解决方案2】:

      如果我必须 ctrl-c 终止部署(有时似乎挂起),就会发生这种情况。只需等待一分钟到 5 点似乎就可以清除任何阻碍。

      【讨论】:

      • 现在已经快一个小时了,但仍然失败。我越来越不喜欢 Azure。
      猜你喜欢
      • 2021-04-03
      • 2017-12-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多