http://bugzilla.opensuse.org/show_bug.cgi?id=1191319 Bug ID: 1191319 Summary: Occasional redirect loop on download.opensuse.org Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService Assignee: screening-team-bugs@suse.de Reporter: d-susecom@lublin.se QA Contact: adrian.schroeter@suse.com Found By: --- Blocker: --- I'm occasionally/periodically seeing a redirect loop on the following URL: https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... This is an Opensuse build system user's personal Arch Linux package repo. Here is a log where I run into the issue when using pacman to update the database and upgrade packages. Using curl to examine the loop. ``` 1145 ~ sn 1145 130 ~ pacman --debug -Syu error: you cannot perform this operation unless you are root. 1145 1 ~ doas pacman --debug -Syu debug: pacman v6.0.1 - libalpm v13.0.1 debug: config: attempting to read file /etc/pacman.conf debug: config: new section 'options' debug: config: HoldPkg: pacman debug: config: HoldPkg: glibc debug: config: Architecture: auto debug: config: arch: x86_64 debug: config: SigLevel: Required debug: config: SigLevel: DatabaseOptional debug: config: LocalFileSigLevel: Optional debug: config: new section 'core' debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist debug: config: new section 'extra' debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist debug: config: new section 'community' debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist debug: config: new section 'home_justkidding_arch_Arch' debug: config: new section 'options' debug: config: IgnorePkg: linux debug: config: IgnorePkg: linux-headers debug: config: IgnorePkg: linux-docs debug: config: IgnorePkg: linux-lts debug: config: IgnorePkg: linux-lts-headers debug: config: IgnorePkg: linux-lts-docs debug: config: IgnorePkg: linux-firmware debug: config: IgnorePkg: linux-api-headers debug: config: IgnorePkg: wireguard-tools debug: config: IgnorePkg: wireguard-dkms debug: config: IgnorePkg: wireguard-lts debug: config: IgnorePkg: android-studio debug: config: IgnorePkg: wxgtk2 debug: config: IgnorePkg: erlang debug: config: IgnorePkg: elixir debug: config: IgnorePkg: firebase-tools debug: config: IgnorePkg: google-cloud-sdk debug: config: finished parsing /etc/pacman.conf debug: setup_libalpm called debug: option 'logfile' = /var/log/pacman.log debug: option 'gpgdir' = /etc/pacman.d/gnupg/ debug: option 'hookdir' = /etc/pacman.d/hooks/ debug: option 'cachedir' = /var/cache/pacman/pkg/ debug: registering sync database 'core' debug: database path for tree core set to /var/lib/pacman/sync/core.db debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for core repository debug: adding new server URL to database 'core': http://ftp.myrveln.se/pub/linux/archlinux/core/os/x86_64 debug: registering sync database 'extra' debug: database path for tree extra set to /var/lib/pacman/sync/extra.db debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for extra repository debug: adding new server URL to database 'extra': http://ftp.myrveln.se/pub/linux/archlinux/extra/os/x86_64 debug: registering sync database 'community' debug: database path for tree community set to /var/lib/pacman/sync/community.db debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for community repository debug: adding new server URL to database 'community': http://ftp.myrveln.se/pub/linux/archlinux/community/os/x86_64 debug: registering sync database 'home_justkidding_arch_Arch' debug: database path for tree home_justkidding_arch_Arch set to /var/lib/pacman/sync/home_justkidding_arch_Arch.db debug: GPGME version: 1.16.0 debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/ debug: checking signature for /var/lib/pacman/sync/home_justkidding_arch_Arch.db debug: 1 signatures returned debug: fingerprint: 7627D0F8F60FBA35371A29E1AA6B2752759F9361 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1633403887 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 7627D0F8F60FBA35371A29E1AA6B2752759F9361, home:justkidding OBS Project <home:justkidding@build.opensuse.org>, owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for home_justkidding_arch_Arch repository debug: adding new server URL to database 'home_justkidding_arch_Arch': https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... :: Synchronizing package databases... core downloading... extra downloading... community downloading... home_justkidding_arch_Arch downloading... debug: core.db: url is http://ftp.myrveln.se/pub/linux/archlinux/core/os/x86_64/core.db debug: core.db: maxsize 134217728 debug: core.db: using time condition 1633371208 debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb) debug: core.db: curl returned result 0 from transfer debug: core.db: response code 200 debug: core.db.sig: url is http://ftp.myrveln.se/pub/linux/archlinux/core/os/x86_64/core.db.sig debug: core.db.sig: maxsize 16384 debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb) debug: core.db: file met time condition debug: core.db.sig: curl returned result 0 from transfer debug: core.db.sig: response code 404 debug: core.db.sig: no more servers to retry debug: extra.db: url is http://ftp.myrveln.se/pub/linux/archlinux/extra/os/x86_64/extra.db debug: extra.db: maxsize 134217728 debug: extra.db: using time condition 1633415190 debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb) debug: extra.db: curl returned result 0 from transfer debug: extra.db: response code 200 debug: extra.db.sig: url is http://ftp.myrveln.se/pub/linux/archlinux/extra/os/x86_64/extra.db.sig debug: extra.db.sig: maxsize 16384 debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb) debug: extra.db: file met time condition debug: extra.db.sig: curl returned result 0 from transfer debug: extra.db.sig: response code 404 debug: extra.db.sig: no more servers to retry debug: community.db: url is http://ftp.myrveln.se/pub/linux/archlinux/community/os/x86_64/community.db debug: community.db: maxsize 134217728 debug: community.db: using time condition 1633420473 debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb) debug: community.db: curl returned result 0 from transfer debug: community.db: response code 200 debug: community.db.sig: url is http://ftp.myrveln.se/pub/linux/archlinux/community/os/x86_64/community.db.s... debug: community.db.sig: maxsize 16384 debug: community.db.sig: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb) debug: community.db: file met time condition debug: community.db.sig: curl returned result 0 from transfer debug: community.db.sig: response code 404 debug: community.db.sig: no more servers to retry debug: home_justkidding_arch_Arch.db: url is https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... debug: home_justkidding_arch_Arch.db: maxsize 134217728 debug: home_justkidding_arch_Arch.db: using time condition 1633403887 debug: home_justkidding_arch_Arch.db: opened tempfile for download: /var/lib/pacman/sync/home_justkidding_arch_Arch.db.part (wb) debug: home_justkidding_arch_Arch.db: curl returned result 47 from transfer error: failed retrieving file 'home_justkidding_arch_Arch.db' from download.opensuse.org : Maximum (10) redirects followed debug: home_justkidding_arch_Arch.db: no more servers to retry debug: curl_download_internal return code is -1 debug: failed to sync dbs: download library error error: failed to synchronize all databases (download library error) debug: unregistering database 'local' debug: unregistering database 'core' debug: unregistering database 'extra' debug: unregistering database 'community' debug: unregistering database 'home_justkidding_arch_Arch' 1145 1 ~ curl -I https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... HTTP/2 302 date: Tue, 05 Oct 2021 09:46:01 GMT server: Apache location: https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... content-type: text/html; charset=iso-8859-1 1146 ~ curl -I https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... HTTP/2 302 date: Tue, 05 Oct 2021 09:46:12 GMT content-length: 0 location: https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=15768000 1146 ~ curl -I https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... HTTP/2 302 location: https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... date: Tue, 05 Oct 2021 09:46:20 GMT content-length: 0 x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=31536000;includeSubDomains;preload 1146 ~ curl -I https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... HTTP/2 302 content-length: 0 location: https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... date: Tue, 05 Oct 2021 09:46:34 GMT x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=15768000 1146 ~ curl -I https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... HTTP/2 302 content-length: 0 location: https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... date: Tue, 05 Oct 2021 09:46:44 GMT x-frame-options: SAMEORIGIN x-xss-protec 1145 ~ sn 1145 130 ~ pacman --debug -Syu error: you cannot perform this operation unless you are root. 1145 1 ~ doas pacman --debug -Syu debug: pacman v6.0.1 - libalpm v13.0.1 debug: config: attempting to read file /etc/pacman.conf debug: config: new section 'options' debug: config: HoldPkg: pacman debug: config: HoldPkg: glibc debug: config: Architecture: auto debug: config: arch: x86_64 debug: config: SigLevel: Required debug: config: SigLevel: DatabaseOptional debug: config: LocalFileSigLevel: Optional debug: config: new section 'core' debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist debug: config: new section 'extra' debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist debug: config: new section 'community' debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist debug: config: new section 'home_justkidding_arch_Arch' debug: config: new section 'options' debug: config: IgnorePkg: linux debug: config: IgnorePkg: linux-headers debug: config: IgnorePkg: linux-docs debug: config: IgnorePkg: linux-lts debug: config: IgnorePkg: linux-lts-headers debug: config: IgnorePkg: linux-lts-docs debug: config: IgnorePkg: linux-firmware debug: config: IgnorePkg: linux-api-headers debug: config: IgnorePkg: wireguard-tools debug: config: IgnorePkg: wireguard-dkms debug: config: IgnorePkg: wireguard-lts debug: config: IgnorePkg: android-studio debug: config: IgnorePkg: wxgtk2 debug: config: IgnorePkg: erlang debug: config: IgnorePkg: elixir debug: config: IgnorePkg: firebase-tools debug: config: IgnorePkg: google-cloud-sdk debug: config: finished parsing /etc/pacman.conf debug: setup_libalpm called debug: option 'logfile' = /var/log/pacman.log debug: option 'gpgdir' = /etc/pacman.d/gnupg/ debug: option 'hookdir' = /etc/pacman.d/hooks/ debug: option 'cachedir' = /var/cache/pacman/pkg/ debug: registering sync database 'core' debug: database path for tree core set to /var/lib/pacman/sync/core.db debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for core repository debug: adding new server URL to database 'core': http://ftp.myrveln.se/pub/linux/archlinux/core/os/x86_64 debug: registering sync database 'extra' debug: database path for tree extra set to /var/lib/pacman/sync/extra.db debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for extra repository debug: adding new server URL to database 'extra': http://ftp.myrveln.se/pub/linux/archlinux/extra/os/x86_64 debug: registering sync database 'community' debug: database path for tree community set to /var/lib/pacman/sync/community.db debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for community repository debug: adding new server URL to database 'community': http://ftp.myrveln.se/pub/linux/archlinux/community/os/x86_64 debug: registering sync database 'home_justkidding_arch_Arch' debug: database path for tree home_justkidding_arch_Arch set to /var/lib/pacman/sync/home_justkidding_arch_Arch.db debug: GPGME version: 1.16.0 debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/ debug: checking signature for /var/lib/pacman/sync/home_justkidding_arch_Arch.db debug: 1 signatures returned debug: fingerprint: 7627D0F8F60FBA35371A29E1AA6B2752759F9361 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1633403887 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 7627D0F8F60FBA35371A29E1AA6B2752759F9361, home:justkidding OBS Project <home:justkidding@build.opensuse.org>, owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for home_justkidding_arch_Arch repository debug: adding new server URL to database 'home_justkidding_arch_Arch': https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... :: Synchronizing package databases... core downloading... extra downloading... community downloading... home_justkidding_arch_Arch downloading... debug: core.db: url is http://ftp.myrveln.se/pub/linux/archlinux/core/os/x86_64/core.db debug: core.db: maxsize 134217728 debug: core.db: using time condition 1633371208 debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb) debug: core.db: curl returned result 0 from transfer debug: core.db: response code 200 debug: core.db.sig: url is http://ftp.myrveln.se/pub/linux/archlinux/core/os/x86_64/core.db.sig debug: core.db.sig: maxsize 16384 debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb) debug: core.db: file met time condition debug: core.db.sig: curl returned result 0 from transfer debug: core.db.sig: response code 404 debug: core.db.sig: no more servers to retry debug: extra.db: url is http://ftp.myrveln.se/pub/linux/archlinux/extra/os/x86_64/extra.db debug: extra.db: maxsize 134217728 debug: extra.db: using time condition 1633415190 debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb) debug: extra.db: curl returned result 0 from transfer debug: extra.db: response code 200 debug: extra.db.sig: url is http://ftp.myrveln.se/pub/linux/archlinux/extra/os/x86_64/extra.db.sig debug: extra.db.sig: maxsize 16384 debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb) debug: extra.db: file met time condition debug: extra.db.sig: curl returned result 0 from transfer debug: extra.db.sig: response code 404 debug: extra.db.sig: no more servers to retry debug: community.db: url is http://ftp.myrveln.se/pub/linux/archlinux/community/os/x86_64/community.db debug: community.db: maxsize 134217728 debug: community.db: using time condition 1633420473 debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb) debug: community.db: curl returned result 0 from transfer debug: community.db: response code 200 debug: community.db.sig: url is http://ftp.myrveln.se/pub/linux/archlinux/community/os/x86_64/community.db.s... debug: community.db.sig: maxsize 16384 debug: community.db.sig: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb) debug: community.db: file met time condition debug: community.db.sig: curl returned result 0 from transfer debug: community.db.sig: response code 404 debug: community.db.sig: no more servers to retry debug: home_justkidding_arch_Arch.db: url is https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... debug: home_justkidding_arch_Arch.db: maxsize 134217728 debug: home_justkidding_arch_Arch.db: using time condition 1633403887 debug: home_justkidding_arch_Arch.db: opened tempfile for download: /var/lib/pacman/sync/home_justkidding_arch_Arch.db.part (wb) debug: home_justkidding_arch_Arch.db: curl returned result 47 from transfer error: failed retrieving file 'home_justkidding_arch_Arch.db' from download.opensuse.org : Maximum (10) redirects followed debug: home_justkidding_arch_Arch.db: no more servers to retry debug: curl_download_internal return code is -1 debug: failed to sync dbs: download library error error: failed to synchronize all databases (download library error) debug: unregistering database 'local' debug: unregistering database 'core' debug: unregistering database 'extra' debug: unregistering database 'community' debug: unregistering database 'home_justkidding_arch_Arch' 1145 1 ~ curl -I https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_... HTTP/2 302 date: Tue, 05 Oct 2021 09:46:01 GMT server: Apache location: https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... content-type: text/html; charset=iso-8859-1 1146 ~ curl -I https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... HTTP/2 302 date: Tue, 05 Oct 2021 09:46:12 GMT content-length: 0 location: https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=15768000 1146 ~ curl -I https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... HTTP/2 302 location: https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... date: Tue, 05 Oct 2021 09:46:20 GMT content-length: 0 x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=31536000;includeSubDomains;preload 1146 ~ curl -I https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... HTTP/2 302 content-length: 0 location: https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... date: Tue, 05 Oct 2021 09:46:34 GMT x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=15768000 1146 ~ curl -I https://mirrorcache-us.opensuse.org/repositories/home:/justkidding:/arch/Arc... HTTP/2 302 content-length: 0 location: https://mirrorcache.opensuse.org/repositories/home:/justkidding:/arch/Arch/x... date: Tue, 05 Oct 2021 09:46:44 GMT x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=31536000;includeSubDomains;preload 1147 ~ tion: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=31536000;includeSubDomains;preload 1147 ~ ``` -- You are receiving this mail because: You are on the CC list for the bug.