ProxymanApp / ProxymanApp/Proxyman

WebSocket fails to connect when using multiple sub-protocols

Open
#2,494 2 comments 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Oct 20, 2025.

✅ Done bug
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

New WebSocket with multiple sub-protocols refuses to connect when Proxyman is enabled.

Steps to Reproduce

Create a new WebSocket with multiple sub-protocols:
new WebSocket('wss://...', ['protocol-1', 'protocol-2'])

With an echo server using https://www.npmjs.com/package/ws

Example: https://jsfiddle.net/svukrjpL/

Current Behavior

Connection fails

Expected Behavior

Connection succeeds

Environment

  • App version: Proxyman 5.25.0
  • macOS version: macOS Sequoia 15.7.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.