-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: SocketIO HTTPs bug #982
Conversation
mistakenly clicked on the close button before commenting. i think this really isnt an issue as of now. this defaults to there is some other misconfiguration that causes socketio to fail and not this, since most (all modern?) clients do support |
just checked with @revant, socketio works without these changes too. could you tell us what exactly did not work for you? |
could you try setting the socketio block to this (without making the changes from this PR): location /socket.io {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Frappe-Site-Name $http_host;
proxy_set_header Origin $scheme://$http_host;
proxy_set_header Host $host;
proxy_pass http://{{ bench_name }}-socketio-server;
} and let me know if it works? basically setting the |
I'm facing this issue too. My results as below:
Works after Setting This thing broke silently so didn't notice until a user complained. |
I only checked chat. It was working. Opening same doctype by two users doesn't show message anymore. (v12) on develop branch everything is working as expected in manual production installation. |
Here's what worked for me. Node JS v8 is what gets installed with easy install script. I just upgraded to v12 (latest stable) and the SSL error went away. |
@SaiFi0102 can you try this please? |
Fortunately, with Node v12 and HTTPS and Frappe v12 it's working just fine. There was another problem that caused issue with reloading document when the document was modified on another session which I solved here frappe/frappe#11137 |
@SaiFi0102 Can we close this now? |
Please go ahead |
Socket IO messages are not received on HTTPs when the configuration:
ssl_ecdh_curve
is set tosecp384r1
Setting it to
auto
solves it according to Telegram Developer's Group message by Shadoyip