# Live chat can't receive replies

**URL:** <https://forums.rocket.chat/t/live-chat-cant-receive-replies/15552>\
**Category:** Community Support\
**Created:** [December 10, 2022, 12:04am UTC](https://forums.rocket.chat/t/live-chat-cant-receive-replies/15552 "2022-12-10T00:04:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anay](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/anay/32/4315_2.png) [@Anay](https://forums.rocket.chat/u/Anay)\
**Post date:** [December 10, 2022, 12:04am UTC](https://forums.rocket.chat/t/live-chat-cant-receive-replies/15552/1 "2022-12-10T00:04:44Z")

</div>

### Description

Live chat is not working, message can be sent from widget but can’t receive.

### Server Setup Information

Rocket.Chat Version: 5.3.3 |  
| NodeJS Version: 14.19.3 - x64 |  
| MongoDB Version: 4.4.15 |  
| MongoDB Engine: wiredTiger |  
| Platform: linux / Docker |  
| Process Port: 3001 |  
| Site URL: [https://my.server.com](https://my.server.com) |  
| ReplicaSet OpLog: Enabled |  
| Commit Hash: c0e519b6f2 |  
| Commit Branch: HEAD

- Firewalls involved: No

### Additional Information

Using cloudflare for this domain.

On browser console we have following errors:

> WebSocket is already in CLOSING or CLOSED state.  
> Uncaught (in promise) DOMException: An attempt was made to use an object that is not, or is no longer, usable mode-ctr-gladman.js:114:1  
> Firefox can’t establish a connection to the server at wss://my.server.com/websocket. ddp.ts:96:21

Points to note:  
I have already seen other topics like : [LiveChat “Failed to execute ‘send’ on ‘WebSocket’: Still in CONNECTING state.”](https://forums.rocket.chat/t/livechat-failed-to-execute-send-on-websocket-still-in-connecting-state/9272)

I have done following:

- There is no slash in end of url ie. its https: // my .server .com
- Have already increased proxy\_read\_timeout 8600s;
- Settings → General → Allowed domains is empty

Please advice where to look ?

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [December 22, 2022, 10:39pm UTC](https://forums.rocket.chat/t/live-chat-cant-receive-replies/15552/2 "2022-12-22T22:39:45Z")

</div>

Hi!

Sorry for the late response here. Were you able to fix this?

I would start adding the website you want to add the livechat widget into ADMIN \> OMNICHANNEL \> LIVECHAT\> Allowed Sites.

let me know if this helps.

Thanks!
