Error on magic self-update

Failed to fetch packages data ├─▶ error sending request for url (https://dl.modular.com/public/magic/raw/index.json) ├─▶ client error (Connect) ├─▶ dns error: failed to lookup address information: Try again ╰─▶ failed to lookup address information: Try again
5 Replies
Caroline
Caroline4mo ago
can you share what prints when you run magic info?
Ehsan M. Kermani (Modular)
Please create an issue and fill in the details https://github.com/modularml/max/issues
GitHub
Issues · modularml/max
A collection of sample programs, notebooks, and tools which highlight the power of the MAX Platform - Issues · modularml/max
xentropy
xentropy3mo ago
Ever figure this out? I'm running into the same issue on arch.
Ehsan M. Kermani (Modular)
Please provide more details. There's also a new magic release so can do magic self-update
xentropy
xentropy3mo ago
I was able to work this out. magic self-update was crashing too. It turned out, dns via systemd-resolved was incorrectly configured on my system, resulting in hostnames resolving correctly for most apps, but incorrectly for some. Curl, wget, ping, etc, all worked fine, but magic, nslookup, dig, and others were failing. If anybody else has this issue, I suggest examining how dns is configured on your system.

Did you find this page helpful?