Inaccessible repo-oss for weeks now

Hi all,

For quite a while now previously working repo-oss no longer does so:

Retrieving repository 'repo-oss (16.0)' metadata .......................................................................................................[error]
Repository 'repo-oss (16.0)' is invalid.
[openSUSE:repo-oss|http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64] Failed to retrieve new repository metadata.
History:
 - [|] Error trying to read from 'http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64'
 - Timeout exceeded when accessing 'http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/content'.
   Timeout reached Curl error (28)

From what I read in previous posts the location and arch folder are already correct. Has anyone else experienced this? Perhaps is is some node in the CDN?

Check the mirrorlist and see if any of the reported mirrors for your area are functional.

What I see is

[
  {
    "prio": 0,
    "url": "https://opensuse.ipacct.com/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 1,
    "url": "https://opensuse.ipacct.com/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 2,
    "url": "https://mirrors.nxthost.com/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 3,
    "url": "https://mirrors.nxthost.com/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 4,
    "url": "https://mirror.ihost.md/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 5,
    "url": "https://mirror.ihost.md/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 6,
    "url": "https://tux.rainside.sk/opensuse/distribution/leap/16.0/repo/oss/"
  },
  {
    "prio": 7,
    "url": "https://tux.rainside.sk/opensuse/distribution/leap/16.0/repo/oss/"
  }
]

but more importantly shouldn’t the CDN have some status where one can check the health of all mirrors?

No, that is a different page ( https://mirrors.opensuse.org/ ).
Anyway I checked the first and the third mirrors in your list and both are working, as is http://download.opensuse.org/distribution/leap/16.0/repo/oss/repodata/ where the metadata comes from.
So please check now, if it doesn’t work maybe you have a firewall or something?

If you still have problems, looking at:

zypper -vvv ref

and

zypper lr -d

might help.

No, that is a different page ( https://mirrors.opensuse.org/ ).
Anyway I checked the first and the third mirrors in your list and both are working, as is http://download.opensuse.org/distribution/leap/16.0/repo/oss/repodata/ where the metadata comes from.

In any case what I first tried on my side before posting is accessing the URLs directly myself and verifying that the right folder and files exist. Definitely less sophisticated but I believe it confirmed the same suspicions successfully.

So please check now, if it doesn’t work maybe you have a firewall or something?

I don’t think just inspecting the mirrors would help and I have actually had this issue for weeks (repeated attempts) but just for the sake of explicitness I tried again and got

Retrieving repository 'repo-oss (16.0)' metadata .......................................................................................................[error]
Repository 'repo-oss (16.0)' is invalid.
[openSUSE:repo-oss|http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64] Failed to retrieve new repository metadata.
History:
 - [|] Error trying to read from 'http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64'
 - Timeout exceeded when accessing 'http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/content'.
   Timeout reached Curl error (28)

So please check now, if it doesn’t work maybe you have a firewall or something?

As I used to have this working and haven’t changed any firewall settings (and can access all other repos but this one?) I doubt this is an issue.

zypper -vvv ref

I think I tried refreshing before but not verbose. This is the outcome:

Checking whether to refresh metadata for repo-oss (16.0)
Retrieving: http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml .........................................................[error]
Retrieving repository 'repo-oss (16.0)' metadata .......................................................................................................[error]
Repository 'repo-oss (16.0)' is invalid.
[openSUSE:repo-oss|http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64] Failed to retrieve new repository metadata.
History:
 - [|] Error trying to read from 'http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64'
 - Timeout exceeded when accessing 'http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/content'.
   Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'repo-oss (16.0)' because of the above error.

And regarding

zypper -vvv ref
I see only

...
11 | openSUSE:repo-oss                     | repo-oss (16.0)                       | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64           | openSUSE
12 | openSUSE:repo-oss-debug               | repo-oss-debug (16.0)                 | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/16.0/repo/oss/x86_64     | openSUSE
13 | openSUSE:repo-oss-source              | repo-oss-source (16.0)                | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/source/distribution/leap/16.0/repo/oss           | openSUSE
14 | repo-source-non-oss                   | Source Repository (Non-OSS)           | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/source/distribution/leap/16.0/repo/non-oss/ | 

Note that all the other repos work fine before and after refreshing.

You need to remove that /x86_64 from the repo URL

That should not be a problem (the repo should be defined by the openSUSE-repos-Leap package) but I noticed that the first mirror in the OP’s list (https://opensuse.ipacct.com) might be somewhat slow when serving:

curl http://opensuse.ipacct.com/opensuse/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml

Maybe explicitly choosing another mirror can fix the problem, at least temporarily?

Thanks for the continued replies @OrsoBruno, do you have any quick hints on how to configure a different mirror (and which one you think is a good choice) in the most OpenSUSE-idiomatic way?

zypper addrepo -c -p 99 -f http://download.opensuse.org/distribution/leap/16.0/repo/oss/ "Fixed oss repo"

should do the trick. You may adjust the URI to a mirror rather than the original download-opensuse.org if you think it would better serve your area.

I think an alternative mirror works. I assume there is no established way to report the need of a fix for the current mirror? Because if it stays on more people will hit this problem with it.

You may try to contact http://www.ipacct.com/en/contactus/

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.