求助 zypper refresh 报 Unrecognized error

我的服务器使用代理上网
在 /etc/sysconfig/proxy 中配置了代理
.curlrc 中也配了 --proxy-user,以及 --proxy

添加源:

zypper ar http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.3/repo/oss/suse main

执行 zypper refresh 就报错了

~ # zypper refresh
Retrieving repository 'main' metadata \]
Download (curl) error for 'http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.3/repo/oss/suse/repodata/repomd.xml':
Error code: Unrecognized error
Error message: Maximum (6) redirects followed

但是我执行 curl ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.3/repo/oss/suse/repodata/repomd.xml是可以显示出文件内容的。
wget 也能下载上面的文件。

请教,为啥 zypper refresh 一直报错呢…

用 curl --verbose 看下

从我的 iPhone 发送,使用 Tapatalk

curl 命令是可以用的,–verbose 内容在下面,连代理那部分我没贴上来,看这个是干啥的? :question:

GET ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.3/repo/oss/suse/repodata/repomd.xml HTTP/1.1
Proxy-Authorization: Basic xxxx
User-Agent: curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.7 libidn/1.10
Host: ftp5.gwdg.de
Accept: /
Proxy-Connection: Keep-Alive

< HTTP/1.1 200 OK
< Via: 1.1 [IP] (McAfee Web Gateway 7.4.2.10.0.19503)
< Date: Fri, 14 Aug 2015 09:51:40 GMT
< ETag: “1c8ebb-3b7-4905e872c5e00”
< X-Pad: avoid browser bug
< Server: Apache/2.2.12 (Linux/SUSE)
< X-Cache: HIT from [IP]
< Content-Type: text/xml
< Accept-Ranges: bytes
< Last-Modified: Thu, 16 Sep 2010 11:12:56 GMT
< Content-Length: 951
< Proxy-Connection: Keep-Alive
<

<?xml version="1.0" encoding="UTF-8"?> 1a855f9e24c1879b42e9f354002ff236dda549b0 1284635562 ba5ace5da6ca857785d57d0228f312b154eba7bc ba5136f32006829e3b6a2726f07e9b205811cfb1 1284635562 af527ecbcc425e5abcd8a11bd9a245dfc652ed73 a0600d660830272846ca07a4d1d385e299941fc4 1284635562 bce70601337166b03261c66bc4e74e90ec3ff373