KamoCRM

Replace native WebSocket with STOMP/SockJS in LiveSupportPanel

Featurekamo-marketing
Shipped
20 ஏப்ரல், 2026 அன்று 6:49 AM UTC
Author
Kamo
Commit
b030db4

- Add @stomp/stompjs and sockjs-client packages - Connect to media.{domain}/ws/public-chat via SockJS+STOMP instead of raw WebSocket to api.{domain} which was wrong host and wrong protocol - After STOMP connect, subscribe to /topic/chat/session/{guid} and notify backend via /app/chat/subscribe to activate NATS JetStream relay - Agent responses now flow: MediaController -> NATS -> ChatWebSocketController -> STOMP broker -> visitor's LiveSupportPanel in real-time

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing