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

[BUG] #995

Closed
anonphoenix007 opened this issue Aug 22, 2024 · 10 comments
Closed

[BUG] #995

anonphoenix007 opened this issue Aug 22, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@anonphoenix007
Copy link

Screenshot_20240822-234932

RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: "length" is outside of buffer bounds

Pairing with baileys gave this error,it has always been working until few hours ago,I rechecked my code but see nothing wrong with it before I decided to create an issue.

@anonphoenix007 anonphoenix007 added the bug Something isn't working label Aug 22, 2024
@lugata
Copy link

lugata commented Aug 22, 2024

just updated the library using npm update, and it fixed the issue.

@purpshell
Copy link
Collaborator

hmmm

@anonphoenix007
Copy link
Author

just updated the library using npm update, and it fixed the issue.

I'll try to update and give feedback then,thanks.

@yuvalwarsh
Copy link

happens to me either, im using 6.7.7

@keef3ar
Copy link

keef3ar commented Aug 23, 2024

me to 6.7.7

@yuvalwarsh
Copy link

im on 6.7.7, i noticed im getting it only for messages in length of 40 chars and above (below that it works fine)
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: "length" is outside of buffer bounds

@keef3ar
Copy link

keef3ar commented Aug 23, 2024

6.7.5 with 2.3000.1015901307 same issue

@keef3ar
Copy link

keef3ar commented Aug 23, 2024

downgrade node from 22.7.0. im use 20-alpine and proplem resolved

@anonphoenix007
Copy link
Author

Thanks bro brothers,it is now fixed. the node version was declared in package.json to use 22.* and higher if available ,I specified to use the Version 20 and I changed baileys version to 6.6.0,also changed baileys version to 6.6.0 in my bot project package file.

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

6 participants
@keef3ar @purpshell @yuvalwarsh @lugata @anonphoenix007 and others