Description of problem: # dnf -y install inkscape-table.noarch Error: Failed to synchronize cache for repo 'updates-testing' from 'https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f22&arch=x86_64': Cannot download repomd.xml: Curl error (56): Failure when receiving data from the peer for http://fedora.mirror.lstn.net/updates/testing/22/x86_64/repodata/repomd.xml [Recv failure: Connection reset by peer] The request times out after a couple of minutes: $ curl http://fedora.mirror.lstn.net/updates/testing/22/x86_64/repodata/repomd.xml curl: (7) Failed to connect to fedora.mirror.lstn.net port 80: Connection timed out Version-Release number of selected component (if applicable): dnf-0.6.5-1.fc22.noarch Additional info: This bug has potential security implications: a defective mirror can effectively cut me from getting updates.
Yum deals with that properly: http://fedora.mirror.lstn.net/updates/testing/22/x86_64/repodata/0fee1c2dcafc27bd12698936882f424182cb5825b9478dcf766b5e8b1c90b369-primary.sqlite.bz2: [Errno 14] curl#7 - "Failed to connect to fedora.mirror.lstn.net port 80: Connection timed out" Trying other mirror.
not sure if this is related to bug 1219283
Hi Sami, which version of librepo and curl do you have installed? $ rpm -q librepo curl
Fixed in upstream: https://github.com/Tojaj/librepo/commit/62b44957d1cb9e08e0d2bbdef910ee8d7e53633d This fix causes that CURLE_RECV_ERROR and CURLE_SEND_ERROR won't be considered as fatal failures and won't abort downloading.
librepo-1.7.16-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/librepo-1.7.16-1.fc22
Package librepo-1.7.16-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing librepo-1.7.16-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-9077/librepo-1.7.16-1.fc22 then log in and leave karma (feedback).
*** Bug 1220269 has been marked as a duplicate of this bug. ***
I think we can switch the components.
*** Bug 1219837 has been marked as a duplicate of this bug. ***
librepo-1.7.16-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.