SocketCluster / SocketCluster/socketcluster

HTTP/2 Support

Open
#465 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6.2k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Hello,
when I try to use http/2 with socketcluster, clients cannot connect to sc with the http error 403. On the server side I get following error:

[Error] Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:162:27)

Websocket support is implemented in nodejs http2 module. See @nodejs/node#23284
However, ws module hasn't implemented it yet. See @websockets/ws#1458

Could you implement it on sc-uws ?

Thanks.

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.

Research direction

Start by reading the sc-uws implementation and the Node.js HTTP/2 WebSocket support referenced in the issue, then compare it with the ws module's status in websockets/ws#1458. Done means SocketCluster clients can connect over HTTP/2 without the 403 response or server-side ECONNRESET.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.