CLI Map Remote create rejects `ws://` destinations supported by the GUI
@NghiaTranUIT ci sta già lavorando.
Dal 5/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 7.1k
- Fork
- 238
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ProxymanApp/Proxyman
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ProxymanApp/Proxyman#2821 ·
-
Could not observe system extension changesForse già presa @NghiaTranUIT l’ha presa 2 giorni fa. Aperta
Difficoltà 4/5 1-2 giorni Idoneità per principianti 45/100
ProxymanApp/Proxyman#2819 · 2 commenti · 1 assegnatario ·
-
启动后约 6 秒崩溃Forse già presa @NghiaTranUIT l’ha presa 8 giorni fa. Aperta✅ Done bug
ProxymanApp/Proxyman#2818 · 2 commenti · 1 assegnatario ·
-
[iPadOS] Local VPN toggle does not turn on and VPN profile is not created in iPadOS SettingsForse già presa @NghiaTranUIT l’ha presa 9 giorni fa. Apertabug
ProxymanApp/Proxyman#2817 · 1 commento · 1 assegnatario ·
-
Factory Reset in proxyman-cliForse già presa @NghiaTranUIT l’ha presa 8 giorni fa. Aperta✅ Done enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ProxymanApp/Proxyman#2816 · 1 commento · 1 assegnatario ·