- Check your node version (node -v). at least version 10.x
- set ssl_ecdh_curve to auto : ssl_ecdh_curve auto;
- Restart nginx followed by bench restart
- run frappe.publish_realtime again
- Check your logs/node-socketio.log
- if error in your log file something like bad gateway or certificate has expired, try to disable TLS rejection in your socketio.js file (frappe/socketio.js) by adding :
process.env.NODE_TLS_REJECT_UNAUTHORIZED = “0”;
on top of the file
this is not suggested as the socketio connection won’t use SSL
2 Likes