evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

CONFIG_SESSION_PHONE_VERSION causing problems

Open yydevelopment opened this issue 1 year ago • 19 comments

Welcome!

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

What did you do?

I am using the latest version 2.3.0 and I am having problems with CONFIG_SESSION_PHONE_VERSION variables.

I installed your system with Coolify, and after a few days, it stopped working. After searching online and changing CONFIG_SESSION_PHONE_VERSION, it started working again.

But the problem with that is that I will have to keep updating CONFIG_SESSION_PHONE_VERSION each time, and it's a pain in the ass.

I saw you said that in 2.3 version you can leave CONFIG_SESSION_PHONE_VERSION empty and it will take the last version, but it doesn't work.

If I leave the value empty, it doesn't send messages at all. Coolify is problematic and I can't easily delete CONFIG_SESSION_PHONE_VERSION value to test that as well so for now i tested it only as empty.

So that means that probably an empty value doesn't work (at least on Coolify), or you don't pull the latest version of WhatsApp well. It might have been better to also allow a value like 'latest' for CONFIG_SESSION_PHONE_VERSION instead of just empty, just in case.

Other than that this app is really good, and hope there can be fix for that as well because i see many people have problems with CONFIG_SESSION_PHONE_VERSION and keep updating it by myself is messy.

What did you expect?

I expected the app version to update automatically without doing it myself.

What did you observe instead of what you expected?

It's not automation and i wasn't able to find a way to fix that.

Screenshots/Videos

No response

Which version of the API are you using?

2.3.0

What is your environment?

Windows

Other environment specifications

Coolify

If applicable, paste the log output

No response

Additional Notes

No response

yydevelopment avatar Jul 26 '25 13:07 yydevelopment

estou tendo o mesmo problema

Vitordotpy avatar Jul 26 '25 17:07 Vitordotpy

Ok, I am updating that I was able to find in the Coolify project a button called "Edit Compose File," and when I removed the CONFIG_SESSION_PHONE_VERSION from there, I was able to remove the value and that worked.

But it took some time to figure it out, and it might be good for others to have the ability to leave CONFIG_SESSION_PHONE_VERSION empty and have it work as well with the newest version.

I don't care as long as it works for me, but that’s just an idea that might help others who use coolify.

Thanks again for this great app.

yydevelopment avatar Jul 26 '25 19:07 yydevelopment

Pessoal, eu gostaria de oferecer automações para meus clientes, mas sinceramente não me sinto seguro em oferecer isso. Nunca consegui ficar mais que 1-2 meses sem nenhum problema com a evolution. Vocês que ofertam isso para seus clientes, como fazem ?

vinicin7 avatar Jul 27 '25 04:07 vinicin7

@vinicin7 use outro provedor de api, evolution está muito longe de ficar pronto e estável, a evolution tem muito mais a oferecer que as outras como integrações e etc, mas sinceramente nao vale a pena pela quantidade de problema que dá no serviço básico que é a troca de mensagem no whatsapp.

Vitordotpy avatar Jul 27 '25 04:07 Vitordotpy

@Vitordotpy qual outro provedor de api você me recomenda? poderia me listar alguns?

vinicin7 avatar Jul 27 '25 05:07 vinicin7

I was able to resolve it with CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. I have an additional question: how can I detect when it starts failing due to version issues at the moment it occurs, not some time after it happened? Has anyone created a flow in N8N for this alert?

Consegui resolver com CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. Tenho uma dúvida adicional: de que forma posso perceber que começou a falhar por causa da versão no momento que acontece, e não algum tempo depois de ocorrido? Alguém já fez algum fluxo no N8N para esse alerta?

jotaperez3 avatar Jul 27 '25 13:07 jotaperez3

I was able to resolve it with CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. I have an additional question: how can I detect when it starts failing due to version issues at the moment it occurs, not some time after it happened? Has anyone created a flow in N8N for this alert?

Consegui resolver com CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. Tenho uma dúvida adicional: de que forma posso perceber que começou a falhar por causa da versão no momento que acontece, e não algum tempo depois de ocorrido? Alguém já fez algum fluxo no N8N para esse alerta?

atualiza para 2.3.0 e não vai precisar setar isso por que já pega sozinho.

pess0a avatar Jul 27 '25 23:07 pess0a

I was able to resolve it with CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. I have an additional question: how can I detect when it starts failing due to version issues at the moment it occurs, not some time after it happened? Has anyone created a flow in N8N for this alert? Consegui resolver com CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. Tenho uma dúvida adicional: de que forma posso perceber que começou a falhar por causa da versão no momento que acontece, e não algum tempo depois de ocorrido? Alguém já fez algum fluxo no N8N para esse alerta?

atualiza para 2.3.0 e não vai precisar setar isso por que já pega sozinho.

O meu não atualiza sozinho, como está configurado o seu?

Rodrigo131102 avatar Jul 28 '25 12:07 Rodrigo131102

Estou com o mesmo problema, desde sábado, todas as instancias caíram

Versão do WhatsApp Web

CONFIG_SESSION_PHONE_VERSION="2.3000.1025195125" CONFIG_SESSION_PHONE_NAME="Chrome"

MatheusLedstar avatar Jul 28 '25 14:07 MatheusLedstar

I was able to resolve it with CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. I have an additional question: how can I detect when it starts failing due to version issues at the moment it occurs, not some time after it happened? Has anyone created a flow in N8N for this alert? Consegui resolver com CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. Tenho uma dúvida adicional: de que forma posso perceber que começou a falhar por causa da versão no momento que acontece, e não algum tempo depois de ocorrido? Alguém já fez algum fluxo no N8N para esse alerta?

atualiza para 2.3.0 e não vai precisar setar isso por que já pega sozinho.

Isso realmente da certo?

MatheusLedstar avatar Jul 28 '25 14:07 MatheusLedstar

Consegui resolver o problema com CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. Tenho uma pergunta adicional: como posso detectar quando a falha começa a ocorrer devido a problemas de versão no momento em que ocorre, e não algum tempo depois? Alguém já criou um fluxo no N8N para esse alerta?

Consegui resolver com CONFIG_SESSION_PHONE_VERSION=2.3000.1025195125. Tenho uma dúvida adicional: de que forma posso perceber que começou a falhar por causa da versão no momento que acontece, e não algum tempo depois de ocorrido? Alguém já fez algum fluxo no N8N para esse alerta?

funcionou pra mim

albanirneves avatar Jul 28 '25 18:07 albanirneves

Galera tem que apagar a linha inteira do config_session_phone_version. removam ela inteira. Outra coisa tentem usar a homolog no novo repositório do docker hub: evoapicloud/evolution-api:homolog

vinicin7 avatar Jul 29 '25 04:07 vinicin7

sendMessage não funciona na 2.3.1 com ou sem o CONFIG_SESSION_PHONE_VERSION. Conhecem alguma alternativa melhor? Parece que esse problema é recorrente pelas issues aqui.

pr-maia avatar Jul 30 '25 14:07 pr-maia

sendMessage não funciona na 2.3.1 com ou sem o CONFIG_SESSION_PHONE_VERSION. Conhecem alguma alternativa melhor? Parece que esse problema é recorrente pelas issues aqui.

qual o log?

vinicin7 avatar Jul 30 '25 20:07 vinicin7

what worked for me was to REMOVE the variable CONFIG_SESSION_PHONE_VERSION completely

TheCsarbeat avatar Aug 01 '25 00:08 TheCsarbeat

Estava também com o problema de não conseguir enviar mensagens, estou usando o evolution api atraves do easy panel na hostinger. Removi a variavel de ambiente de CONFIG_SESSION_PHONE_VERSION completamente, implantei e depois reiniciei, voltou a funcionar corretamente

EmanoelFaria avatar Aug 06 '25 12:08 EmanoelFaria

CONFIG_SESSION_PHONE_VERSION: 2.3000.1026080446

cvrtopher avatar Oct 14 '25 16:10 cvrtopher

CONFIG_SESSION_PHONE_VERSION=2.3000.1028355510

cygustronic avatar Oct 16 '25 12:10 cygustronic

Obrigado @cygustronic

guilhermeverdoodt avatar Nov 18 '25 21:11 guilhermeverdoodt