Repository navigation
Server server2-20261109-01
·
2 commits
to main
since this release
Official server release from quicktui-mono@038349bd03d2ff336103aa9b5fb436d2e788b135.
Server
QuickTUI Cloud relay
- The server now keeps its relay connection when a newer relay sends a message, field, or status this server does not know, and ignores it, instead of closing the connection and reconnecting. Push notifications with an unknown delivery status count as not delivered and are not sent again. A newer app that uses an unknown WebSocket message type through the relay now fails only that terminal or chat stream, not the whole connection. The server also tells the relay that it accepts such messages, so a later relay can send new ones safely.
- When the relay answers a registration with HTTP 429, the server now waits for
Retry-Afterand keeps its lease, also when the answer has no reason. Before, it dropped the lease and asked QuickTUI Cloud for a new one. A relay refusal with a reason the server does not know is now retried with a new lease, and a 5xx answer is retried as an unreachable relay. Pairing through QuickTUI Cloud now also retries when QuickTUI Cloud answers with a 5xx error that has an error code, instead of ending the pairing.
Pairing and connections
- Unpaired connection attempts from other devices on the network can no longer use up a shared limit per minute and block phones from connecting or pairing directly. Before, all unpaired attempts shared one limit of 60 per minute and 20 open connections, so a few devices on the same network could make every new connection and first pairing fail with HTTP 429 for as long as they kept trying. Now there is no shared limit per minute: each IP address has its own limit of 10 attempts per minute, and an attempt that signs in or pairs does not count against it. Up to 60 unpaired connections can be open at the same time, up from 20. The server also remembers, in memory and for 7 days, each IP address from which a device signed in or paired; connections from those addresses do not count toward the 60 and are not limited by it, and each address still has its own limits. A new phone or a new address can still get HTTP 429 while many addresses hold all 60 open connections.
Session backends
- A session backend that is installed but not running now starts when a phone connects, before the server answers, so the first connection no longer reports that no session backend is available. This covers Herdr installed from the desktop window or by hand while the server runs. While no session backend is running, the server also tries to start one in the background, first after 15 seconds and then less often, up to every 5 minutes, so a backend installed later starts without a phone connecting. A repeated "all session backends unavailable" warning is now logged once until the result changes.
qsh
qsh web: when the server itself answers HTTP 503, for examplesession backend unavailable, the browser page now shows that reason and stops retrying. Before, the page showedqsh 正在重连(qsh is reconnecting) and retried forever, so a session backend that was not running looked like a network problem. qsh now marks the 503 it answers while it rebuilds its connection with theX-Qsh-Unavailable: reconnectingheader, and the page retries only those.
Windows (Microsoft Store)
- The Microsoft Store version now adds an inbound firewall rule for QuickTUI Server when it is installed, so phones can connect and pair without the Windows firewall prompt. Before, a dismissed prompt or a Public network blocked the phone. The rule allows TCP connections to
quicktui-server.exeonly, on all network profiles, and Windows removes it when you uninstall the app.
Install with:
curl -fsSL https://quicktui.ai/q.sh | sh -s -- install --channel server2
This command resolves the server from the live server2 channel in server-manifest.json; it is not a tag-pinned historical install.
Assets use these names:
quicktui-server-<platform>-<arch>
quicktui-server-windows-<arch>.exe
quicktui-server-<platform>-<arch>.sha256
quicktui-server-<platform>-<arch>.gz
quicktui-server-<platform>-<arch>.gz.sha256
Installer assets are not included in this server release. q.sh and installer assets are published independently from server2 releases.