CLI Map Remote create rejects `ws://` destinations supported by the GUI
@NghiaTranUIT is already working on this.
Since Oct 5, 2026.
Assessment
This issue has not been assessed yet.
Description
The bundled proxyman-cli rejects ws:// destinations when creating Map Remote rules, even though the Proxyman GUI supports them.
Rules configured with a WebSocket destination through the GUI can also be read successfully using CLI list and get. The inconsistency appears to be in the CLI creation validation.
Steps to Reproduce
-
Open Proxyman.
-
Run the following command using the Setapp installation:
"/Applications/Setapp/Proxyman.app/Contents/MacOS/proxyman-cli" \ rules map-remote create \ '^wss://example\.com/socket(?:\?.*)?$' \ 'ws://localhost:5173' \ --name 'WebSocket CLI test' \ --match regex \ --method GET \ --enabled false \ --json -
Observe that the command fails with an
invalid_inputerror. -
Configure a Map Remote rule with
ws://localhost:5173as its destination through the GUI. The GUI accepts it, and CLIlist/getcan subsequently return that destination.
Current Behavior
CLI creation fails with:
{
"code": "invalid_input",
"message": "to_url must be an absolute http or https URL."
}
The rule is rejected before any WebSocket connection is attempted.
As a workaround, creating a disabled rule with an http:// destination through the CLI and then changing its protocol to ws through the GUI succeeds.
Expected Behavior
CLI Map Remote creation should accept WebSocket destinations supported by the GUI, including ws://localhost:5173.
Please align the CLI destination URL validation with the protocols supported by Map Remote. Only ws:// rejection was tested; wss:// was not tested.
Environment
- App version: Proxyman 26.0.1, build 260001 — Setapp
- macOS version: macOS 27.0.1, build 26A434
- CLI: Bundled
proxyman-clifrom the same Proxyman installation
- Dominant language
- No language data
- Stars
- 7.1k
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ProxymanApp/Proxyman
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
ProxymanApp/Proxyman#2821 ·
-
Could not observe system extension changesPossibly taken @NghiaTranUIT claimed this 2 days ago. Open
Difficulty 4/5 1-2 days Newbie friendliness 45/100
ProxymanApp/Proxyman#2819 · 2 comments · 1 assignee ·
-
启动后约 6 秒崩溃Possibly taken @NghiaTranUIT claimed this 8 days ago. Open✅ Done bug
ProxymanApp/Proxyman#2818 · 2 comments · 1 assignee ·
-
[iPadOS] Local VPN toggle does not turn on and VPN profile is not created in iPadOS SettingsPossibly taken @NghiaTranUIT claimed this 9 days ago. Openbug
ProxymanApp/Proxyman#2817 · 1 comment · 1 assignee ·
-
Factory Reset in proxyman-cliPossibly taken @NghiaTranUIT claimed this 8 days ago. Open✅ Done enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ProxymanApp/Proxyman#2816 · 1 comment · 1 assignee ·