-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
wss Fails over SSL, works well on https #5347
Comments
I will assume you are using nginx. Did you configure it correctly for web sockets? Sent with GitHawk |
OPINION: Its a "uws" module error on line const getWS = function () {
try {
return require('uws');
} catch (e) {
return require('ws');
}
}; my temporary solution: const getWS = require('ws'); What do you suggest? |
How does this relate to your issue description that states that all work well over node HTTPS and not HTTPS? (I’m not even sure what this means). Sent with GitHawk |
*** I meant to say HTTP and not HTTPS. two things are certain, "uws" don't exist no more, my issue is temporarily solved by its omission. |
And http va https has nothing to do with ws versus uws as packages. Sent with GitHawk |
Well according to you, thanks for nothing buddy. uws doesn't install as required by parse-server, because it doesn't exist |
not sure what this is then:
And this:
How is it not installed for you? |
It installs but fails over wss:// works well with ws:// |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@GoGross out of curiosity. What version of Node are you running. uws only had binding to node 8 and 9. I believe. |
I am running version 10 |
I have the same issue... how to solve it.. |
I don't know why they won't accept my PR but it's because
|
Issue Description
I am trying to run ParseLiveQueries, and everything seems to work well over nodejs HTTP, but fails over HTTPS
Steps to reproduce
Expected Results
Actual Outcome
Environment Setup
Server
Database
Logs/Trace
info: Client disconnect: undefined
error: Can not find client undefined on disconnect
parse.js:1353 WebSocket connection to 'wss://localhost:8080/api/' failed: Error during WebSocket handshake: net::ERR_SSL_PROTOCOL_ERROR
The text was updated successfully, but these errors were encountered: