Zypper refresh fails on timeout. Curl/wget on that file also. Firefox can download without problem

I have a very strange problem…
I wanted to upgrade to LEAP 15.3. So i ran

zypper --releasever=15.3 ref

to refresh the repo’s to 15.3. But it fails with a timeout on repo-oss…

Repository 'Hoofd-opslagruimte' is invalid.
[repo-oss|http://download.opensuse.org/distribution/leap/15.3/repo/oss/] Valid metadata not found at specified URL
History:
 - Timeout exceeded when accessing 'http://download.opensuse.org/distribution/leap/15.3/repo/oss/repodata/edc2f9dcc2cd5ad27a35d763943aeb883e3bb2e9624c6d006c05ad349f6b0bfc-primary.xml.gz'.
 - Can't provide ./repodata/edc2f9dcc2cd5ad27a35d763943aeb883e3bb2e9624c6d006c05ad349f6b0bfc-primary.xml.gz

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Hoofd-opslagruimte' because of the above error.

So to check the file, I tried downloading it with wget and there I see wget stalls at 20.02MB of the 23.7MB… and never finishes. After wget times out, it retries by resuming the download, but it then still stalls until it again times out.
If I use curl, I see the same thing. stall exactly at 20.02MB
I rebooted my pc, still the same
I checked filesystem, plenty of space
tried a different filesystem, still the same
download that file using firefox: no problem, download completes…
I tried downloading through a proxy server, still the same
I tried downloading from 10 or so different mirror… all still the same…
I tried downloading an iso from download.opensuse.org. Download completes succesfully
I tried downloading a different repodatafile (https://download.opensuse.org/distribution/leap/15.3/repo/oss/repodata/f6357c57f330614e47c9b6250392a52d37096e1e7293090a483e3ef317b71197-filelists.xml.gz) … this one downloads up to 14.37MB of the 65M and then stalls…
I tried downloading as a different user, still the same…
I’ve reset my router, still the same
I’ve reset my wifi access point, still the same
I tried it on a different PC (running tumbleweed)… it downloads without problem…

I see nothing suspicious in journal…

I’m out of idea’s… and I don’t understand why these 2 files, no matter where I download them from, are stalling always on the exact same point when using curl/wget/zypper… but not in firefox…

I tried refreshing the repos again to 15.2… and this finishes without problem. I checked the files there, but only 1 file exceeds 20MB, but also manually downloading that file (33M) using wget, just works without problem…

What could be the cause for wget/curl failing to download 15.3 repo-files ?

Update: I tried plugging the pc in the network using a cable… and suddenly it works…
But I still would like to know what is going on here…

Maybe the mirror you are offered to use isn’t up-to-date?

That was what I was thinking too, initially… but using firefox, or from another PC, I downloaded the file correctly from the same mirror.
on the other hand I tried downloading the file from 10-some different mirrors both in EU en US… all gave the same problem and stalled at the exact same point…

Kust to have a starting point. Please show your repo list with indication about the releasever feature

zypper --releasever FOOBAR lr -d

I’m assuming it has something to do with the wifi driver or so… as it all just worked as soon as I plugged in a cable…
strange though that firefox did not need cable to succesfully download that file… neither do other PC’s on the wifi…

Anyway the output of zypper lr:

#  | Alias                                | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                               | Service
---+--------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------+--------
 1 | Microsoft Teams                      | Microsoft Teams                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://packages.microsoft.com/yumrepos/ms-teams                                  | 
 2 | Microsoft Visual Code                | Microsoft Visual Code                                                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://packages.microsoft.com/yumrepos/vscode                                    | 
 3 | gitlab.com_paulcarroty_vscodium_repo | gitlab.com_paulcarroty_vscodium_repo                                                        | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/                         | 
 4 | network                              | Networking services and related tools (openSUSE_Leap_15.3)                                  | Yes     | (r ) Yes  | Yes     |  100     | rpm-md | http://download.opensuse.org/repositories/network/openSUSE_Leap_15.3/             | 
 5 | network_im_signal                    | Signal messaging devel project (openSUSE_Leap_15.3)                                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/network:/im:/signal/openSUSE_Leap_15.3/ | 
 6 | openSUSE-Leap-${releasever}-1        | openSUSE-Leap-15.3-1                                                                        | No      | ----      | ----    |   99     | NONE   | hd:/?device=/dev/disk/by-id/usb-090c_1000-0:0-part2                               | 
 7 | packman                              | Packman                                                                                     | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/               | 
 8 | repo-backports-debug-update          | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/leap/15.3/backports_debug/                    | 
 9 | repo-backports-update                | Update repository of openSUSE Backports                                                     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/update/leap/15.3/backports/                          | 
10 | repo-debug                           | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/               | 
11 | repo-debug-non-oss                   | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/           | 
12 | repo-debug-update                    | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/oss/                          | 
13 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/non-oss/                      | 
14 | repo-non-oss                         | Non-OSS opslagruimte                                                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/                 | 
15 | repo-oss                             | Hoofd-opslagruimte                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/                     | 
16 | repo-sle-update                      | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/update/leap/15.3/sle/                                | 
17 | repo-source                          | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/              | 
18 | repo-source-non-oss                  | Source Repository (Non-OSS)                                                                 | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.3/repo/non-oss/          | 
19 | repo-update                          | Hoofd-opslagruimte voor bijwerken                                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/oss                                 | 
20 | repo-update-non-oss                  | Opslagruimte voor bijwerken (niet-Oss)                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/                            | 
21 | teams                                | teams                                                                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://packages.microsoft.com/yumrepos/ms-teams                                  | 

OK, when it works with the cable, the idea of looking at the repo list is not very useful. :wink:

BTW, next time you post something created by a command in the terminal, copy/paste one more line at the begin. Then we have the command (and the prompt, which may also be interesting in some cases), and the output in one CODE block. And you can forget to type things like “the output of zypper lr:”

Users may:

  • Maximise the konsole window
  • Clear the screen by typing CTRL+L
  • Run the command.
  • Select all text by holding down the left mouse key and dragging the cursor to the left upper corner.
  • Copy and deselect by left click.
  • Paste into editor field by clicking the mouse wheel:

3400G:~ # zypper lr -uEP
#  | Alias                            | Name                                         | Enabled | GPG Check | Refresh | Priority | URI
---+----------------------------------+----------------------------------------------+---------+-----------+---------+----------+------------------------------------------------------------------------
21 | packman                          | packman                                      | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/
 8 | download.opensuse.org-non-oss    | Haupt-Repository (NON-OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/non-oss/
 9 | download.opensuse.org-oss        | Haupt-Repository (OSS)                       | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/oss/
10 | download.opensuse.org-tumbleweed | Hauptaktualisierungs-Repository              | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/
12 | google-chrome                    | google-chrome                                | Yes     | (r ) Yes  | Yes     |   99     | http://dl.google.com/linux/chrome/rpm/stable/x86_64
18 | mozilla                          | Mozilla based projects (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/
 2 | BellSoft                         | BellSoft Repository                          | Yes     | ( p) Yes  | Yes     |  100     | https://yum.bell-sw.com/
16 | jalbum                           | jalbum                                       | Yes     | (  ) No   | Yes     |  100     | http://jalbum.net/download/software/yumrepo/
3400G:~ #