View Issue Details

IDProjectCategoryView StatusLast Update
0000546channel: elrepo/el7--elrepo--OTHER--public2023-05-14 14:26
Reportereotieno Assigned Totoracat  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Summary0000546: Cannot retrieve repo data
DescriptionI just installed a fresh copy of CentOS 7 today, and installed the elrepo. But when i do

yum repolist

or

install any package, i get a message :

FAILED
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Additional InformationPlease help fix this error. I have attached an image to clearly show what i mean.
TagsNo tags attached.
Attached Files
Error.png (266,116 bytes)
Error2.png (166,255 bytes)   
Error2.png (166,255 bytes)   
Error3.png (143,321 bytes)   
Error3.png (143,321 bytes)   
Reported upstream

Activities

toracat

2015-01-12 13:49

administrator   ~0004135

Just to confirm/check that the cause is at our end, could you run the yum command with a --disablerepo=elrepo\* option?

eotieno

2015-01-12 16:10

reporter   ~0004136

Yes, i did just that and the error is gone now. It is highly from your side. I have attached an image Error2.png to confirm further.

toracat

2015-01-12 16:43

administrator   ~0004137

Thanks for checking. We will do further investigation.

toracat

2015-01-12 17:07

administrator   ~0004138

Can you run one test for us? Please add to /etc/yum.conf the following lines:

minrate = 1
timeout = 500

Would it eliminate the errors?

eotieno

2015-01-12 23:22

reporter   ~0004139

No the timeout increase wouldnt fix the errors either. I am getting this

elrepo/primary_db FAILED
http://mirrors.thzhost.com/elrepo/elrepo/el7/x86_64/repodata/759d548a3d0258bbba9109447763c7084aebcf9815a72dcbe3bf6e7ea687236e-primary.sqlite.bz2: [Errno 12] Timeout on http://mirrors.thzhost.com/elrepo/elrepo/el7/x86_64/repodata/759d548a3d0258bbba9109447763c7084aebcf9815a72dcbe3bf6e7ea687236e-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transferred the last 500 seconds')
Trying other mirror.

pperry

2015-01-12 23:46

administrator   ~0004140

How about if you disable the fastestmirror pluging?

yum --disableplugin=fastestmirror repolist

Can you try uninstalling and reinstalling the elrepo-release package:

http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

Can you retrieve the above sqlite.bz2 file that is timing out in yum from any of the mirrors using wget or a web browser?

Can you tell us your IP address (you can email us at contact@elrepo.org if you do not with to share it here publicly).

eotieno

2015-01-13 00:19

reporter   ~0004141

Okay before i email you my IP i have noticed that retrieving the above sqlite.bz2, using my web browser results into a 404 - Not Found

I checked the linked and noticed that their is a colon at the end of it. Removing the colon, makes the data retrievable.

--with colon--
http://mirrors.thzhost.com/elrepo/elrepo/el7/x86_64/repodata/759d548a3d0258bbba9109447763c7084aebcf9815a72dcbe3bf6e7ea687236e-primary.sqlite.bz2:

--without colon--
http://mirrors.thzhost.com/elrepo/elrepo/el7/x86_64/repodata/759d548a3d0258bbba9109447763c7084aebcf9815a72dcbe3bf6e7ea687236e-primary.sqlite.bz2

Can that be the issue?

eotieno

2015-01-13 00:27

reporter   ~0004142

I have also noticed that i am getting the same error when using the nux-dextop repository as shown in Error3.png

toracat

2015-01-13 00:37

administrator   ~0004143

With a colon added, you should see a '404 Not Found' message.

Can you try other mirror? I have a connection problem with http://mirrors.thzhost.com at this moment. How about:

wget http://ftp.osuosl.org/pub/elrepo/elrepo/el7/x86_64/repodata/759d548a3d0258bbba9109447763c7084aebcf9815a72dcbe3bf6e7ea687236e-primary.sqlite.bz2

toracat

2015-01-13 00:39

administrator   ~0004144

Or, for a place in Europe:

wget http://elrepo.reloumirrors.net/elrepo/el7/x86_64/repodata/759d548a3d0258bbba9109447763c7084aebcf9815a72dcbe3bf6e7ea687236e-primary.sqlite.bz2

toracat

2015-01-13 00:54

administrator   ~0004145

I noticed something new. I get "Connection timed out" with the sites that use ipv6. wget then uses ipv4 address and succeeds.

$ wget http://repos.lax-noc.com/elrepo/elrepo/el7/x86_64/repodata/1144ebdcc832c63bcd71177c8f49e46150580c0e54ee61787a038106113bc299-filelists.xml.gz
--2015-01-12 23:50:04-- http://repos.lax-noc.com/elrepo/elrepo/el7/x86_64/repodata/1144ebdcc832c63bcd71177c8f49e46150580c0e54ee61787a038106113bc299-filelists.xml.gz
Resolving repos.lax-noc.com... 2607:fcd0:0:a::2, 198.55.111.5
Connecting to repos.lax-noc.com|2607:fcd0:0:a::2|:80... failed: Connection timed out.
Connecting to repos.lax-noc.com|198.55.111.5|:80... connected.
HTTP request sent, awaiting response... 200 OK

eotieno

2015-01-13 00:55

reporter   ~0004146

Yes, I can reach the mirror. But how do i make yum use that?

eotieno

2015-01-13 01:00

reporter   ~0004147

Last edited: 2015-01-13 13:25

Hmmm, i am getting this

# wget http://repos.lax-noc.com/elrepo/elrepo/el7/x86_64/repodata/1144ebdcc832c63bcd71177c8f49e46150580c0e54ee61787a038106113bc299-filelists.xml.gz
--2015-01-13 10:56:57-- http://repos.lax-noc.com/elrepo/elrepo/el7/x86_64/repodata/1144ebdcc832c63bcd71177c8f49e46150580c0e54ee61787a038106113bc299-filelists.xml.gz
Resolving repos.lax-noc.com (repos.lax-noc.com)... 198.55.111.5, 2607:fcd0:0:a::2, c637:6f05:100:503:dead::beef
Connecting to repos.lax-noc.com (repos.lax-noc.com)|198.55.111.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12555 (12K) [application/octet-stream]
Saving to: ‘1144ebdcc832c63bcd71177c8f49e46150580c0e54ee61787a038106113bc299-filelists.xml.gz’

100%[=================================================================>] 12,555 38.1KB/s in 0.3s

2015-01-13 10:56:58 (38.1 KB/s) - ‘1144ebdcc832c63bcd71177c8f49e46150580c0e54ee61787a038106113bc299-filelists.xml.gz’ saved [12555/12555]

toracat

2015-01-13 01:04

administrator   ~0004148

To make yum use a specific site, edit the /etc/yum.repos.d/elrepo.repo file as follows.

Comment out all baseurl= entries and the mirrorlist= line.
Then add a baseurl= line with a desired address.

For example, for the [elrepo] section:

baseurl=http://elrepo.reloumirrors.net/elrepo/el7$basearch/

eotieno

2015-01-13 02:29

reporter   ~0004149

I am still getting a timeout error. Do you know what the problem might be?

toracat

2015-01-13 11:34

administrator   ~0004150

I'm running out of ideas. We (at ELRepo) cannot reproduce the yum error you are getting. The problem seems unique to your system as we do not hear similar issues from others.

How long ago did you start seeing the problem? As soon as you installed CentOS 7? Does this happen with CentOS 6?

eotieno

2015-01-13 14:19

reporter   ~0004151

Yes, as soon i installed centos 7. This is my first time using centos from suse

I have tried yum repolist using centos running on docker, on my machine. But i am getting the same error message, just with yum repolist. Before i even add elrepo.

I guess the problem might be with my machine and not elrepo. Let me continue troubleshooting.

I will post back a solution to my problem if i manage to solve it.

Thanks alot.

eotieno

2015-01-14 05:22

reporter   ~0004152

I ended up using the mirrors from archives, and it worked

baseurl=http://ftp.colocall.net/pub/elrepo/archive/elrepo/el7/$basearch/
        http://mirrors.coreix.net/elrepo/archive/elrepo/el7/$basearch/

toracat

2023-05-06 12:35

administrator   ~0009190

Just a short note to say that colocall.net is now unreachable.

Issue History

Date Modified Username Field Change
2015-01-12 12:38 eotieno New Issue
2015-01-12 12:38 eotieno Status new => assigned
2015-01-12 12:38 eotieno Assigned To => stindall
2015-01-12 12:38 eotieno File Added: Error.png
2015-01-12 13:49 toracat Note Added: 0004135
2015-01-12 15:34 toracat Assigned To stindall => toracat
2015-01-12 15:34 toracat Status assigned => feedback
2015-01-12 16:10 eotieno Note Added: 0004136
2015-01-12 16:10 eotieno File Added: Error2.png
2015-01-12 16:43 toracat Note Added: 0004137
2015-01-12 16:43 toracat Status feedback => assigned
2015-01-12 17:07 toracat Note Added: 0004138
2015-01-12 23:22 eotieno Note Added: 0004139
2015-01-12 23:46 pperry Note Added: 0004140
2015-01-13 00:19 eotieno Note Added: 0004141
2015-01-13 00:27 eotieno Note Added: 0004142
2015-01-13 00:28 eotieno File Added: Error3.png
2015-01-13 00:37 toracat Note Added: 0004143
2015-01-13 00:39 toracat Note Added: 0004144
2015-01-13 00:54 toracat Note Added: 0004145
2015-01-13 00:55 eotieno Note Added: 0004146
2015-01-13 01:00 eotieno Note Added: 0004147
2015-01-13 01:04 toracat Note Added: 0004148
2015-01-13 02:29 eotieno Note Added: 0004149
2015-01-13 11:34 toracat Note Added: 0004150
2015-01-13 13:25 toracat Note Edited: 0004147
2015-01-13 14:19 eotieno Note Added: 0004151
2015-01-14 05:22 eotieno Note Added: 0004152
2023-05-06 12:35 toracat Note Added: 0009190
2023-05-14 14:26 toracat Status assigned => resolved
2023-05-14 14:26 toracat Resolution open => no change required