2014-05-12 46 views
1

我正在學習Ruby On Rails,並試圖做Michael Hartl的 Ruby On Rails TutorialHeroku - 致命錯誤做git push heroku主人

我做的運行OSX 10.6.8

在MacBook Pro的教程我的問題是這樣的。 本地創建回購後,在Heroku上創建應用程序後,後「正在初始化庫」

"Fredrik-Nilssons-MacBook-Pro:demo_app fredriknilsson$ git push heroku master 
Initializing repositoryReceived disconnect from 50.19.85.154: 10: user closed connection 
fatal: Could not read from remote repository. 

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

我已經掃描的網頁,並試圖按照提示說明特別是這裏的計算器推Heroku的失敗。 事情是,我看到的所有例子都不完全一樣,但在周圍的球公園可以這麼說。

我在github和heroku都創建併發布了公鑰。

+0

你運行'的Heroku create'? –

+0

這解決了嗎?我有完全相同的問題部署一個角度的完整應用程序。 – hirro

回答

0

我有完全相同的問題。

我的ASDL調制解調器丟包。確認您沒有連接問題。 我只在使用GIT + SSH對Heroku時出現問題。除了我在Wireshark中看到一個RST,然後是重傳,我還沒有深入探討連接問題。一段時間後,連接關閉。

請參閱此鏈接: Answer to similar question