我在一個要求我們把我們的紅寶石放在Heroku上的Rails應用程序的類。他們給了我們一步一步的指示,在我跟隨的Heroku上進行設置。我可以通過命令行登錄Heroku的,但是當我嘗試我的應用程序推到它,我得到這個:無法將Rails應用程序中的ruby推送到Heroku - 網絡問題?
Read from socket failed: Connection reset by peer
fatal: The remote end hung up unexpectedly
我ping通的服務器,它的工作。我試過重新啓動,一天後回來,重新創建應用程序,它工作正常。我檢查確認我有Heroku工具帶。我花了數小時搜索谷歌。我還沒有找到解決辦法。
一旦運行ssh -vvv [email protected]
我得到
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
ssh: Could not resolve hostname heroku: Name or service not known
一旦運行ssh [email protected] -T
我得到
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Permission denied (publickey).
所以我試圖再次git push heroku master
,得到了
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
任何想法?使用以下命令
你從'ssh -vvv yourlogin @ heroku'得到了什麼。這應該會顯示在ssh通信期間發生的所有操作以幫助調試。 – 2013-03-09 08:05:34
Scott,我將我的結果添加到了我的文章中 – BooBailey 2013-03-09 21:15:59