Auto mode and server selection
Auto picks the fastest working server of a subscription by itself and switches to another when the current one stops carrying data. In 2.2.0 it also checks whether popular services open and leaves a server where they don't work.
#Where to find Auto
- The “Auto” row appears in a group with two or more servers. Select it and tap “Connect”.
- The provider can leave only Auto — then the server list and its details are hidden — or remove Auto and keep manual choice. This is the free
wrabbit-auto-modesubscription header Free; 2.1.0 understands the olderwrab-mode: auto-only. - Servers of every protocol take part — VLESS, VMess, Trojan, Shadowsocks, Hysteria2 — except excluded ones.
- The Auto row shows no latency figure of its own: it has no single server to measure.
#How Auto picks a server
- A real request goes through every server in the group to the check address
https://cp.cloudflare.com/generate_204— like “via Proxy” in Happ. Only HTTP 2xx counts as an answer; the figure is the time of the second, “warm” request. - After the first answer Auto waits another 0.5 seconds for the others and takes the fastest. The whole measurement takes at most 3.5 seconds.
- If the list was measured on this network through the proxy using the default check address within the last 90 seconds and a server answered, Auto can use that result immediately 2.2.0.
- A repeat connection can use the saved server ranking (up to ~12 hours) without measuring.
Connecting usually takes 2–5 seconds. A fresh Auto measurement uses an HTTP request through the server, even if the provider switched list measurement to TCP (the ping-type, check-url-via-proxy, proxy-ping-timeout directives app — see Subscription headers and body lines): on networks with DPI the TCP handshake succeeds even for a blocked server.
#Failover
While the tunnel runs, Wrabbit watches whether data flows. If requests go out but no answers come back for a few seconds, Auto checks the server and, on a confirmed failure, switches to the next one by latency — without you doing anything.
- Network or server. Before declaring a server dead, the client checks connectivity outside the tunnel — to 1.1.1.1, 8.8.8.8 and 77.88.8.8. If the network itself doesn't answer (the phone slept, a Wi‑Fi ⇄ LTE handover, no coverage), the client waits for it instead of cycling through servers.
- A probe with real data 2.2.0. A short check answer can get through even where pages no longer load: the connection “freezes” after the first 15–20 KB. So on connecting and on suspicion the client downloads 64 KiB from a public CDN through the server and blames the server only if the download froze mid-response.
- Unreliable servers 2.2.0. A server with confirmed failures in the last 2 hours yields to a stable neighbour with similar latency.
- Switching servers with the VPN on 2.2.0 happens without disconnecting, usually in 1–1.5 seconds; rapid taps are merged into one switch.
#Measuring the server list2.2.0
The “Check server response” button measures the group. Tapping a server's figure re-measures just that server. The default is an HTTP request through the proxy. The provider can change the method, check address or timeout, including measuring TCP connect time. These probes and Auto’s HTTP checks do not test app UDP traffic, including calls and games. On the right of the row:
| Mark | Meaning |
|---|---|
A number, for example 84 ms | Warm HTTP request latency or TCP connect time, depending on the measurement method |
| “slow” | The HTTP probe timed out or returned a status outside 2xx. Auto prefers ordinary servers that passed the check and can choose a slow one if none did |
| A spinner and a dimmed figure | Measuring; next to it is the previous result for this network |
| A dimmed figure without a spinner | The previous result for this network (Wi‑Fi or cellular), no older than 10 minutes |
| Red “unreachable” icon (a crossed circle) | This server didn't answer while others did; the server name is dimmed |
| Grey “no network” icon (crossed Wi‑Fi) in every row | No server answered the probe. This measurement alone cannot identify the cause |
| “later” | The VPN extension was busy; the measurement repeats on its own |
- On iPhone and iPad with the VPN on, the extension itself measures servers — up to three at once, and the VPN stays on.
- On a Mac the VPN turns off for the measurement and comes back on its own.
- Under “Kill Switch” measuring is unavailable while the proxy connects or switches servers.
Measurement details
- A server that stayed silent in this network's previous measurement within the last 10 minutes gets a short deadline — 2.5 seconds — and with the VPN on goes to the end of the queue. If it misses it, it gets the “unreachable” icon, but that isn't a failure: the next measurement gives it the normal deadline.
- Whitelist-zone servers get a separate retry if no regular server answered: in such a zone they answer in 3–5 seconds.
- A server on an IP address, not behind a CDN and not on UDP, goes through a quick TCP cut in parallel with the probe: if the TCP connection doesn't open within 2 seconds, the probe is dropped.
- Servers with chains and fragmentation are measured with the same config as the connection: a server that works only with fragmentation isn't falsely rejected.
#Whitelists
On some mobile networks the carrier lets through only approved resources — “whitelists”. The provider can mark the servers that still work there with a WL label (or LTE, БС) in the name or with a host tag. Auto then has two zones:
- Start — on the fastest regular server. A whitelist server doesn't win the start even if it answers faster: it's the fallback.
- Entering the whitelist zone — the regular server stopped carrying data, and Auto moves to a whitelist server.
- Leaving — while on a whitelist server, Auto checks the regular ones about every 15 seconds and, once they are steadily back, returns to the fastest.
If in this network's latest measurement only whitelist servers answered and the regular ones stayed silent, 2.2.0 concludes you're in a whitelist zone and takes such a server right away without waiting for the regular ones. Without labels all servers are one zone, and Auto simply picks the fastest. How a provider sets the labels is in Server zones and whitelists.
#Which servers Auto skips
- A server with a
~in its name — manual choice only. If every server in the group is marked this way, the mark is ignored. - A server with the
NO_AUTOhost tag 2.2.0 — the same as~. - A server with
only Mobileoronly Wi-Fiin its name (tagsONLY_MOBILE,ONLY_WIFI) 2.2.0 is shown only on its network. Auto starts with a server for the current network and puts the “other” ones at the end of the order. - A server where a needed service doesn't work — for an hour (see below).
#Auto by services2.2.0Free
Sometimes a server is alive but one service doesn't load on it: Instagram is silent while Telegram and YouTube work. Auto notices and moves to a server where the service works. Default services:
| Service | How it's checked |
|---|---|
| YouTube | YouTube and googlevideo generate_204 |
| Together with Facebook and Meta domains: they are blocked together | |
| Telegram | The web version web.telegram.org |
| ChatGPT | The OpenAI API: tells “not available in your country” apart from a working answer |
| Discord | The Discord API gateway |
The web version web.whatsapp.com |
- By traffic. The core sees service connections with not a single byte of response: at least three empty ones per minute, none successful, while other traffic through the server flows. The client checks the service twice through the current server together with a control address, then on the three best servers, and switches to the first where the service answered.
- On connecting. A block where the service answers with an error instead of staying silent (Meta flagged the server IP, ChatGPT refuses by country) isn't visible in traffic. So when Auto connects and after every server switch, the client checks every service on the list once — about 3 seconds, a few short requests.
- An hour-long mark. A server where the service doesn't work gets a mark: reconnecting won't bring you back to it.
- Limits. Automatically — no more than once every 15 minutes and four times a day. If after a switch the service is silent on the new server too, the client decides the server isn't the cause and doesn't switch because of it for 6 hours. There are no background checks and no manual check either.
- Auto only. When you pick a server by hand, watching is off.
#Servers with a full Xray JSON
- If the provider serves a server as a ready config with a balancer, the template's balancer picks the server inside it. Auto switches between subscription entries as usual.
- Auto measures such an entry by its main proxy, not by the first outbound in the config — so it doesn't measure a decoy.
- For a subscription with links Wrabbit fetches its
/jsonvariant itself and starts servers from it. The exception is encryptedageresponses: after them/jsonisn't requested. If/jsonis unavailable, the client builds servers from the links.
#For providers
The Auto mode Free and your own service list app are set with subscription headers. Below is a fragment of the Wrabbit response rule in Remnawave 2.7.4 and later: your own check list and the “Auto only” mode.
[
{"id":"youtube","name":"YouTube","domains":["youtube.com","googlevideo.com","ytimg.com"],
"checks":[{"url":"https://www.youtube.com/generate_204","expect":"204"}]},
{"id":"telegram","name":"Telegram","domains":["telegram.org","t.me"],
"checks":["https://web.telegram.org/"]},
{"id":"mysite","name":"My Site","domains":["example.com"],
"checks":[{"url":"https://example.com/","method":"HEAD","expect":"200-399"}]}
]
{
"headers": [
{ "key": "wrabbit-service-checks", "value": "base64:<base64(JSON)>" },
{ "key": "wrabbit-auto-mode", "value": "only" }
],
"applyHeadersToEnd": true
}
The list replaces the default one rather than extending it: to keep YouTube and the others, list them yourself. expect is 204, 2xx, 200-399 or a list of codes; 200–399 by default. For 2.1.0, “Auto only” is set with the older name in customResponseHeaders:
wrab-mode: auto-only
How to encode the list and check the header is in Remnawave recipes. Every key is in Subscription headers and body lines.