タイトルがすべてです。 こういう日もある。
registry.yarnpkg.com

コンテナのビルドコケるな〜? と調べていたら yarnpkg にリクエストしている所で 502 Bad Gateway が出ており「ナンデ?!」という顔になっていた。
yarnpkg のホスティング元
nslookup したら以下のような具合。
❯ nslookup registry.yarnpkg.com Server: 192.168.100.1 Address: 192.168.100.1#53 Non-authoritative answer: registry.yarnpkg.com canonical name = yarn.npmjs.org. Name: yarn.npmjs.org Address: 104.16.2.35 Name: yarn.npmjs.org Address: 104.16.24.34 Name: yarn.npmjs.org Address: 104.16.28.34 Name: yarn.npmjs.org Address: 104.16.25.34 Name: yarn.npmjs.org Address: 104.16.26.34 Name: yarn.npmjs.org Address: 104.16.27.34 Name: yarn.npmjs.org Address: 104.16.30.34 Name: yarn.npmjs.org Address: 104.16.29.34 Name: yarn.npmjs.org Address: 104.16.0.35 Name: yarn.npmjs.org Address: 104.16.31.34 Name: yarn.npmjs.org Address: 104.16.3.35 Name: yarn.npmjs.org Address: 104.16.1.35
別のタイミングで実行したときは 104.8.0.0/24 あたりも出てきたので、どちらにしろ 104.0.0.0/8 っぽいな〜これどこだっけ? と調べた所 Cloudflare で、ステータスページを確認したら、ちょうどスケジュールメンテナンスに入った所だった。
EWR (Newark) on 2025-07-22 In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary. Jul 22, 2025 - 06:00 UTC Scheduled - We will be performing scheduled maintenance in EWR (Newark) datacenter on 2025-07-22 between 06:00 and 12:00 UTC.
Traffic might be re-routed from this location, hence there is a possibility of a slight increase in latency during this maintenance window for end-users in the affected region. For PNI / CNI customers connecting with us in this location, please make sure you are expecting this traffic to fail over elsewhere during this maintenance window as network interfaces in this datacentre may become temporarily unavailable.
You can now subscribe to these notifications via Cloudflare dashboard and receive these updates directly via email, PagerDuty and webhooks (based on your plan): https://developers.cloudflare.com/notifications/notification-available/#cloudflare-status. Jul 22, 2025 06:00-12:00 UTC
ちょっと時間たってから確認したら「ブエノスアイレスあたりでもメンテやってるよ」という告知が出てきたので、まあどっちにしろメンテ事由ですね。
という訳で
こんな日もあるさ、というお話でした。
最初「Dockerfile 変更しおったか?!」と悩んでいたのはまた別のお話。 git log -p Docker/Dockerfile 叩いても変更なくて焦っちゃったね。