On running zypper ref I’m getting
Download (curl) error for 'http://download.opensuse.org/distribution/leap/42.1/repo/oss/content': Error code: Unrecognized error Error message: Recv failure: Connection reset by peer
I think it has occurred previously:
I can open the file in browser / load it with curl. The command which fails is
curl --head http://download.opensuse.org/distribution/leap/42.1/repo/oss/content Date: Thu, 28 Apr 2016 10:42:04 GMT Last-Modified: Fri, 30 Oct 2015 01:29:49 GMT ETag: "2ee0-523485d085d40" Connection: Keep-Alive curl: (56) Recv failure: Connection reset by peer
It looks like a broken response - “HTTP/1.1 200 OK” is missing, so curl doesn’t know the response ended, and in the end the connection gets reset.
I was able to work around it by using a mirror, but it seems that download.opensuse.org is choosing a faulty mirror, which breaks for some percent of users.
If this isn’t the correct place - should I mail admin at opensuse org ?