bash - 无法下载文件 - 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),它很旧,但现在是我所拥有的。有人可以指导我吗?最好的问候卡丽娜
解决方案
推荐阅读
- pandas - OneHotEncoder 给出 ValueError :输入包含 NaN ;即使我的 DataFrame 不包含 df.isna() 所示的任何 NaN
- python - 'list' 对象不可调用以检查分数准确性?
- oracle - 在 Web 服务器中托管时,无法从网站连接到 Oracle 12c 服务器。抛出空引用异常
- java - 将目录添加到 java.library.path 后 System.loadLibrary() 上出现 UnsatisfiedLinkError
- c# - 以编程方式在 HWindowControlWPF 中选择 DrawingObject
- python - 两个熊猫数据框之间的熊猫自动连接
- python - Python根据excel输入定义变量名和条件
- php - foreach 循环未在 hasrsine 公式中清楚地显示结果
- python - Gitlab-CI 使用令牌而不是 ssh 密钥从 setup.py 克隆私有仓库?
- ios - Swift UIDocument 保存不可靠