Skip to content

[Bug]: Desktop UI rejects pairing addresses containing a WebSocket scheme and port #9746

Closed

Description

@ghy020

Operating system

Windows

Orca version

1.4.148

Details

Summary

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

  1. Open the pairing/runtime configuration in the desktop UI.
  2. Enter a complete external pairing address such as:
wss://example.com:443
  1. Try to save or start the runtime.

Actual behavior

The desktop UI reports that the address is invalid and prevents using it.

The equivalent CLI command works:

orca serve --port 23940 --pairing-address "wss://example.com:443" --mobile-pairing

Expected behavior

The desktop UI should accept the same pairing-address formats as the CLI, including:

wss://example.com
wss://example.com:443
ws://example.com:8080

Use case

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.

Activity

  1. ghy020 commented on Jul 21, 2026

    @ghy020
    Author

    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.

  2. added
    orca-remote-server
    on Jul 22, 2026
  3. added
    bug
    on Jul 27, 2026
  4. nwparker commented on Jul 27, 2026

    @nwparker
    Contributor

    Repro — confirmed (UI validator rejects WS schemes)

    Runtime check of shared UI validator

    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.

    Verdict

    has_repro

  5. added
    has_repro
    on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bughas_reproorca-remote-serveros:Windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions