Open GoogleCodeExporter opened 9 years ago
Issue 107 has been merged into this issue.
Original comment by goknmuse
on 6 Nov 2012 at 4:35
1. 问题: "The authenticity of host 'heroku.com (50.19.85.132)' can't be
established.
RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
fatal: The remote end hung up unexpectedly"
解答: a. 有可能是等待时间过长,自己断开的。也有可能是防火墙(本地)拦截或安全类的软件阻止将Heroku的Host写入known_hosts文件。可能性极小。
b. "Are you sure you want to continue connecting (yes/no)?" 好像没有输入"yes"(没引号)的?
c. "Microsoft Windows [版本 6.1.7600]",应该是Windows 7吧? 检查下C:\Users\user\.ssh\known_hosts (文本文件)文件中是否包含一条以"heroku.com,"开头,接着是其IP地址(50.19.85.132),最后是一串publickey。若没有,则验证b. 再遇到"Are you sure you want to continue connecting (yes/no)?",输入"yes"。
2. 问题: "Permission denied (publickey).
fatal: The remote end hung up unexpectedly"
解答: a. 确定已上传好你的SSH public key。检查下: 执行"heroku keys",正常会显示"=== <YourEmail> Keys",接着就是你的SSH public key。
b. a.过程中确认没有上传好SSH public key,执行"heroku keys:add",若已经有SSH key,会默认上传C:\Users\user\.ssh 路径下的SSH public key。若没有SSH key,则先执行"ssh-keygen -t rsa" 生成一个。
3. 警告: "Reinitialized existing Git repository in
E:/���ù���/��ǽw/APJP/APJP-Heroku/APJP_R
EMOTE_JAVA_HEROKU-1.0.0/.git/
warning: Your console font probably doesn't support Unicode. If you experience s
trange characters in the output, consider switching to a TrueType font such as L
ucida Console!"
解答: a. 翻译"你的控制台前端或许不支持 Unicode. 如果在输出中,你看到奇怪的字符,考虑换到一个TrueType 前端,如Lucida Console!",实际上没什么意思。
b. 我的解释: Git的repo路径,尽量使用英文。这样就不会出现"E:/���ù���/��ǽw/" 乱码的。如: "E:/tools/" 等。
4. "Heroku账号只能上传一次APP吗?"
答: free for the first dyno ( https://devcenter.heroku.com/articles/dynos )
5. 还有问题请参考 SampleHeroku (Updated Mar 10,
2012,可能有点过时,但现在没时间更新。)
Original comment by goknmuse
on 6 Nov 2012 at 11:36
( ⊙o⊙ )射射大神的回答,问题因此得到解决w。
Original comment by ooxx.1...@gmail.com
on 8 Nov 2012 at 1:42
>"( ⊙o⊙ )射射大神的回答,问题因此得到解决w。"
我伤心了。
Solved.
Original comment by goknmuse
on 8 Nov 2012 at 2:00
"4. 'Heroku账号只能上传一次APP吗?'
答: free for the first dyno ( https://devcenter.heroku.com/articles/dynos )"
不是。至少我测试部署两个App,没有问题的。但其限定的free
account with 512MB of memory usage of Dynos (Dynos
是Heroku定义的一个词汇,相当于一个虚拟的盒子,用来跑App��
�)。另外还有其他限制,The maximum slug size is
200MB,一个APJP_REMOTE大约需要"Slug Size:
41M",而一般要想App较为正常的跑起来,Slug
Size要远小于200MB才好的 ( 自行参考Heroku的官方文档
https://devcenter.heroku.com/articles/slug-compiler
)。So,1-2两个Apps,就好。
Done.
Original comment by goknmuse
on 18 Nov 2012 at 12:07
Issue 124 has been merged into this issue.
Original comment by goknmuse
on 27 Nov 2012 at 1:36
Original issue reported on code.google.com by
ooxx.1...@gmail.com
on 6 Nov 2012 at 4:21