【问题标题】:VS 2015 git push troubleVS 2015 git推送麻烦
【发布时间】:2016-09-16 19:59:34
【问题描述】:

我在通过 https 使用 VS 团队资源管理器推送分支时遇到问题。但在命令提示符下“git push”有效。它让我疯狂。我关闭了防火墙,但它没有帮助。任何疑问为什么会发生?

Inner Exception:
The underlying connection was closed: An unexpected error occurred on a receive.

Inner Exception:
    Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    Inner Exception:
        A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

【问题讨论】:

  • 找到stackoverflow.com/questions/31999042/…,但不是很有用...
  • 您是否直接连接到 Git 服务器?它是什么类型的 Git 服务器?它的版本是什么?它是在代理服务器后面还是直接连接?证书是自签名的还是完全受信任的?
  • 还有其他问题吗?

标签: git visual-studio-2015


【解决方案1】:

我收到了同样的错误消息,结果在 VS Team Services 上,我没有完全允许我的团队成员(有此问题的用户)在我们的团队中编写(推送)他们对我们项目的更改服务帐户。

在 VS 团队服务上;转到控制面板 > [您的帐户] > [您的项目] > [您的团队]。然后选择版本控制选项卡并确保 1) 将有问题的用户添加到用户列表中,以及 2) 在访问控制摘要选项下授予权限。

【讨论】:

    【解决方案2】:

    在我的情况下,当我使用 VS 2015 中使用的相同用户登录 Windows 以拉/推时,问题就解决了。由于某种原因,无论我在 VS 中放入什么,它总是使用当前登录的用户连接到 Git。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-12-31
      • 2011-04-29
      • 2012-05-03
      • 1970-01-01
      • 2011-09-02
      • 1970-01-01
      • 2010-11-11
      • 2011-06-12
      相关资源
      最近更新 更多