Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP/2 Support #465

Open
ayZagen opened this issue Dec 25, 2018 · 1 comment
Open

HTTP/2 Support #465

ayZagen opened this issue Dec 25, 2018 · 1 comment

Comments

@ayZagen
Copy link

ayZagen commented Dec 25, 2018

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.

@jondubois
Copy link
Member

jondubois commented Feb 26, 2019

@ayZagen SC has moved away from using sc-uws as the default. It's just too much effort to maintain; each node.js version requires new builds. uWS is an optimization for more advanced users.

I'd prefer to wait for the ws module to add it. Please let me know if you manage to get SC to work with HTTP2. Feel free to post recommendations here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants