欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Azure deploy with git

程序员文章站 2022-03-09 12:04:55
...

Doc

Error 1

  • fatal: Authentication failed for ‘https://[email protected]
  • solution: 通过git部署到azure的方式,有时通过https会验证失败,还不太清楚具体的原因。这时可以跳过https的输入界面,直接会显示openssl界面,输入密码就ok了
  • steps: login windows prompt form + cancle button, then will connect with ssh

Error 2

  • error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Bad Gateway
The 502 Bad Gateway error is an HTTP status code that means that one server on the internet received an invalid response from another server.
Often, Bad Gateway errors are caused by issues between servers online that you have no control over

Error 3

  • error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the website's server, 
but the server could not be more specific on what the exact problem is.
  • 在部署大的项目(e.g. drupal 8.3.2)时会出现,增加postbuffer(约为524M,可以倍数增加)
  • solution: git config –global http.postbuffer 524288000
相关标签: azure