Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

Delay in receiving message

Open elementar-tech opened this issue 1 year ago • 21 comments

there is a delay of 1 minute in all messages received, it started today

elementar-tech avatar Sep 20 '24 16:09 elementar-tech

Happening here too

T3uZ avatar Sep 20 '24 17:09 T3uZ

Here to

Here to

ojauumdev avatar Sep 20 '24 18:09 ojauumdev

Here too! ANy ideia?

alexandreaf87 avatar Sep 20 '24 18:09 alexandreaf87

Quando tento reinstalar o Socket, recebo este erro: sudo npm i WhiskeySockets/Baileys npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/WhiskeySockets/Baileys.git npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2024-09-20T18_10_37_366Z-debug-0.log

elementar-tech avatar Sep 20 '24 18:09 elementar-tech

nown git error occurred

you forgot the @ ->npm install @whiskeysockets/baileys

wilsinho8 avatar Sep 20 '24 18:09 wilsinho8

O erro acontece assim também sudo npm install @whiskeysockets/baileys npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/WhiskeySockets/Baileys.git npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2024-09-20T19_05_01_576Z-debug-0.log

elementar-tech avatar Sep 20 '24 19:09 elementar-tech

O erro acontece assim também sudo npm install @whiskeysockets/baileys npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/WhiskeySockets/Baileys.git npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2024-09-20T19_05_01_576Z-debug-0.log

I believe you are using the root user, sometimes this happens, go to the deploy user

T3uZ avatar Sep 20 '24 19:09 T3uZ

Foi isto mesmo, consegui atualizar agora. Mas o delay continua.

elementar-tech avatar Sep 20 '24 19:09 elementar-tech

Reiniciei o pm2 e aparentemente está tudo OK agora.

Rodei os comandos no Deploy sem sudo.

npm r @whiskeysockets/baileys npm install @whiskeysockets/baileys

pm2 restart all

elementar-tech avatar Sep 20 '24 19:09 elementar-tech

Reiniciei o pm2 e aparentemente está tudo OK agora.

Rodei os comandos no Deploy sem sudo.

npm r @whiskeysockets/baileys npm install @whiskeysockets/baileys

pm2 restart all

Is the delay over? or only install ?

O Atraso acabou.

Conforme a informação do @T3uZ eu verifiquei que estava conectado como root. Fiz logon com o usuário deployzdg e rodei os comandos sem sudo para remover e instalar e depois reiniciei o pm2.

npm r @whiskeysockets/baileys

npm i @whiskeysockets/baileys

pm2 restart all

elementar-tech avatar Sep 20 '24 19:09 elementar-tech

Fiz o procedimento aqui mas o delay continua...

ojauumdev avatar Sep 20 '24 19:09 ojauumdev

Tenta reiniciar o servidor, vai que resolve. Aqui só com o procedimento que postei, resolveu.

elementar-tech avatar Sep 20 '24 19:09 elementar-tech

Reiniciei mas nao resolveu!

ojauumdev avatar Sep 20 '24 19:09 ojauumdev

Conseguiram resolver a lentidão?

joao-pedro-caristeo avatar Sep 20 '24 19:09 joao-pedro-caristeo

After updated, it's fixed.

alexandreaf87 avatar Sep 20 '24 20:09 alexandreaf87

Depois de fazer os procedimentos abaixo tudo voltou ao normal:

npm r @whiskeysockets/baileys npm install @whiskeysockets/baileys

valloo-daniel avatar Sep 23 '24 13:09 valloo-daniel

Sim, depois de atualizar resolveu!

Em seg., 23 de set. de 2024 às 10:21, valloo-daniel < @.***> escreveu:

Depois de fazer os procedimentos tudo voltou ao normal:

npm r @whiskeysockets/baileys npm install @whiskeysockets/baileys

— Reply to this email directly, view it on GitHub https://github.com/WhiskeySockets/Baileys/issues/1053#issuecomment-2368229430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASU5XHMF7WROYD7JL7ZZQDDZYAIWNAVCNFSM6AAAAABOSLCNQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIZDSNBTGA . You are receiving this because you commented.Message ID: @.***>

alexandreaf87 avatar Sep 23 '24 13:09 alexandreaf87

O Meu foi resolvido, mas o meu problema era porque eu uso a ferramenta Nginx proxy manager para gerenciar o proxy, e esqueci de marcar a flag para permitir websockets. aqui esta normalizado!

ojauumdev avatar Sep 23 '24 22:09 ojauumdev

Bom dia, É um bug da baileys, ainda ocorre o problema, uma hora o outra vai voltar. Existe um ID estranho, 66e.. está quebrando a LIB.

T3uZ avatar Sep 24 '24 11:09 T3uZ

Eu estava com o mesmo problema, removi o pacote, instalei novamente e reiniciei o processo no pm2. Voltou a funcionar.

gustavoalvessouza avatar Oct 04 '24 16:10 gustavoalvessouza