不能混帐推到了Azure的 [英] Can't git push to Azure anymore

查看:167
本文介绍了不能混帐推到了Azure的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据昨天罚款但今天工作时,我做了混帐推蔚蓝的主在Azure中的网站,输入密码,我得到这之后回来

 错误:无法连接到yy.scm.azurewebsites.net:443;
操作超时而访问
HTTPS://xx@yy.scm.azurewebsites.net/yy.git/info/refs服务=混帐接收包
致命的:HTTP请求失败

别人这个问题?

谢谢!


解决方案

您可以尝试并遵循的这些的建议,其中包括:

确保网站本身的工作原理


  

当你遇到一个Git的问题,尝试的第一件事就是打网站本身(如的http:// somesite.azurewebsites.net/ )。结果
  如果你得到了某种错误,而不是默认的的网站正在建设中页面,然后Azure网站有可能下降,并没有涉及到git会工作。


尝试击中的git服务的根


  

如果主站点是最多,但混帐以某种方式打破,尝试直接从浏览器击中捻服务的根。你是否不启用的Git,得到了部署选项卡上的失败,或者会出现故障,当你混帐推,这非常有用。


  
  

例如。如果您的网站的网址是 http://somesite.azurewebsites.net/ 的捻服务根URL将是< A HREF =htt​​ps://somesite.scm.azurewebsites.net/相对=nofollow> https://somesite.scm.azurewebsites.net/ 。结果
  所以使用https,并添加SCM令牌。系统将提示您提供凭据,这是一样的,你用它来'混帐推是什么。


如果你得到一个错误之​​前收到提示凭据


  

这通常意味着什么pretty不好是不对的,导致事情失败甚至达到git的引擎之前。


如果你得到一个错误得到提示输入凭据后


  

这可能意味着两种不同的东西:


  
  

      
  • 与Azure网站的一个问题

  •   
  • 使用Git的支持本身
  • 一个问题
      

  
  

记录什么错误,并报告给论坛


It worked fine yesterday but today when I do a git push azure master to a Website in Azure, after entering the password I get this back

error: Failed connect to yy.scm.azurewebsites.net:443;
Operation timed out while accessing
https://xx@yy.scm.azurewebsites.net/yy.git/info/refs?service=git-receive-pack
fatal: HTTP request failed

Anybody else with this problem?

Thanks!

解决方案

You can try and follow those advices, including:

Make sure the site itself works

When you run into a git issue, the first thing to try is to hit the site itself (e.g. http://somesite.azurewebsites.net/).
If you get some kind of error instead of the default "The web site is under construction" page, then Azure Web Sites are likely down, and nothing related to git will work.

Try hitting the root of the git service

If the main site is up but git is broken in some way, try hitting the root of the Kudu service directly from the browser. This is useful whether you fail to Enable Git, get a failure on the Deployment tab, or get a failure when you git push.

e.g. if your site URL is http://somesite.azurewebsites.net/, the kudu service root URL will be https://somesite.scm.azurewebsites.net/.
So use https, and add the scm token. You will be prompted for credentials, which are the same as what you use to 'git push'.

If you get an error BEFORE getting prompted for credentials

That usually means something pretty bad is wrong, causing things to fail before it even reaches the git engine.

If you get an error AFTER getting prompted for credentials

That could mean two different things:

  • An issue with Azure Web Sites
  • An issue with the git support itself

Record what the error is and report it to the forum

这篇关于不能混帐推到了Azure的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆