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

[BUG] QR works for only a minute

Open sebastianxy opened this issue 2 months ago • 7 comments

📋 Bug Description

Everytime i generate the QR Code to scan it with a phone, after a minute, the QR Code stops working and gives an error. Ive tried changing the QR Limint variable but nothing, does anyone know how to fix this?

🔄 Steps to Reproduce

generate QR Code and wait for more than a minute, it wont work

✅ Expected Behavior

It should let me scan it regardless of time

❌ Actual Behavior

It gives me an error

🌍 Environment

I have it on hostinger, on EasyPanel

📋 Logs


📝 Additional Context

No response

sebastianxy avatar Nov 03 '25 19:11 sebastianxy

I already adjusted the WhatsApp Web version and rebuild it, but it's not working.

juniorcastr avatar Nov 04 '25 21:11 juniorcastr

same here

danielkv avatar Nov 05 '25 01:11 danielkv

change to CONFIG_SESSION_PHONE_VERSION=2.3000.1029384238 and change dns to your vps to google dns

8.8.8.8 8.8.4.4

fix

juniorcastr avatar Nov 05 '25 22:11 juniorcastr

Estava passando pelo mesmo problema e bati muita cabeça até perceber que é necessária essa alteração específica no arquivo docker-compose.yml : na parte "services -> api -> image", se o valor após os ":" estiver ainda como "atendai/evolution-api:latest", você precisa substituir pela nova imagem deles que é "evoapicloud/evolution-api:latest" [ou em vez de latest, utilizar uma versão específica da api]. ✅ Aplicando essa substituição de "atendai/evolution-api:latest" por "evoapicloud/evolution-api:latest" resolveu esse problema aqui ;) .

I was experiencing the same problem and struggled a lot until I realized that this specific change is needed in the docker-compose.yml file: in the "services -> api -> image" section, if the value after the ":" is still "atendai/evolution-api:latest", you need to replace it with their new image, which is "evoapicloud/evolution-api:latest" [or instead of last, use a specific version of the API]. ✅Applying these replacements of "atenai/evolution-api:latest" to "evoapicloud/evolution-api:latest" solved this problem here ;) .

Aurelianny avatar Nov 06 '25 17:11 Aurelianny

@Aurelianny muito obrigado, sua solução resolveu o problema. Testei em minhas aplicações locais, agora vou replicar para as VPS. Desde a semana enfrentando problemas de novas conexões, valeu!

bmoweb avatar Nov 10 '25 17:11 bmoweb

@Aurelianny Parabéns e muito obrigado pela disponibilidade em expor a solução. Uso podman e estava com problemas desde o dia 05/11/2025 com a versao 2.2.3 na imagem do atendai, com essa alteração, a versão 2.3.6 corrigiu os problemas e após a leitura do QRCode não tive mais desconexão imediata, agora é aguardar. Usando a CONFIG_SESSION_PHONE_VERSION=2.3000.1029384238

Obrigado!

@Aurelianny obrigado amigo , vc é um amigo

Marcusluca avatar Nov 11 '25 22:11 Marcusluca

Resolveu utilizando a solução da amiga @Aurelianny mudei a origem para evoapicloud/evolution-api:latest e resolveu para mim

rbarcelo avatar Dec 08 '25 20:12 rbarcelo