Opened 13 months ago
Closed 12 months ago
#68563 closed defect (fixed)
intermittent 503 errors from {packages,distfiles}.macports.org
Reported by: | barracuda156 | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | server/hosting | Version: | |
Keywords: | Cc: | contextnerror, chrstphrchvz (Christopher Chavez), rrze-ftp-admins@… | |
Port: |
Description
See what is going on here, for example: https://github.com/macports/macports-ports/pull/21078 Also both R-related PRs.
Change History (23)
comment:1 follow-up: 2 Changed 13 months ago by jmroot (Joshua Root)
Component: | buildbot/mpbb → server/hosting |
---|
comment:2 Changed 13 months ago by barracuda156
Replying to jmroot:
Doesn't look like anything that could be fixed in the buildbot or mpbb code.
Got it, sorry. I just did not understand what happened :)
comment:3 Changed 13 months ago by jmroot (Joshua Root)
Summary: | CI again broken → intermittent 503 errors from {packages,distfiles}.macports.org |
---|
comment:4 Changed 13 months ago by jmroot (Joshua Root)
In 9a735472646136ff02cffc9399fabe2cf8e6fa94/mpbb (master):
comment:5 Changed 13 months ago by jmroot (Joshua Root)
Has anyone seen this outside of CI? It's possible it's an issue with GitHub's network, if they're using a proxy or something like that.
comment:6 Changed 13 months ago by kencu (Ken)
I have been reading that a number of projects (eg gmp) have been firewalling Microsoft’s servers lately due to massive overuse coming from GitHub.
If that might be related to this…
comment:7 Changed 13 months ago by jmroot (Joshua Root)
Unlikely to be related unless Fastly is doing the same. I do get this from https://www.macports.org/news/ at the moment:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>503 Service Unavailable</title> </head><body> <h1>Service Unavailable</h1> <p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p> <hr> <address>Apache/2.4.38 (Debian) Server at www.macports.org Port 443</address> </body></html>
comment:8 Changed 13 months ago by jmroot (Joshua Root)
According to the CDN stats, the significant numbers of 503s started late on the 24th and got much more frequent on subsequent days.
comment:9 Changed 13 months ago by markloch (Mark Lochridge)
EDIT: installing libmagic @1030AM PT 27OCT was successful, so apparently not repeatable ...
New user here, here's a repeatable case (on my part at least): install of libmagic consistently failing with error 503.
This first occurred while installing zeek. All other packages installed without issue. Installing libmagic separately yields the following, same results last night and this morning:
% sudo ./port install libmagic Password: ---> Computing dependencies for libmagic ---> Fetching archive for libmagic Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers> ---> Attempting to fetch libmagic-5.45_0.darwin_22.x86_64.tbz2 from https://packages.macports.org/libmagic ---> Attempting to fetch libmagic-5.45_0.darwin_22.x86_64.tbz2.rmd160 from https://packages.macports.org/libmagic Error: Failed to archivefetch libmagic: Failed to fetch signature for archive: The requested URL returned error: 503 Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_file/libmagic/main.log for details.
comment:10 Changed 13 months ago by contextnerror
Cc: | contextnerror added |
---|
comment:11 follow-up: 13 Changed 13 months ago by chrstphrchvz (Christopher Chavez)
Can the CI use a distfile/package mirror for now? https://github.com/macports/macports-ports/pull/21115
comment:12 Changed 13 months ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:13 Changed 13 months ago by aeiouaeiouaeiouaeiouaeiouaeiou
Now failed access to ftp.fau.de: https://github.com/macports/macports-ports/pull/21121/checks
curl: (28) Failed to connect to ftp.fau.de port 443 after 75020 ms: Couldn't connect to server
comment:14 Changed 13 months ago by jmroot (Joshua Root)
If it's the origin server having problems, temporarily removing both it and the CDN from the list should work around the problem for everyone.
comment:15 Changed 13 months ago by jmroot (Joshua Root)
Cc: | rrze-ftp-admins@… added |
---|
comment:16 Changed 13 months ago by jmroot (Joshua Root)
comment:17 follow-up: 19 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
mpbb is intentionally programmed to only use the main sites and not any mirrors:
https://github.com/macports/mpbb/blob/9a735472646136ff02cffc9399fabe2cf8e6fa94/mpbb-checkout#L214
(mirror.fcix.net is an unintended exception to the rule because it does not use a macports.org hostname.)
This works fine for everything except the Apple Silicon build workers because they all live on the same network where local DNS rules map distfiles.macports.org to the private server.
The Apple Silicon build workers are at a different data center and will be talking to the real distfiles.macports.org.
comment:18 Changed 13 months ago by chrstphrchvz (Christopher Chavez)
comment:19 Changed 13 months ago by jmroot (Joshua Root)
Replying to ryandesign:
mpbb is intentionally programmed to only use the main sites and not any mirrors:
GitHub Actions is a slightly different situation again. It uses some mpbb commands but not mpbb checkout
, but sets up a very similar macports.conf itself.
comment:20 Changed 13 months ago by jmroot (Joshua Root)
The FAU admins indicated by email that the problem seemed to be an unusual type of DDoS, and should now be resolved. CDN stats agree, so I'll revert the workarounds and continue to monitor for a bit.
comment:21 Changed 13 months ago by jmroot (Joshua Root)
comment:22 Changed 13 months ago by jmroot (Joshua Root)
comment:23 Changed 12 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Doesn't look like anything that could be fixed in the buildbot or mpbb code.