Event Timeline
(Just noting for myself tbh)
- Set up as per https://gerrit.wikimedia.org/g/mediawiki/core/+/HEAD/DEVELOPERS.md
- Getting a 503 Service Unavailable when trying to navigate to http://localhost:8080/wiki/Main_Page
- Fresh install of Docker Desktop for MacOS (v4.21.1 (114176))
- Using Docker's new "Rosetta virtualization feature" (nb. https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment)
- Not yet tried with this turned off, will do next
I think @Jdforrester-WMF was getting similar a few days back, FWIW. Suspect something may have changed here either with recent image rebuilds or maybe (less likely) with Docker? So far I've only seen this for 2 Mac users; unclear if it's affecting other platforms.
Yeah, sadly I too had to turn off Rosetta and suddenly it worked. :-( I really should file an upstream bug that their Rosetta set-up seems to block image<->image network traffic somehow.
Faced the same issue today after upgrading to Sonoma 14.2. Although I hadn't specifically checked the Rosetta box, I was getting a 503 error. Unticking the box in the Docker settings resolved the issue.
I've created https://gerrit.wikimedia.org/r/c/mediawiki/core/+/983161 to add a note about this to DEVELOPERS.md — I guess an actual task for tracking this might be warranted at this point, instead of just using this paste..?
This has almost certainly been resolved in new Docker / Docker Desktop versions on Mac
The paste references Docker Desktop version 4.21.1, but the latest version is 4.37.1
( I use Mediawiki daily on M1 Mac via Rosetta user via https://gitlab.wikimedia.org/repos/qte/mediawiki-quickstart )
( When testing be sure to not only bring containers down, but also do docker system prune -af to purge image caches )
For what it is worth, I have had no problems in the last year on an M3 Max MacBook Pro when using "Apple Virtualization framework" as my Docker Desktop VMM with Rosetta emulation enabled and VirtioFS file sharing.
$ docker version Client: Version: 27.4.0 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Sat Dec 7 10:35:43 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.37.1 (178610) Engine: Version: 27.4.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Sat Dec 7 10:38:33 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
