Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint Stops Responding After Bulk Video Sends #1105

Open
1 task done
AlejoTorres2001 opened this issue Dec 12, 2024 · 0 comments
Open
1 task done

Endpoint Stops Responding After Bulk Video Sends #1105

AlejoTorres2001 opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AlejoTorres2001
Copy link

AlejoTorres2001 commented Dec 12, 2024

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

I'm experiencing a recurring issue with the EvolutionApi version 2.2. When using the same instance for bulk sending of messages containing video files, the API endpoint responsible for handling these requests stops responding after a while.
I did notice my Redis instance crash due to this problem.

  • The issue occurs after some bulk sends that involve video files.
  • The API endpoint becomes unresponsive, causing the n8n workflow or postman app to continue running indefinitely without completing the operation. It never gives an error code just gets stuck.
  • While the workflow/ http request keeps executing, the messages do not get sent via WhatsApp.

What did you expect?

To normally send messages that contains video files and not only the first couple times

What did you observe instead of what you expected?

he API endpoint responsible for handling these requests stops responding after a while.
I did notice my Redis instance crash due to this problem.

Screenshots/Videos

Endpoint information
POST {{baseUrl}}/message/sendMedia/{{instance}}

Body Example
{
"number": "123456",
"mediatype": "video", // image, video or document
"mimetype": "video/mp4",
"caption": "Teste de caption",
"media": "Base64Media"
}

Which version of the API are you using?

Im using the following docker image tag atendai/evolution-api:v2.2.0

What is your environment?

Ubuntu 22 Server

Other environment specifications

AWS EC2 Instance
16gb RAM
4 VCPU
Ubuntu Server 22

Running evoApi, redis and postgreSQL Stacks on a Docker Swarm with only one node , handling http traffic with traefik

If applicable, paste the log output

No response

Additional Notes

Did anyone experienced something similar? Have you tried using a url instead of sending the Base64 string for that media file?

@AlejoTorres2001 AlejoTorres2001 added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant