cURL无法连接到特定的https站点

我正在尝试卷曲或wget到网站,但是5分钟后出现错误: cURL错误SSL读取:errno -5961

从Linux Centos 7:

* About to connect() to es.gearbest.com port 443 (#0)
*   Trying 23.43.82.164...
* Connected to es.gearbest.com (23.43.82.164) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ecdhe_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
*       subject: CN=*.gearbest.com,OU=IT,O=Shenzhen Globalegrow E-Commerce Co. Limited,L=Shenzhen,ST=GuangDong,C=CN
*       start date: Feb 09 00:00:00 2019 GMT
*       expire date: May 10 12:00:00 2020 GMT
*       common name: *.gearbest.com
*       issuer: CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US
> GET /flash-sale-56.html HTTP/1.1
Host: es.gearbest.com
accept: */*

* SSL read: errno -5961
* Closing connection #0
curl: (56) SSL read: errno -5961

与Windows 10相同的站点:

*   Trying 184.25.45.38...
* TCP_NODELAY set
* Connected to es.gearbest.com (184.25.45.38) port 443 (#0)
* schannel: SSL/TLS connection with es.gearbest.com port 443 (step 1/3)
* schannel: disabled server certificate revocation checks
* schannel: verifyhost setting prevents Schannel from comparing the supplied target name with the subject names in server certificates.
* schannel: sending initial handshake data: sending 171 bytes...
* schannel: sent initial handshake data: sent 171 bytes
* schannel: SSL/TLS connection with es.gearbest.com port 443 (step 2/3)
* schannel: failed to receive handshake,need more data
* schannel: SSL/TLS connection with es.gearbest.com port 443 (step 2/3)
* schannel: encrypted data got 3356
* schannel: encrypted data buffer: offset 3356 length 4096
* schannel: sending next handshake data: sending 126 bytes...
* schannel: SSL/TLS connection with es.gearbest.com port 443 (step 2/3)
* schannel: encrypted data got 242
* schannel: encrypted data buffer: offset 242 length 4096
* schannel: SSL/TLS handshake complete
* schannel: SSL/TLS connection with es.gearbest.com port 443 (step 3/3)
* schannel: stored credential handle in session cache
> GET /flash-sale-56.html HTTP/1.1
> Host: es.gearbest.com
> User-Agent: curl/7.55.1
> accept: */*
>
* schannel: client wants to read 102400 bytes
* schannel: encdata_buffer resized 103424
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: Curl_read_plain returned CURLE_RECV_ERROR
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: encrypted data buffer: offset 0 length 103424
* schannel: decrypted data buffer: offset 0 length 4096
* schannel: schannel_recv cleanup
* Closing connection 0
* schannel: shutting down SSL/TLS connection with es.gearbest.com port 443
* Send failure: Connection was reset
* schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)
* schannel: clear security context handle
curl: (56) Send failure: Connection was reset

我试图将MTU增加到9000,但是发生相同的错误。 其他https网站效果很好。

有什么主意吗?

谢谢

zxpdm4 回答:cURL无法连接到特定的https站点

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3115072.html

大家都在问