P
⚡ProductiviteAdvancedAll AIs

Debug a WebSocket Issue

Stabilizing WebSocket connections in production

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

My WebSocket connection between [CLIENT] and [SERVER] disconnects after [DURATION] or fails to reconnect properly. Here are the logs: [PASTE LOGS]. Analyze potential causes: timeouts, missing heartbeat, reconnection handling, proxy/load balancer issues, concurrent connection limits. Provide robust WebSocket connection handling code.

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Stabilizing WebSocket connections in production

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Pour isoler le problème, commence par tester ta connexion avec un outil comme `wscat` (sans client custom). Si ça tient, le souci est côté client : ajoute un ping/pong manuel toutes les 30s et une reconnexion avec backoff exponentiel. Si ça casse aussi, vérifie les timeouts du proxy/load balancer (souvent 60s par défaut).

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

⚡ProductiviteIntermediateAll AIs

Punchy Introduction

Introduction Writing

344
⚡ProductiviteBeginnerAll AIs

Prompt to Write a Professional Quote Request Email

A complete prompt to generate a structured, professional and customizable quote request email adapted to your industry and recipient.

334
⚡ProductiviteBeginnerAll AIs

Convert CSS to Tailwind

Migrate from standard CSS to Tailwind CSS

344
⚡ProductiviteAdvancedAll AIs

Existing Content Audit

Content asset cleanup and optimization

334