Frappe Chat need refresh the page to get new messages "frappe.realtime.on"

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

2 Likes

I have been having the same issue with frappe chat, did anyone find a way to fix this issue?
And thank you.

1 Like

Same problem happened to me Please solve the problem as soon as possible. If the solution is not done, I will have to use a third party

1 Like

Hi,

is there any solution on this. Problem seems to persist in v15.

Cheers,
Ben

frappe chat is archived and is no longer maintained.

Use raven or clefincode instead

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.

Best,
Ben