首页 > 解决方案 > 无法下载文件 - SSL3_GET_RECORD:错误的版本号

问题描述

我正在尝试从 noaa ncep 站点下载文件,但出现此错误

usuario@wrf:~/wrf_data/GRIB$ curl https://ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2019020700//gfs.t00z.pgrb2.1p00.f000 -sslv3
* About to connect() to ftp.ncep.noaa.gov port 443 (#0)
*   Trying 140.172.138.66... connected
* Connected to ftp.ncep.noaa.gov (140.172.138.66) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS alert, Server hello (2):
* error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
* Closing connection #0

我可以下载文件直到星期二,我用这个..

curl -O $FILEDWLT

The version
curl --version
curl 7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

我试过wget并得到类似的错误。我使用了一台 debian 机器(squeeze),它很旧,但现在是我所拥有的。有人可以指导我吗?最好的问候卡丽娜

标签: bashcurlwget

解决方案


推荐阅读