n8n bot with enabled:false still triggers HTTP calls to webhookUrl
Los mantenedores suelen responder en 8 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- postgresql, rabbitmq, typescript
- Área
- api, backend, distributed-systems
Línea de trabajo
Start with the n8n event-dispatch path used after POST /n8n/create/:instanceName and POST /n8n/changeStatus/:id/:instanceName, then reproduce the listed WhatsApp message flow with RabbitMQ events enabled. Trace how the bot's enabled flag is read before webhook delivery. Done means disabled bots produce no webhook HTTP calls while enabled bots still receive the expected events.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary: An n8n bot (integration) whose config has enabled: false keeps sending HTTP calls to its webhookUrl on incoming WhatsApp message events. On v2.3.7 we observed hundreds of POST requests per day to the bot's webhookUrl while the bot record had enabled = false; traffic only stopped after the bot record was deleted via DELETE /n8n/delete/:id/:instanceName and the module env N8N_ENABLED=false was in place.
Environment: Evolution API v2.3.7 (Docker Swarm, PostgreSQL persistence, RabbitMQ events enabled).
Endpoints involved:
POST /n8n/create/:instanceName(bot config withenabledflag)POST /n8n/changeStatus/:id/:instanceName(enable/disable)GET /n8n/find/:instanceNameDELETE /n8n/delete/:id/:instanceName
Expected behavior: When a bot's enabled is false, the integration must NOT dispatch any HTTP call to webhookUrl.
Actual behavior: Message events continue to be POSTed to webhookUrl while enabled=false. Payloads look like MESSAGES_UPSERT events (body sizes 13–1845 bytes) and arrive at a steady rate of a few per minute, causing continuous 404 traffic when the target workflow/webhook is removed. Disabling the whole module (N8N_ENABLED=false) correctly makes the /n8n/* API routes return 400 {"message":["N8n is disabled"]}, and the outgoing flood only stops after the bot record itself is deleted.
Repro steps:
- Create an instance and connect WhatsApp.
POST /n8n/createwith{ "name": "bot1", "enabled": true, "url": "https://your-request-bin/webhook", "triggerType": "all", "listeningFromMe": true }.- Receive a message → a POST arrives at the webhook URL.
- Disable the bot (
POST /n8n/changeStatus/:id/:instanceNameor setenabled=falsein the record). - Receive another message → a POST still arrives at the webhook URL (bug:
enabled=falseis ignored in the event-dispatch path).
Notes: The N8N_ENABLED=false module-level guard works for the API routes; the per-bot enabled flag appears not to be honored (or is cached/stale) when dispatching events.
- Lenguaje dominante
- TypeScript
- Estrellas
- 9.8k
- Forks
- 7.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de evolution-foundation/evolution-api
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
evolution-foundation/evolution-api#2723 ·
Los mantenedores suelen responder en 8 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
evolution-foundation/evolution-api#2704 ·
Los mantenedores suelen responder en 8 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
evolution-foundation/evolution-api#2702 · 1 comentario · 2 reacciones ·
Los mantenedores suelen responder en 8 días
-
[BUG] Cloud API: a single unknown wamid in a `statuses` batch silently drops the whole batch (`return` instead of `continue`)Posiblemente ocupada @vin1i la tomó hace 42 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
evolution-foundation/evolution-api#2700 · 1 comentario ·
Los mantenedores suelen responder en 8 días
-
[BUG] Chatwoot integration duplicates messages when a device re-delivers the same key.id — getExistingSourceIds exists but is never called on the live pathPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
evolution-foundation/evolution-api#2675 ·
Los mantenedores suelen responder en 8 días
Todos los issues de evolution-foundation/evolution-api
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
yjh051108/dsh-routing-suite#216 ·
-
kind/bug priority/needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dependencies view: `getParent` loops forever on untitled documents, extension host runs out of memoryPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 66/100
apache/fineract-consumer-facing#175 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 Menos de una hora Aptitud para principiantes 82/100
awslabs/visual-asset-management-system#413 ·
Los mantenedores suelen responder en 1 día