I have been installing the frappe chat with frappe v14 and I have a lot of errors and I fix it.
And after all errors I am trying to send message from guest but desk user can not get the message until refresh the page.
I am trying to add this code to listen to guest room in console of desk user browser and it does not work.
frappe.realtime.on("CR00014", function (res) {
console.log(`************************`)
});
I am trying to add the same code in the guest console and it works fine.
And trying to do the same thing with private room between desk user and the administrator in the console of desk user and it is working fine.
are there any solution?
Thanks
Hi Hamza, thanks for your reply. Indeed! What I’m actually using is “Raven”.
I found out that socket.io is not working properly. Well it seems to work once connected via CLI over https (through the nginx reverse proxy) but the ERPnext website seems only to request wss:// which is answered with: WebSocket is closed before the connection is established.