首先;我正在嘗試與this manual建立hubot,它在12天前運行。今天我嘗試了一些改變,並且一次又一次地失敗了,所以我從頭開始。這是我做的步驟:無法推送提交 - 操作超時
sudo gem uninstall heroku
// then I installed heroku toolbelt thinking that this could be the problem
rm -rf /Users/andrei/.ssh/*rsa*
heroku login
git init .
git add .
git commit -m "first"
heroku create
// then I did all the config stuff, etc.
git push heroku master
而這裏的一切都打破了。我得到這個掛約10%,15分鐘後:
zippy-one:franjo andrei$ git push heroku master
ssh: connect to host heroku.com port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
OK,我會調試SSH:
zippy-one:franjo andrei$ ssh -vvv heroku.com
OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /Users/andrei/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 53: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to heroku.com [50.19.85.154] port 22.
debug1: connect to address 50.19.85.154 port 22: Operation timed out
debug1: Connecting to heroku.com [50.19.85.156] port 22.
debug1: connect to address 50.19.85.156 port 22: Operation timed out
debug1: Connecting to heroku.com [50.19.85.132] port 22.
debug1: connect to address 50.19.85.132 port 22: Operation timed out
ssh: connect to host heroku.com port 22: Operation timed out
現在我覺得它可能是制動這是我改變了我的主機名。但是,我再次重新創建密鑰,並且與heroku keys
進行比較時適合所有情況。
你能幫我嗎?我在這裏遇到了我,並且我被卡住了。先謝謝你!
附加信息:
我看到this thread和嘗試一切在那裏,你可以看到在那裏。沒有防火牆阻止來自ssh或亞馬遜服務器的任何連接。
https://status.heroku.com/目前沒有已知的問題。所以也許問題是在你的網絡 –
是的,我檢查了。我會嘗試使用我的手機,只是爲了排除這一點。 **編輯:**它似乎取決於我的網絡。我會進一步檢查這一點。 – andreicek