ssl - aws 连接上的 OpenSSL 未知协议(protocol)错误

标签 ssl curl amazon-s3 https

我得到:

Excon::Error::Socket (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (OpenSSL::SSL::SSLError))

尝试通过 curl 将文件上传到 amazon s3 时 curl 请求:

curl -X PUT http://localhost:3000/api/v1/projects/{:project_id}/upload -F 'files=@file_path.jpg'

最佳答案

使用 carrierwave-aws gem 代替 fog 解决了这个问题

关于ssl - aws 连接上的 OpenSSL 未知协议(protocol)错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47635203/

相关文章:

node.js - 从nodejs中的证书获取公钥

Javascript - 如何进行 REST API 调用

amazon-web-services - AWS FSx 与 S3 文件网关

新 Firebase 托管上的 Wordpress

php - 非对称和对称 key 存储

在 c 中使用线程的 Curl 客户端会产生随机行为吗?

c - 多线程程序在 HTTPS 请求上崩溃

hadoop - 从 Spark 2.0 访问 S3

node.js - 套接字在node.js中挂起

javax.net.ssl.SSLException : Certificate for <> doesn't match any of the subject alternative names: [] 异常