本文介绍了git push heroku master - 用户关闭连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将 heroku 官方示例节点应用程序部署到 Heroku 时出现了一些非常奇怪的问题。



I我正在关注 Node.js 入门文章中的每一步 但不断收到错误消息:

  git push heroku master 
从50.19.85.156初始化repositoryReceived断开连接:10:用户关闭连接
致命:可以不从远程存储库读取。

请确保您拥有正确的访问权限
并存在存储库。

任何有类似问题的人?

我自己的应用程序是从angular-fullstack派生出来的,但即使这个入门指南也失败了。



我试过了(没有成功):

其他信息

有类似问题的人吗?



看来我的带有防火墙功能的Thomson Gateway调制解调器会干扰GIT协议包。在Wireshark上,我得到了一个RST(SSH),然后是大量的重传,最后连接关闭了。



所以这是一个连接问题。



如果您认为有此问题,请尝试以下操作来验证它: 连接到VPN。
或任何其他备用连接...


我已经取代了我的ASDL调制解调器, !

I am having some really strange problems deploying the official heroku sample node application to Heroku.

I am following every step in the article "Getting Started with Node.js on Heroku" https://devcenter.heroku.com/articles/getting-started-with-nodejs but keep getting the error message:

git push heroku master
Initializing repositoryReceived disconnect from 50.19.85.156: 10: user closed connection
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Anyone who have had similar problems?

My own application is derived from angular-fullstack but even this getting started guide fails for me.

I have tried (with no success):

Other information:

Anyone who have had similar problems?

解决方案

Problem is solved.

It seems my Thomson Gateway modem with firewall functionality interfered with GIT protocol packages. On Wireshark I got a RST (SSH) followed by loads of retransmits, finally the connection was closed.

So it was a connection problem.

If you think you have this problem, try the following to verify it:

    Connect to a VPN.Connect to your mobile network.Or any other alternate connection...

I have replaced my ASDL modem and everything works like a charm!

这篇关于git push heroku master - 用户关闭连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 19:07