gpt4 book ai didi

ruby-on-rails - Rails SSL 证书问题 + 来自 RVM 的神秘 "curl: Remote file name has no length!"

转载 作者:太空宇宙 更新时间:2023-11-03 13:40:51 40 4
gpt4 key购买 nike

我的 Rails 应用程序似乎一直在运行,直到它收到来自 Soundcloud 的 OAuth 回调。在那一刻,我得到:

Faraday::SSLError
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

所以我尝试使用 rvm 在我的 mac 上更新 ssl 证书:

rvm osx-ssl-certs update all 

但我得到以下奇怪的结果:

rvm osx-ssl-certs update all 
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
Updating certificates for /System/Library/OpenSSL/cert.pem: Already are up to date.
Updating certificates for /usr/local/etc/openssl/cert.pem: Already are up to date.
Updating certificates for /etc/openssl/cert.pem: Already are up to date.

我猜证书下载失败是因为错误仍然存​​在。

我可能会在“curl failing, 'curl is' ?!”部分找到解决方案的开头的 RVM troobleshooting page ,但我不明白如何应用它。

为什么 curl 显示此消息?有谁知道怎么解决吗?

最佳答案

解决感谢https://github.com/wayneeseguin/rvm/issues/2861

解决方法:rvm get head

关于ruby-on-rails - Rails SSL 证书问题 + 来自 RVM 的神秘 "curl: Remote file name has no length!",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23766004/

40 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com