Heroku 创建未知协议 SSL 错误

发布于 2024-09-03 08:12:43 字数 1267 浏览 4 评论 0原文

我是 Ruby 新手,在 Rails 中创建了一个站点,我尝试在我的 Windows 计算机上运行 heroku create,通过 git gui 生成公钥后,出现此错误

Uploading ssh public key C:\Users \me/.ssh/id_rsa.pub c:/ruby/lib/ruby/1.8/net/http.rb:590:in connect': 未知协议 (OpenSSL::SSL::SSLError) 来自 c:/ruby/lib/ruby/1.8/net/http.rb:590:inconnect' 来自 c:/ruby/lib/ruby/1.8/net/http.rb:557:in do_start' 从 c:/ruby/lib/ruby/1.8/net/http.rb:546:instart' 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in transmit 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:55:inexecute' 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:30:in execute' 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/resource.rb:63:inpost' 来自 c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/client.rb:464:in send' ... 17 个级别... 来自 c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/command.rb:20:inrun' 来自 c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/bin/heroku:13 来自 c:/ruby/bin/heroku:19:in `load' 来自 c:/ruby/bin/heroku:19

我需要为 SSL 设置什么吗?

感谢您提前提供的任何帮助。

I'm new to Ruby and have created a site in Rails, I'm trying to run heroku create on my Windows machine and after generating a public key through git gui, I'm getting this error

Uploading ssh public key C:\Users\me/.ssh/id_rsa.pub
c:/ruby/lib/ruby/1.8/net/http.rb:590:in connect': unknown protocol (OpenSSL::SSL::SSLError)
from c:/ruby/lib/ruby/1.8/net/http.rb:590:in
connect'
from c:/ruby/lib/ruby/1.8/net/http.rb:557:in do_start'
from c:/ruby/lib/ruby/1.8/net/http.rb:546:in
start'
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in transmit
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:55:in
execute'
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:30:in execute'
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/resource.rb:63:in
post'
from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/client.rb:464:in send'
... 17 levels...
from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/command.rb:20:in
run'
from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/bin/heroku:13
from c:/ruby/bin/heroku:19:in `load'
from c:/ruby/bin/heroku:19

Is there something I need to set up for SSL?

Thanks for any help in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

信仰 2024-09-10 08:12:43

我会尝试使用 http://rubyinstaller.org/ 之类的东西重新安装 Ruby

I'd try reinstalling Ruby using something like http://rubyinstaller.org/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文