EvolutionAPI / evolution-api

Evolution API is an open-source WhatsApp integration API
https://evolution-api.com
Other
1.91k stars 1.05k forks source link

Erro ao enviar arquivos #891

Open keven-cerrado opened 1 month ago

keven-cerrado commented 1 month ago

Welcome!

What did you do?

Captura de tela 2024-09-16 113304

Sempre que estou tentando enviar arquivos, da esse mesmo erro! Eu tenho apenas 1 instancia na EVO

What did you expect?

Enviar o arquivo

What did you observe instead of what you expected?

(node:170) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Readable]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use node --trace-warnings ... to show where the warning was created) (node:170) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Readable]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (node:170) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Readable]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit [Evolution API] [AtendimentoTI] v2.1.0 170 - Mon Sep 16 2024 11:38:42 ERROR [ChannelStartupService] [string] line 2378 [Evolution API] [AtendimentoTI] v2.1.0 170 - Mon Sep 16 2024 11:38:42 ERROR [ChannelStartupService] [object] Error: Media upload failed on all hosts at Object.upload (/evolution/node_modules/baileys/lib/Utils/messages-media.js:577:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /evolution/node_modules/baileys/lib/Utils/messages.js:122:28 at async Promise.all (index 0) at async prepareWAMessageMedia (/evolution/node_modules/baileys/lib/Utils/messages.js:120:40) at async Ms.prepareMediaMessage (/evolution/dist/main.js:203:13692) at async Ms.mediaMessage (/evolution/dist/main.js:203:15882) at async he.sendAttachment (/evolution/dist/main.js:76:16196) at async he.receiveWebhook (/evolution/dist/main.js:78:232) at async ai.dataValidate (/evolution/dist/main.js:214:101852) { data: null, isBoom: true, isServer: true, output: { statusCode: 500, payload: { statusCode: 500, error: 'Internal Server Error', message: 'An internal server error occurred' }, headers: {} } }

[Evolution API] v2.1.0 170 - Mon Sep 16 2024 11:38:42 ERROR [ChatwootService] [object] { status: 500, error: 'Internal Server Error', message: [ 'Error: Media upload failed on all hosts' ] }

Screenshots/Videos

image

Which version of the API are you using?

2.1.0

What is your environment?

Docker

Other environment specifications

image

If applicable, paste the log output

No response

Additional Notes

No response

liluyoud commented 1 month ago

Eu tive o mesmo erro e não consegui tirar. Pelo que vi não está acontecendo com todos. Mas para resolver meu caso, acabei voltando para a versão 2.0.10 que está conseguindo enviar pelo menos

andersoncobuci commented 1 month ago

Eu tive o mesmo erro e não consegui tirar. Pelo que vi não está acontecendo com todos. Mas para resolver meu caso, acabei voltando para a versão 2.0.10 que está conseguindo enviar pelo menos

Aqui mesma coisa, revirei tudo e não achei solução, apenas fazendo o downgrade