You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Desktop UI rejects pairing addresses containing a WebSocket scheme and port #9746
The desktop UI rejects a complete reverse-proxy pairing address containing a WebSocket scheme and an explicit port, even though the same value is accepted by the CLI.
Steps to reproduce
Open the pairing/runtime configuration in the desktop UI.
Enter a complete external pairing address such as:
wss://example.com:443
Try to save or start the runtime.
Actual behavior
The desktop UI reports that the address is invalid and prevents using it.
The Orca runtime listens on a local TCP port and is exposed through FRP and a TLS reverse proxy. The externally advertised WebSocket scheme, hostname, and port differ from the local listening endpoint.
Related to #7222, which broadened manual network address validation for hostnames and optional ports. On Orca 1.4.148 for Windows, the desktop UI still rejects a complete WebSocket URL such as wss://example.com:443, while orca serve --pairing-address "wss://example.com:443" accepts it. This issue tracks the remaining UI/CLI format mismatch (or a regression), specifically when the scheme is included.
parseManualNetworkAddress in src/shared/network/manual-address.ts:
Input
Result
wss://example.com:443
reject — "Enter an IPv4 address or hostname, optionally with a :port suffix"
ws://100.64.1.20:6768
reject
example.com:443
ok
100.64.1.20:6768
ok
The grammar only accepts host / host:port (IPv4 or hostname). Any ws:// / wss:// scheme fails because // and extra colons break splitHostPort / hostname rules — matching the desktop pairing UI rejection while CLI can take a full WebSocket pairing address.
Activity
ghy020 commentedon Jul 21, 2026
Related to #7222, which broadened manual network address validation for hostnames and optional ports. On Orca 1.4.148 for Windows, the desktop UI still rejects a complete WebSocket URL such as
wss://example.com:443, whileorca serve --pairing-address "wss://example.com:443"accepts it. This issue tracks the remaining UI/CLI format mismatch (or a regression), specifically when the scheme is included.nwparker commentedon Jul 27, 2026
Repro — confirmed (UI validator rejects WS schemes)
Runtime check of shared UI validator
parseManualNetworkAddressinsrc/shared/network/manual-address.ts:wss://example.com:443ws://100.64.1.20:6768example.com:443100.64.1.20:6768The grammar only accepts
host/host:port(IPv4 or hostname). Anyws:///wss://scheme fails because//and extra colons breaksplitHostPort/ hostname rules — matching the desktop pairing UI rejection while CLI can take a full WebSocket pairing address.Verdict
has_repro