Repo's intermittently inaccessible

Since installing 12.3 (64 bit + KDE) I’ve been getting occasional curl errors when entering zypper commands (ref, dup). This doesn’t happen every time but effects (I think) all the active repos at one time or another. So I guess it isn’t a repo problem, but something in my software. Here’s today’s example from a zypper ref entry:

Repository ‘KDE 410 releases’ is up to date.
Download (curl) error for ‘http://download.nvidia.com/opensuse/12.3/repodata/repomd.xml’:
Error code: Connection failed
Error message: Could not resolve host: http.download.nvidia.com; Name or service not known

Abort, retry, ignore? [a/r/i/?] (a): a
Problem retrieving files from ‘nVidia Graphics Drivers’.
Download (curl) error for ‘http://download.nvidia.com/opensuse/12.3/repodata/repomd.xml’:
Error code: Connection failed
Error message: Could not resolve host: http.download.nvidia.com; Name or service not known

Please see the above error message for a hint.
Skipping repository ‘nVidia Graphics Drivers’ because of the above error.
Retrieving repository ‘Packman Repository’ metadata …[done]
Building repository ‘Packman Repository’ cache …[done]
Download (curl) error for ‘http://download.opensuse.org/distribution/12.3/repo/non-oss/content’:
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org; Name or service not known

Abort, retry, ignore? [a/r/i/?] (a): a
Problem retrieving files from ‘openSUSE-12.3-Non-Oss’.
Download (curl) error for ‘http://download.opensuse.org/distribution/12.3/repo/non-oss/content’:
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org; Name or service not known

Please see the above error message for a hint.
Skipping repository ‘openSUSE-12.3-Non-Oss’ because of the above error.
Repository ‘openSUSE-12.3-Oss’ is up to date.
Retrieving repository ‘openSUSE-12.3-Update’ metadata …[done]
Building repository ‘openSUSE-12.3-Update’ cache …[done]
Repository ‘openSUSE-12.3-Update-Non-Oss’ is up to date.
Some of the repositories have not been refreshed because of an error.

I’ve added my comments to bug 812746 on the subject, but any ideas will be gratefully received.

This looks like a DNS issue. When this happens try doing the following:

Code:

dig http.download.nvidia.com
dig download.opensuse.org

The output should have something like the following, along with a bunch of
other stuff:

Code:

;; ANSWER SECTION:
download.opensuse.org. 9 IN A 195.135.221.134

If that does not have a valid ‘ANSWER SECTION’ then DNS is not working
correctly, or maybe is filtered.

Good luck.

I am also getting this problem every now and then I get a notification telling me “Download (curl) error for ‘http://download.opensuse.org/distribution/12.3/repo/non-oss/content’: Error code: Connection failed Error message: Could not resolve host: download.opensuse.org; Name or service not known”
However I don’t think its a DNSissue as my dig download.opensuse.og seems right?
download.opensuse.org. 300 IN A 195.135.221.134

Any ideas?

On 2013-07-04 00:46, moconnell wrote:
>
> I am also getting this problem every now and then I get a notification
> telling me “Download (curl) error for
> ‘http://download.opensuse.org/distribution/12.3/repo/non-oss/content’:
> Error code: Connection failed Error message: Could not resolve host:
> download.opensuse.org; Name or service not known”
> However I don’t think its a DNSissue as my dig download.opensuse.og
> seems right?
> download.opensuse.org. 300 IN A 195.135.221.134
>
> Any ideas?

It is indeed a DNS issue, an intermittent one :slight_smile:

At the moment the download happens, there is a network problem which
first symptom is that names do not resolve.

If your problem is not intermittent, as the tittle says, then please
start your own thread with full details.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)