- From: Franck Martin <franck@peachymango.org>
- Date: Mon, 20 Jul 2026 14:15:01 -0500 (CDT)
- To: Mark Nottingham <mnot@mnot.net>
- Cc: ietf-http-wg <ietf-http-wg@w3.org>, mt@lowentropy.net
- Message-Id: <1813618076.7970556.1784574901475.JavaMail.zimbra@zmcc-3-mailbox-1.zmailcloud.co>
Mark,
> On Jul 20, 2026, at 00:26, Mark Nottingham <mnot@mnot.net> wrote:
>
> Franck,
>
> My personal .02 (chair hat off) --
>
> New status codes in HTTP are rare: the space available is constrained, and so the bar for establishing new ones is fairly high. This is by design: HTTP benefits from having a constrained, common set of methods and status codes that are widely understood.
>
> Probably the most important question here is why a status code is required to meet your use case. Generally we look for cases where a) the nature of the information conveyed in the status code is fundamental to interpreting the message, and b) generic HTTP software (e.g., browsers, intermediaries, caches) does something with that information.
Its more my experience with monitoring software to monitor the status error code. A jump of 503 errors is not the same as a jump in 566 errors. They tend (out of the box) to not go in the sub-details of the error code. For instance Promotheus+Graphana only store http_requests_total by error code. it would need to be patched to show 503+Retry-Over-IPv6.
That being said, thanks for explaining to me where the bar is, and if I have enough arguments to pass it.
>
> You highlight that this is intended for closed system deployment (i.e., where the client and server behaviour is coordinated). By nature, generic software won't be handling these semantics. Merely surfacing the information in logs as a convenience isn't likely to be convincing (because that would put unreasonable pressure on the status code registry due to an explosion of interesting things to log).
I tried to explain in the draft, that in a closed system deployment, you don’t control the software there and it will need to have some common libraries to be patched to minimise (un)happy eyeballs and weird end point selectors. And while, a closed system is likely where we would see this first, I expect, it will also be used on the public Internet. The secondary goal is to surface all the bad software out there, like I have noticed that iOS/iPadOS do not prefer IPv6 in their HE implementation, and I’m not sure how long it will take to fix it. Getting macOS to use option 39 in DHCPv6 took more than 5 years… but I’m digressing (ranting?).
As I explain, removing the A record in the DNS, is not something you can control, nor rollback easily. For instance my ISP intercepts all my DNS requests and rewrite them to their liking with sometimes too much caching (and in closed environment DNS client implementations are a patchwork of bad ideas on how DNS can be implemented and optimized)… so the problem I’m trying to solve is: how to do an IPv4 outage in software (with HTTP) rather than via the infrastructure (DNS/routing), because there are way more controls in software.
I feel (may be I’m misguided) that few have tried to remove IPv4 on large scale systems, to fully understand the problem space (I tried to capture this in another draft: https://datatracker.ietf.org/doc/draft-martin-deploying-ipv6-data-center/)
>
> I suspect what you should be doing is using an existing status code (e.g., 500) along with a descriptive body. If you need something machine-readable, defining a response header might be appropriate.
This is an interesting perspective, the drafts already mention using 503 till 566 is registered, may be there is no need for a new error code, just new headers. I’m not sure a new content-type is needed as Martin Thomson suggests as we need new headers (not all clients parse the body, (and we will still have occurrences of a human readable body) as application/problem+json exists and it would be already parsed by software.
So this could look like this:
HTTP/1.1 503 Service Unavailable
Retry-Over-IPv6: ?1
IPv4-Unavailable-Until: Sun, 07 Jun 2026 00:00:00 GMT
Retry-Over-IPv6-Token: "a1b2c3d4e5f6"
Content-Type: application/problem+json
Cache-Control: private, no-store
{
"type": "https://iana.org/assignments/problem-details/ipv4-unavailable",
"title": "IPv4 Unavailable",
"status": 503,
"detail": "IPv4 unavailable until 2026-06-07T00:00:00Z; retry over IPv6.",
"ipv4UnavailableUntil": "2026-06-07T00:00:00Z"
}
While I know the curl folks are not keen on changes, I still looked at patching curl or grpc using both methods, and it does not change much between 533 or 566: you need to find Retry-Over-IPv6 to know what to do.
566 is really a convenience for the human, not the machines.
I’ll mull about this a bit more, but this is interesting.
I truly appreciate that you looked at the problem and that you are trying to help me find a better (more elegant?) solution.
Franck Martin
>
> Cheers,
>
>
>> On 20 Jul 2026, at 6:01 am, Franck Martin <franck@peachymango.org> wrote:
>>
>> A couple of updates, I read a bit more about the HTTP protocol and thanks to Ben Schwartz (on httpbis) for his feedback on how to correctly suggest a new HTTP error code and also on his suggestion, when available to point the user to an ipv6-only https name, in the case that the browser has a very bad implementation of happy eyeballs and refuse to prefer IPv6.
>>
>> I also tried to address more questions like why not 3XX or why create a standard when it is meant for a closed environment.
>>
>> Otherwise here is the overall change log since version -02
>>
>> - Intended deployment (§1.3): soften public-Internet guidance from SHOULD NOT to use-with-care (annoyance, support load, advance notice); note that even controlled environments need a shared signal because operators do not control all software and libraries.
>> - About This Document: removable note with GitHub source, Datatracker, v6ops discussion, httpbis expert input; tests use 566, prose uses 5NN.
>> - Status code: normative 5NN placeholder per RFC 9110 §16.2.2; soft-request IANA assign 566; 505 analogy; expanded new-status-code checklist (scope, content, cacheability); why not 3xx (no IPv6-only URI flag, loop risk, DNS/cert cost, IPv4-only clients get connection failures not logged HTTP errors).
>> - Response body: optional IPv6-only-reachable alternate site link for humans (examples use example.com / ipv6.example.com per RFC 2606); separate example bodies with and without that link; moderate ISP-help wording so Happy Eyeballs / client preference is not blamed on the provider; MAY suggest a "what is my IP" or IPv6 evaluation check (e.g. test-ipv6.com); machines keep same-authority Retry-Over-IPv6.
>> - IANA / Security: soft-request wording; advisory-link security notes.
>> - Build: set consensus = true in the Markdown title block (mmark); wrap long HTML example URL in the draft text.
>> - Version bump to -03.
>>
>> I'll implement some of these changes on:
>> • https://pacific.ipv6forum.com/
>> • https://www.peachymango.org/
>> before the 6th August. Would be cool if others would try it on a non critical site they own and report their experience.
>>
>> Thanks
>> Franck Martin
>>
>> From: internet-drafts@ietf.org
>> To: "Franck Martin" <franck@peachymango.org>
>> Sent: Sunday, July 19, 2026 6:12:58 PM
>> Subject: New Version Notification for draft-martin-retry-over-ipv6-03.txt
>>
>> A new version of Internet-Draft draft-martin-retry-over-ipv6-03.txt has been
>> successfully submitted by Franck Martin and posted to the
>> IETF repository.
>>
>> Name: draft-martin-retry-over-ipv6
>> Revision: 03
>> Title: HTTP Signaling of Planned IPv4 Unavailability
>> Date: 2026-07-19
>> Group: Individual Submission
>> Pages: 35
>> URL: https://www.ietf.org/archive/id/draft-martin-retry-over-ipv6-03.txt
>> Status: https://datatracker.ietf.org/doc/draft-martin-retry-over-ipv6/
>> HTML: https://www.ietf.org/archive/id/draft-martin-retry-over-ipv6-03.html
>> HTMLized: https://datatracker.ietf.org/doc/html/draft-martin-retry-over-ipv6
>> Diff: https://author-tools.ietf.org/iddiff?url2=draft-martin-retry-over-ipv6-03
>>
>> Abstract:
>>
>> As operators transition services to IPv6-only, planned IPv4 outages
>> help identify remaining dependencies before permanent decommission.
>> Such outages must be measurable, reversible, and understandable to
>> end users. This document defines the 5NN (IPv4 Unavailable) HTTP
>> response status code and associated header fields that signal an
>> intentional, often time-bounded IPv4 outage, instruct aware clients
>> to retry over IPv6 after closing the IPv4 connection, and allow
>> clients to confirm successful IPv6 recovery via an optional
>> correlation token so operators can distinguish soft failures from
>> hard failures in centralized logs. The mechanism supports staged
>> enterprise rollouts, internal HTTP services, and permanent IPv6-only
>> migration; coordinated public events (for example, 6/6 drills) remain
>> possible with advance notice. The primary intended deployment is
>> operator-controlled environments where provider and users share
>> operational responsibility. Legacy clients that do not implement
>> this specification treat an unrecognized 5NN status code as an
>> internal server error and MAY use the response body for human-
>> readable guidance.
>>
>>
>>
>> The IETF Secretariat
>>
>
> --
> Mark Nottingham https://mnot.net/
>
Received on Monday, 20 July 2026 19:15:06 UTC