-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Welcome!
- Yes, I have searched for similar issues on GitHub and found none.
What did you do?
Estou utilizando a Evolution API v2.3.0, integrada ao n8n via webhook. Em situações específicas, tenho observado que mensagens são marcadas como duplicadas (Message duplicated ignored) mesmo sem nunca terem sido entregues ao webhook.
Exemplo real do log:
[Evolution API] [derma] v2.3.0 - Fri Jul 25 2025 23:33:39 INFO Message duplicated ignored: 3AD29D4DE76AEBCC0662
Porém, essa mensagem nunca chegou ao webhook configurado. Não há falha na URL, no código do n8n, nem resposta HTTP 500. Simplesmente não houve entrega. Isso inviabiliza automações críticas.
Horas antes houve reinicialização: (Talvez haja correlação)
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 22:28:17 INFO [ChannelStartupService] [string] Browser: OrionDesign,Chrome,6.8.0-1031-aws
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 22:28:17 INFO [ChannelStartupService] [string] Baileys version env: 2,3000,1023015479
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 22:28:17 INFO [ChannelStartupService] [string] Group Ignore: true
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 22:28:18 INFO [ChannelStartupService] [string]
┌──────────────────────────────┐
│ CONNECTED TO WHATSAPP │
└──────────────────────────────┘
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 22:28:18 INFO [ChannelStartupService] [string]
wuid: 556199990154
name: derma
What did you expect?
Que o Webhook fosse acionado no N8N.
What did you observe instead of what you expected?
Nem chegou no N8N.
Screenshots/Videos
No response
Which version of the API are you using?
2.3.0 latest
What is your environment?
Linux
Other environment specifications
Ubuntu 20.04
If applicable, paste the log output
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 23:33:38 LOG [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "556199999954@s.whatsapp.net",
"fromMe": true
},
"update": {
"message": {
"editedMessage": {
"message": null
}
},
"messageTimestamp": 1753497218
}
}
]
Message received from phone, id= 3EB0223CC95E4BFB60CEBE WebMessageInfo {
messageStubParameters: [],
labels: [],
userReceipt: [],
reactions: [],
pollUpdates: [],
eventResponses: [],
statusMentions: [],
messageAddOns: [],
statusMentionSources: [],
supportAiCitations: [],
key: MessageKey {
remoteJid: '556199999895@s.whatsapp.net',
fromMe: false,
id: '3AD29D4DE76AEBFF0662'
},
message: Message {
extendedTextMessage: ExtendedTextMessage {
text: 'Olá! Gostaria de agendar uma consulta sobre Lift de Supercílios',
previewType: 0,
contextInfo: [ContextInfo],
inviteLinkGroupTypeV2: 0,
linkPreviewMetadata: LinkPreviewMetadata {}
}
},
messageTimestamp: Long { low: 1753497198, high: 0, unsigned: true },
messageSecret: Uint8Array(32) [
62, 64, 248, 166, 83, 167, 58, 159,
215, 135, 231, 49, 79, 134, 20, 92,
151, 172, 85, 223, 44, 255, 4, 123,
148, 185, 122, 101, 243, 61, 137, 71
],
reportingTokenInfo: ReportingTokenInfo {
reportingTag: Uint8Array(20) [
1, 9, 21, 56, 165, 82, 100,
20, 57, 214, 107, 4, 241, 212,
83, 41, 61, 129, 34, 207
]
},
isMentionedInStatus: false
}
[Evolution API] [derma] v2.3.0 171 - Fri Jul 25 2025 23:33:39 INFO [ChannelStartupService] [string] Message duplicated ignored: 3AD29D4DE76AEBFF0662
{"level":50,"time":1753513130137,"pid":171,"hostname":"b801bb148ee6","msg":"error in sending keep alive"}
Additional Notes
Sugestões:
- Persistência de message.key.id
- Não marcar como "duplicada" antes do webhook responder com 200 OK
- Reenvio opcional de mensagens após restart da sessão