libcurl - 使用 libcurl 调用 REST API 时的问题
问题描述
我们正在使用 C 开发应用程序来调用一些 REST API。我们有以下错误:
0x0900000006567214 ssl3_new() + 0x34
0x090000000658abb8 tls1_new() + 0x18
0x09000000150f7f50 SSL_CTX_check_private_key() + 0x68
0x0900000014d6831c ossl_connect_step1(??, ??) + 0xaec
0x0900000014d696a4 ossl_connect_common(??, ??, ??, ??) + 0x184
0x0900000014d60858 Curl_ssl_connect_nonblocking(??, ??, ??) + 0x9c
0x0900000014d773bc https_connecting(??, ??) + 0x20
0x0900000014d79214 Curl_http_connect(??, ??) + 0x168
0x0900000014d71738 multi_runsingle(??, ??, ??) + 0x608
0x0900000014d72cf4 curl_multi_perform(??, ??) + 0xf4
0x0900000014d5e0f8 curl_easy_perform(??) + 0x158
OpenSSL 的版本是:#: openssl version OpenSSL 1.0.2u 20 Dec 2019
卷曲版本:
#: curl --version curl 7.73.0 (powerpc-ibm-aix6.1.9.0) libcurl/7.73.0 OpenSSL/1.0.2t libssh2/1.9.0 Release-Date: 2020-10-14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 特性:AsynchDNS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets
我们怀疑应该使用的 SSL 协议版本存在问题。如果您遇到此类错误,请告诉我们。
解决方案
推荐阅读
- cplex - DoCplex:在热启动中使用变量子集
- kubernetes - 如何使用 Skaffold 转发特权端口
- image-processing - 比较没有干净图像时使用 PSNR 的去噪算法性能(Ground Truth)
- flutter - 模糊文本布尔值未在颤动中更新
- python - 在“on_message”事件的上下文中,“接收”和“发送”是什么意思?
- c++builder - 在 C++Builder 应用程序运行期间缺少 VariantInit 的过程入口点
- ios - 使用 scrollToRow 后以随机顺序排列的 UITableView 单元格
- python - PyTorch 神经网络未针对图像对齐任务进行训练
- python-3.x - Azure AAD 身份验证,在浏览器中单击了错误的 Microsoft ID,现在每次身份验证都失败
- php - 卸载 Xdebug 3 并安装 v2.9.8