-
Notifications
You must be signed in to change notification settings - Fork 954
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
Instancias perdendo conexão ao reiniciar container #999
Comments
Veja se na sua .env a variável do redis CACHE_REDIS_SAVE_INSTANCES esta como false |
@michaelvips esta como true, aproveitando vou deixar o env aqui
|
Deixe como false, está ai seu possível problema |
@michaelvips mas qual sentido disso? O cache serve pra ajudar em várias coisas, aí vou remover o cache? Realmente não entendo... Inicialmente eu até usava cache em memoria, mas mudei pra usar Redis por n motivos, mas realmente.... Acredito que o cache ajude principalmente a resolver o problema do No Sessions |
Isso não vai desativar o redis, apenas os dados da instância não vai ficar nele. |
@michaelvips Cara, tu acredita que até hoje eu não tinha visto essa variavel? Eu sempre li apenas CACHE_REDIS e CACHE_LOCAL, ******, vou testar isso e acho que vai resolver realmente, eu já olhei tantas vezes isso e nunca percebi. Algo tão simples e passou realmente despercebido... amanhã vou testar e volto pra confirmar aqui, mas realmente acho que isso vai resolver. INCRIVEL!!!! Muito obrigado em me fazer enxergar essa variavel |
Welcome!
What did you do?
Minha stack atual é:
Evo: 2.1.0
PostgreSQL Supabase
Redis local
Ja vinha rodando a mais de 1 mês e precisei reiniciar o container, ao voltar todas as instancias perderam conexão. Quando eu usava a 1.5/1.6 o reinicio era até normal para evitar o No Sessions, mas a conexão era mantida, há algum bug nisso nessa versão?
De qualquer forma aproveitei e atualizei para 2.1.2, ao reiniciar também perdeu conexão. Então agora decidi testar com postgres local para ver se muda algo...
Alguém tem ideia do que pode ser?
Hoje 23/10/2024 container reiniciou por algum motivo, fui checar os logs e, inicialmente o container inicia e começa gerando vários QRCode pra conexão das instancias e algum tempo tempo da esse erro repetitivamente.
Nos logs que coloquei abaixo mostra o momento que o container reinicia e todas as intancias começam a gerar QRCode até chegar no limite e começar a dar esse erro da imagem.
Link do post no Discord "PRO" https://discord.com/channels/1246863488039518298/1296486124839239781
What did you expect?
Que a conexão se mantenha mesmo após reiniciar
What did you observe instead of what you expected?
Todas as intancias gerando QRCode para iniciar a conexão novamente
Screenshots/Videos
No response
Which version of the API are you using?
2.1.2
What is your environment?
Linux
Other environment specifications
No response
If applicable, paste the log output
Deploying migrations for postgresql
Database URL:
[Evolution API] [NHC50Y71R] v2.1.2 183 - Wed Oct 23 2024 17:12:38 LOG [ChannelStartupService] [string]
{ instance: NHC50Y71R pairingCode: null, qrcodeCount: 1 }
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▀▄▄▀▄▄▀█ ▄▄▄▄▀▄▄▄▄█ ▀ ▀▄▄ ▀▄ ▀█ ▄▄ █▄ ██ ▄▄▄▄▄ █
█ █ █ █▄▀ ▀▀▄████▄ █▄█▄███▀█▄█▄▄ ▄▄▄▀██▄█▄ ▄▀▄ ██ █ █ █
█ █▄▄▄█ █ ▀▀█▀▄ ████▀██▀▀▄ ▄▄▄ ▀ █▀ ▀ █▄▄ █▄ ▀▄██ █▄▄▄█ █
█▄▄▄▄▄▄▄█ ▀▄▀▄▀ ▀ █ ▀ █▄▀▄█ █▄█ ▀▄█▄█ █ ▀▄▀▄▀ █▄█ █▄▄▄▄▄▄▄█
█▄▄█ █▀▄▄█▄ █▀ ██▄▀▄█▄ ▄ █ ▄ ▄▄██ ▄▄▄▄▄ █▄▄█▀██▄█▄▄▄▀▄ ▀█
█▄▄▀▄▄ ▄█ ▀ ▄▀██ ▀▄▄▄ █▀▄ ▀█ ▀▄▄████▀ ▄▀▄▄█▄ ▄▀█ ██▀█▀ █
██▄▀ █ ▄▄▀██▀█▄█▄▀█▄ ▄ ▀██▀▀▄ █▀▀▄█ ▄▀▄█▄▀▄█ █▀█ ▄▀ ▀▄█
████ ▀▄▄▄ ██▀▀▄█▀█▄ ▄▀█▄▀▄▄▄ ▄ ▀▀▀█▀ █▀█▄▄▄█▀ ▄██▄█▄ ██
█ ▄ ▄▀▄▀▀██▄█▀▄▄▄▄▄█▀█▀▄██▄ ▄▄ ▄▀ ▄▀ ███▀▄██▀██ ▄▀██▀▄█
█ ▀▀▄▄█▄▀ ▀▀██▀▄▄ ▀ ▄██▀▄▀ █▄██▀ ▄ ▀▀ ▀▄█▀ ██▄█▄▄▀▀█▄▄▄▄▄▄█
█ ▀▀▀▄ ▄▄▀█▀▄▄███ ▀ █▄▄▄ ▄▀█▄▀█▄▀▄██ ▄█▄ ▄█▄▀█▄▀█▄▄▀ ▀ ▄ █
█▀ ▄▄▀▄▄█▀ ▀ ▀▀▄█ █▀ ▀▀▀▄█▄█▄█▀▀▄▀▄▄ ▀▄▀▄▄██▀▄▄█ █▀▀ ▄▄ █
██ ▄ ▄▄▄ ▄▀███ █ ██▄ ▄▄▀ ▄ ▄▄▀██▄▄ ▄▄▄█▄█ ▀ ██▀█▄▄▀█ ▀█
█▄▀▄█ ▄▄▄ ▀▀█▄▀ ▀▄▀▀▄▀█▄▀█▀ ▄▄▄ ▄ ▀ █▄▀█ █▀█▀█▄█▀ ▄▄▄ ▄▄ ██
█ ▄ █▄█ █▀ ██ ▄▄█▄ ██ ▄▄ █▄█ ▀ █▄▄ ▄▀ ▀ █▀ ▄▄ █▄█ ▀▀ ▀█
█▄█▀▀ ▄ ▄▀▀▀██▀█ █▀ ▄█ █▄ ▄ █▀██▄ █▄▄▄▄▄▀▀▀█ █▄ █
█▄█▀▄▀█▄ ▄▄█▄█▀ ██ █▄ ▄ █▀▄ █▄▄ █ ▄ ▄█▀ ██ ██▄▄ ▀█▄█ █ ▀█
█ ██▀█▄▄██ ▄ ▀ █▄█▀ ▄▄█▀ ▀ ▀▄▀▀▄▀▄█▄▀▀▀▀█▄█▄ █▀▀▀▄█ ▀▀▀▄▀▄█
█▄▄▄▀▄ ▄ ▄▀▀ ▄▄▀ ▄ ▄▄▀ ▀█ ▄▀ █ █ ▄ ▄ ▄█ █ ▄▄▀█ █ █
█▄ ▀ █▄▀▄███▀▀▄ ▄ ██ ██▀▄ ▄ ▄▀ ██▀██▀ ▀ ▄▄█▀ █▄▄▀ █▄█▄█ ▄█
█▀ ▀▄ █▄▀█ ▀▄▀▀█▄▄▄ ▀▀▄█▄█ ▄██▀▄▄ █▀ █▀▄█ ▄█▄▄▄█▀ █ ▄▄▄ █
█▀ ██▄ ▄▀ ▄▄█▀█▄ ▄█▄ █ ▀ ▄ ▄█ ▄▄█▀██▄▄ ▀▀████ ▄▄▀▀▄▄ ▄█
█▄▀ █ ▄▀▀▀▄▀▀█ ██▄▄██ █▄█ █ █ ▄▄█▄▄ ▄▄▄▄▄▄▄▀▄█▄▄▀▄█▄▄ █▀█
█ ▀ ▀▀▄▄▄▄▀▄▀▄▄▄ █▄▄██▀▀██ ▀▄▄▄ ▄▀█▀▀██▀▄█▄▄▄█ ▄ █ █ ██▄█
███████▄█▀▄▀ █▄ ▄▀ ▀▄ ▀█ ▄▄▄ ▄ █ ▄▀█▄▄██▄▄▀ ▀ ▄▄▄ ▀▀▄█
█ ▄▄▄▄▄ █▄█▀▀▀ ▀▀▀▀ ▄ ▄ █▄ █▄█ ▄█ ▀▀▀ █ ▄▀ █▄ █▄█ ▄█▄▀█
█ █ █ █▀▄█ ▀ ▄█▀ ▀ ▀▀ █ █ ▄▄█▄█ ▀ █ ▄█▄ ▄ ▄ █ █
█ █▄▄▄█ █▀▀▄ ▀ ██ ▄▄█ █▀▀▄▄ █▀██▄▄ ▄▀████ █ ▄▀▄ ▄▄██▄█
█▄▄▄▄▄▄▄█▄█▄█▄███▄█▄██▄▄██▄███▄▄▄▄██▄▄█▄▄▄█▄███▄██▄████▄▄██
[Evolution API] [C306243Y4] v2.1.2 183 - Wed Oct 23 2024 17:12:38 LOG [ChannelStartupService] [string]
{ instance: C306243Y4 pairingCode: null, qrcodeCount: 1 }
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▄█ █▀███▀▀▄▀▀▄█ ▀▀▀▀ █▀▀██▀█▀▄ ▄▄▄ ▄ ██ ▄▄▄▄▄ █
█ █ █ █ ████ ▄▄█▀▀█▄█▄▀ █▄█▀▀ █ ▀ ▄▀█▄▄█ █▀▄ ██ █ █ █
█ █▄▄▄█ █▄▄▀▀ ▄█▀▀█ ▀█ █▀ ▄▄▄ ▄█▀█▄ ▄ ▀▀▀▀▄▄▀▄██ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄█▄▀▄█ █▄█▄▀▄▀ ▀▄█ █▄█ ▀ ▀ █ █ ▀▄█ █ █ █ █▄▄▄▄▄▄▄█
█▄ ▄▄▀█▄▀ ▀ ▄███▄██▀▄ ▄ █▄ █ ▄▀█▀█▄▄ ▀████ ▀ █▀ ▄ █▄█
█▀ ▀█▄█▀▀██▀ ▀ ▀ ██ ▄▄▄▀██▄▄ █ ██ ▄▄▄▀█▀ ▀▄▄▄▀▄▄█ ▄ ▄ ▄█
█▄▀▀█ ▄▄▄ ▄▄ ▄ ██▄▀▀█▄█▄█▀█▀█▀▄█ █ ▀▀▄▀▄█ ▀█▄▀██▀▄█▀▄ ██
█ ▀▄█ ▄██▄ ▀▄ █▀▀▄▄▀▄ ▀▄▄█ ▄▀█▄▀█▄▀█▀█ ▀▄ ▄▄ █▄ █▄▀█▀▀▀██
█▀█ ▀▄ ▄███ ▄ █ ▀ ▀██▄▄▀▄▄██▄▄▀▄ ▄ ████ ▀ ▄ ▀▄▄█ ▀▄▄▄▀█
██▄█▄▀ ▄ ██▄ █▀▀▀██ █▄ ▀█▄▀ █ ▄▀▀▄█▄ ██▄██▀▄▀▀ ▀▄▀▀▄▄▄▀██
█▀▀ ▀▄▄▄ █▄▄ ▄ ██ ▀██▄ ▀█▀ ▄▄ ▄▀██▄▀▀█ █ ▀▀█▄▄ ▄▄▄▀ ▀▀█
██▄▄▄▄█▄▀▄ ▄▀██▀▀▄▀ ▄▀█ █▀▄▄ █▀█ ▄▄▀█▄█▀█ █▄ ▀ ▀▄▄ ██▄█
█▄█ ▄ ▀▄█▄▀▀█▀▀ █▄█ █ ▄▀ ██▀▀▀█▄▄▄ ▄ ▀█▀█▄ █ ▄█▄▀ ▀█▀█▄▄█
██ █▄ ▄▄▄ ▄▀ ██▀ ▄▄▀▀█▄▀▄▀ ▄▄▄ █▄▀ █▄ ▄▀ █ ▀▀█ ▄▄▄ ▀▀█▀█
█▄ ▀▀ █▄█ ▄ ▄▄▀▀▀ █▄██▀▀ █▀ █▄█ ▄▄▀▀██▄█ ▀ ██▄ ▀▄ █▄█ ▄ ▄█
█▄▄█▀▄ ▄▄▄█▀▀▀▀▄▄▄█▄▀▀▄▀▄▀ ▄▄ ▄ █ ▀ ▀█▄▄ █▄█▄▀▀ ▄▄▄ ▄▄ ██
█ ▄▄█▄▄█▀▄▄ ▄█▀▄▄▀█▀█ ▄ █ ██▀▀▀█ ▄▄▀▀▄ ▄▀▀████▀▄ ▄▄▄▄█▀██
██ ▄█ ▄▄▄ ▄ ██▀█▄ ▄ ▄ ███▄ █ ▀ ███▀ ▀██ █▀█▀▄▀ █▀ ▄▀▀▄█ ▄█
█▄▀▄▀██▄▀ ▀▀▄▄█▀███ ▀█▀▀ ▄█▄██▄ █▀▄▄ ▄███▄▀ ██▀▀▀ ██▀▄██
█▀▀▀█▄█▄▄▄ █▀▄ ▄ █ █▀▄▀▄▄ ▄▄▀ █ ▄██▀▀ ▄▄▀ ▀▀█ ▀ █▀▀█▄█
█ ██ ▄▄ ▄▀█▄▀█▄ ▀▀▀ █▄▀ █▀ ▀ ▄█▄▄▀ ▀█▄ █▀██ ▀ ▄ ▀ ▀██▄█
███▄ ██▄█▄▄▄ █▄▀ ▀█▄▄██ ▄████ ▄▀▀▀██ ▄ ▀ ██ ▄█▀▄█▄ ▀█ ▀█
█ ▄ █▀▄▄▄█ ▄ ▄▄▄█▀▀▀▄ █▀▀█████▀█▀██▄█ █▄ ▀▀▀▄▄█ ▀▄ ██ ▄▄█
█ ▀ ▀▀▄▄ ▀█▀▀█ ▀▄▄██▀██▄▀▄▀█▀▀██▄▄ ▄ ▄▀ █▀▄▄██ ▀▀█▄ █ █▄ █
███████▄█ █▀▀█▀ ▀█▄▄▀▀█▀▄█ ▄▄▄ ▄█ █ ▄▀▀██▄█ ▀ ▄█ ▄▄▄ ▄▀█▄█
█ ▄▄▄▄▄ ███ ▀▀▄ ██▄██▄█ █ █ █▄█ ▄▄ ▄ █ ▄▀▀ ▀ █▄█ ▀▀█
█ █ █ █▀ ▀ ▀▀▄▀██▀ ▄ ▀ ▀▄ ▀ ▄▀█▄▄█▀█▄▄▀▀ ▄▄▄▄█▄▀▄█
█ █▄▄▄█ █ █▀▄ █ ▄ ▄▀ ██▀▄█▀▀█▀█ ▄ ▀█▀▀▄▀ ▀▀▄ ▀▀███▀█
█▄▄▄▄▄▄▄█▄▄██▄████▄█▄█▄▄████▄████▄██▄██▄▄▄▄███▄▄██▄▄██▄▄███
[Evolution API] [QQ5J5DSFA] v2.1.2 183 - Wed Oct 23 2024 17:12:38 LOG [ChannelStartupService] [string]
{ instance: QQ5J5DSFA pairingCode: null, qrcodeCount: 1 }
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▄ ██▄▄ ▀▄██▀▄ █▄▀█▀█▄▄▄ ▀▀▀▄▀█▄▄ ▀█ ▄ ██ ▄▄▄▄▄ █
█ █ █ █ ▀▀ ▄▀▄█▄▄ ██▄▄▀▀ █▄██ ▀▄▀▀▄ ▀▄ █▀ █▀▄ ██ █ █ █
█ █▄▄▄█ █▄▄██▄ ▄▀▀▄▄ ▀▀ █▀ ▄▄▄ ▄█ ▀█▄ ▄▀ ▄▀ ▄▄▀▄██ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄▀ █ ▀▄█▄█▄▀▄▀▄▀▄█ █▄█ ▀ ▀ █ ▀ ▀ █▄█▄▀▄█ █▄▄▄▄▄▄▄█
█ ▄▄ █▀▄▀▄ █▄▀▀ █▄▀▀█ ▄▄ █ ▄▄ █ ▄▀▀ ▄▀ ▀ ███▄ ▀ █▀ ▄ █▄█
█▀ ▄█▄▀ ▄▀ █ ▀▄▀ ██ ▄▄▀█▄█▄█▀ ▀ █▀▄ █▄▄▄ ▄█ ██▀▄█▄▀▀ ▄▄▄█
█▀█▀▄▀▄▄█ ▀█▄ ▄ ▄█▄ █▄██▀▀▀▀█▀ █▀█ ▄▄▀▀▀▄▄██ ▄▄▄▀ ▀█▀ █ █
█ █ █ █▄▄█ ▀▀ ▄▄▀▀▄▀▄▄█▀▄█▀█ ▄█▀ ▀██ ▀ ▄▀▀ ██ ▀█ ▄█ █ ▀██
██ █ █▄▄▀▀ ▄██ ▀▄▄▀█ █ █▄▄███▄█▀██▄██▀▀▄▄ ▀▀█▄▄▄ ▀█▄▀██
█▀▄███ ▄ █▄▀▄█▀▀█▀▄▀ ▄█▀▄▀▀ ▀ ▀ ██▄▄▀▀▀▄▄ ▀▄▀ █▀██ ███▄▀█
█▄ █▄▄█▄▄▀▄ ▄ ██ ███▄▄▀█▀▀▀ ▀▀▄█▄▄▀█▀▄ ███▄▄ █ ▄█▀ █
█▀▄▀▄▀▀▄▀██▄ █▄█▀▄▀▀ ▄▄▀ █▀▄▀ █▀█ ▄██▄██▄ ▄▄▀▀█▀█ ██▄▀▄█▄█
█ ▀▀▄█▄▄▄ ▀▄▀ █▄▄ █ █▀█▄▀▀█▀▄▄▄▄ ▄ ▀▀▀ ▄▀█▀▄▄▄ ▀▀█ █ █
███▄█ ▄▄▄ █▀ ▀▀█ ▄▄▀▀█▄▀ ▄ ▄▄▄ █ ▀ ███▀ ▄ ▀ ▄▀ ▄▄▄ ▀▀███
█▄▄█▄ █▄█ ▄ ▄ █▀▀█▄ █▀▀ ██ █▄█ ▄▄▀▀██▄ ▀ ▄ ▄ ▀▄ █▄█ ▄█▀██
█▄ ▄▄ ▄▄ █▀ █ ▀█▀ █▄ ▄▀█▄ ▄▄ ▀█▀ ▀ ▀ ▀█▄▄██▄ ▄ ▄▄▄ ▀█
█ ▀▀ ▀ ▄▄ █▀▀▄▀▀ █▄█ █▄▄▀▀██ █▀▀█▀ ▄▄▀▄█▀ ▀ █▀▄█▀▀▀▄█▄ ▀▄██
█▀ ▀▀ ▄█ ███▀██▀ ▄▀ █▀█▄█ █ █▄ █ ▀█▀▄▄▀▄ ▄ ▀ ▄█ ▄▄ █
█▄ █▀██▄▀▄▀▀ █ ██▄▄▀███ ▄▄▄██▀███▀▄█▄█ █▀▄█ ▀██▀█▀▀▀▄▀▀███
█ █ ▀ ▄ ▀ ▀▀▄ █ ▄▀ ▄▀▄▄ ▄▀█▀█▀█ ▄▀▄▀ ██ █▄██▄██ ▀▀ █▄█
█▄█▄ ▀▀▄█▄▀▀▀ ▄█ ▀█ █ ▀▀█▀ ▄ █▀█▄▄▀██▄▄▄▀▀█ ▄▀ █▀▄▀▀█▀█▄█
█ ▄▄▄▄▄ ▀▀██▀ ▄█▄█▄ █ ▄▄██ ▀▄ ▀██▀▄▄██▀▀ ███ ▄▀ ▄██▀▄█▄██
█▄█▄█▀▄▄█▄ ▄▄▀ ▄█▀▀▀█ █▄ █ █▀█▄██▄ ▀▀▄█ ▄ ██▄█▀▄▀██▄█ ███
█ ▀ ▀▀▄▄█▄ █ █▀▀▀▄██▀▄█▀▀▄██▀▀█▀ ▄ █▄█▄▄█▀█ █▄▄ ▄ ▄▄▀ ▀▄▄ █
███████▄▄▀▀▄▄█▄▄█▄▄▄ ▀ ▀▄█ ▄▄▄ ▄█ █ ▄ ▀▀█▄▄▄█ ▄█ ▄▄▄ ▄▀██
█ ▄▄▄▄▄ ██▀ ▄█ ██▄ ▄▄▄█ ▄ █▄█ ██▄▀▄ ▄█▀ █▀█ █▄█ ▄ ▄██
█ █ █ █▀█▄█ ▀ ▀███ ▄ █ ▀▄ ▄ ▀▀█▀█▄██▀▄ ▄ ▀▀ ▄▄ ▄█▄▀██
█ █▄▄▄█ █ ██▀▄█ ▄▄▀▄▀█▀▄ ███▀▄▀ ▀█▀ █ ▀█▀█▄▀▀ ▀█▄█▀█
█▄▄▄▄▄▄▄█▄▄▄▄██▄█▄▄██▄▄▄█▄███████▄██▄█▄█▄▄▄███▄█▄█▄█▄▄█████
Additional Notes
No response
The text was updated successfully, but these errors were encountered: