-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
RemoteAuth Puppeteer ProtocolError #3427
Labels
bug
Something isn't working
Comments
Same error occured with RemoteAuth with aws-s3 |
same error, pliz help |
I am using |
Facing same issue, we are stuck @Hasnen-mr @Khalidmamdou7 please help here as you are expert in this library |
2 tasks
Any fixes? Same error here using RemoteAuth with aws-s3 |
Also experiencing this issue for about 2 weeks and unable to fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Is this a problem caused by your code, or is it specifically because of the library?
Describe the bug.
Whenever I run my script after using
RemoteAuth
configured withmongo
, after 5~10 seconds (possibly fetching data from mongo) aProtocolError
occurs and the process is closed.here is the full error message:
Note that at the first time running the script (a fresh session before authentication), it authenticates successfully and works perfectly and a
remote_session_saved
event occurs, and 2 collections are stored in mongodb. However, after running again and utilizing the data stored in mongo, it throws the mentioned error.LocalAuth
works perfectly.here are the versions am using:
here is the code snippet:
Expected Behavior
As a user I expected to authenticate successfully and start working, but I am seeing the error I mentioned before
ProtocolError
Steps to Reproduce the Bug or Issue
Use
RemoteAuth
configured with mongodb. Run your program the first time and authenticate and wait for the remote session to be saved using theremote-session-saved
event handler. close the program and reruns it again without deleting the session info from the mongodb. It will try to load then the error will be thrown.WhatsApp Account Type
Standard
Browser Type
Chromium
Operation System Type
Ubuntu
Phone OS Type
Android
WhatsApp-Web.js Version
1.2.6
WhatsApp Web Version
2.3000.1019099659
Node.js Version
v20.11.1
Authentication Strategy
RemoteAuth
Additional Context
No response
The text was updated successfully, but these errors were encountered: