我是heroku的新手。我试图通过以下步骤将Django应用程序部署到heroku。
还有一个错误
(venv)han@HEEL:~/Desktop/projects/ossko$ heroku keys:add
Found existing public key: /home/han/.ssh/id_rsa.pub
Uploading SSH public key /home/han/.ssh/id_rsa.pub... done
(venv)han@HEEL:~/Desktop/projects/ossko$ git push heroku master
ssh: connect to host heroku.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.我从heroku帮助站点跟踪了每一步。
请帮我改正这个错误。
我有Ubuntu 13.4 64位操作系统
更新:这里的是git remote -v的结果
$git远程-v heroku git@heroku.com:无穷-Mesa-xxx.git(获取) heroku git@heroku.com:无限-Mesa-xxx.git(推)
发布于 2013-08-28 13:53:55
尝试运行git remote -v。会不会给你一个以上的遥控器,像这样?
your_app_name git@heroku.com:your_app_name.git (提取) your_app_name git@heroku.com:your_app_name.git (push)
如果远程仓库的名称不是“heroku”,则需要指定对该站点的推送。例如,如果您的遥控器名为ossko,请尝试如下
git推ossko大师
通常,如果您有多个heroku应用程序--您可以为每个应用程序使用不同的名称,则远程仓库的名称通常会不同。
https://stackoverflow.com/questions/18489472
复制相似问题