Where does the bug appear (feature/product)?
Grok Bot
Describe the Bug
Since about Oct 29, apt-get update and apt-get install on my bot’s computer fail with HTTP 500 errors from the Debian mirrors. It runs stock Debian 13.7 with the stock debian.sources, has no proxy configured, and the dpkg audit is clean. apt worked through at least Oct 26.
Cause: apt looks up the SRV record _http._tcp.deb.debian.org, which correctly points to debian.map.fastlydns.net. The box resolver (10.0.0.2) answers that name with 198.18.0.1, the egress relay, and the relay (Server: Pingora) returns HTTP 500 with an empty body, even with Host: deb.debian.org.
| Name | Box resolver | Public DNS (8.8.8.8) |
|---|---|---|
deb.debian.org |
real Fastly IP | real Fastly IP |
debian.map.fastlydns.net |
198.18.0.1 | real Fastly IP |
security.debian.org |
198.18.0.1 | real IP |
ftp.debian.org |
198.18.0.1 | real IP |
Workaround: add Acquire::EnableSrvRecords "false"; in /etc/apt/apt.conf.d/ (documented in apt.conf(5)). apt then uses the plain A record for deb.debian.org, which resolves correctly. A rebuild of the computer wipes /etc, so we re-apply this with a setup script in /workspace.
Expected: apt works with the stock config. Either the resolver returns real addresses for these mirror hostnames, or the relay passes them through and doesn’t return 500.
Likely related: this looks like the same relay misrouting that breaks SSH to GitHub by hostname:
- forum topic 173504 (SSH egress to github.com)
- forum topic 175340 (non-443 traffic by hostname)
Steps to Reproduce
Run apt-get update on the bot computer (stock Debian 13.7, no proxy). See description above.
Expected Behavior
apt works with the stock config (see description above).
Operating System
Linux
Version Information
Grok Bot computer: Debian 13.7
Does this stop you from using Cursor
No - Cursor works, but with this issue