We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use LiveReactload over https but can't get it to work. Console shows the server is up and listening correctly.
LiveReactload
https
[21:25:10.091] LiveReactload :: Reload server up and listening in port 4474...
LiveReactload :: LiveReactLoad transform detected. Ready to rock! card.js:37 WebSocket connection to 'wss://example.com:4474/' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED
watchify index.jsx -t babelify -p [ livereactload --host='example.com' ] -o static/bundle.js
Any ideas on how I can troubleshoot this?
The text was updated successfully, but these errors were encountered:
I'm guessing I need to pass tls certificates to ws server, but not sure.
tls certificates
Sorry, something went wrong.
Hmmm. The current implementation doesn't support certificates ATM but I think it wouldn't be so hard to implement by following e.g. this tutorial: http://www.chovy.com/web-development/self-signed-certs-with-secure-websockets-in-node-js
I have unfortunately so little time for open source at the moment so PR's are more than welcome! 😄
Perhaps CLI options --ssl-cert <certFilename> and --ssl-key <privateKeyFilename> could do the job?
--ssl-cert <certFilename>
--ssl-key <privateKeyFilename>
Thanks, @milankinen. I'll give it a try.
No branches or pull requests
I'm trying to use
LiveReactload
overhttps
but can't get it to work. Console shows the server is up and listening correctly.[21:25:10.091] LiveReactload :: Reload server up and listening in port 4474...
browser console error:
npm script:
Any ideas on how I can troubleshoot this?
The text was updated successfully, but these errors were encountered: