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

SessionError: No sessions [BUG] #14

Closed
okfull opened this issue Apr 22, 2023 · 8 comments
Closed

SessionError: No sessions [BUG] #14

okfull opened this issue Apr 22, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@okfull
Copy link
Contributor

okfull commented Apr 22, 2023

I updated Baileys to the latest version (at this very moment), but now I get the "No Sessions" error

C:\b\node_modules\libsignal\src\session_cipher.js:71
                throw new errors.SessionError("No sessions");
@okfull okfull added the bug Something isn't working label Apr 22, 2023
@andresayac
Copy link
Contributor

share more details please

@iosahil
Copy link

iosahil commented Apr 22, 2023

Started to face the same issue.

When I interact with messages of large groups, (mine had 1024 members and is a community's group), it gives the error:

C:\Users\Person\GigaChat\node_modules\libsignal\src\session_cipher.js:71
                throw new errors.SessionError("No sessions");
                      ^

SessionError: No sessions
    at 918658474599:7.0 [as awaitable] (C:\Users\Person\GigaChat\node_modules\libsignal\src\session_cipher.js:71:23)      
    at async _asyncQueueExecutor (C:\Users\Person\GigaChat\node_modules\libsignal\src\queue_job.js:20:29)

Node.js v18.14.2

This issue wasn't there in Baileys's stable version, 5.0.0 and I faced this error only & only when I tried to upgrade to Baileys's GitHub version.

I'm currently searching a way to get my project back to rely on the stable version, Baileys 5.0.0.

Note: This issue isn't experienced on Groups < 100 (don't know the exact value but group with 10 person works perfectly) & non-community groups.

@andresayac
Copy link
Contributor

@iosahil Don't worry, it has already been identified and we expect to solve it with the pull mentioned earlier.

@okfull okfull closed this as completed Apr 22, 2023
@RedTNT-Official
Copy link

The bug is here again

@andresayac
Copy link
Contributor

@RedTNT-Official can you please update to the latest version or provide more details I still can't recreate it

@RedTNT-Official
Copy link

@RedTNT-Official can you please update to the latest version or provide more details I still can't recreate it

I am on the latest version and the error happens when I try to send a message anywhere except for my own chat

@andresayac
Copy link
Contributor

@RedTNT-Official can you please update to the latest version or provide more details I still can't recreate it

I am on the latest version and the error happens when I try to send a message anywhere except for my own chat

can you let me see the package.json

@RedTNT-Official
Copy link

@RedTNT-Official can you please update to the latest version or provide more details I still can't recreate it

I am on the latest version and the error happens when I try to send a message anywhere except for my own chat

can you let me see the package.json

image

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

4 participants