Debug WebSocket connection issues and message handling problems
Help me debug WebSocket connection issues in my application.
**Client-side code:**
```{{CLIENT_LANGUAGE}}
{{CLIENT_CODE}}
```
**Server-side code:**
```{{SERVER_LANGUAGE}}
{{SERVER_CODE}}
```
**Problem description:** {{PROBLEM}}
**Browser console errors:**
```
{{CONSOLE_ERRORS}}
```
**Server…Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
[{CLIENT_LANGUAGE][{CLIENT_CODE][{SERVER_LANGUAGE][{SERVER_CODE][{PROBLEM][{CONSOLE_ERRORS]