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

WebSocket Error: Close 1006 (Abnormal Closure) When Executing client.GetProfilePictureInfo(clientJID, params) #672

Open
caiodearaujo opened this issue Oct 12, 2024 · 3 comments

Comments

@caiodearaujo
Copy link

caiodearaujo commented Oct 12, 2024

I am encountering a WebSocket error when attempting to execute the following command: client.GetProfilePictureInfo(clientJID, params).

The error occurs consistently, and I receive the following message in the logs:

[WhatsMeow/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF

Steps to Reproduce:

  1. Initialize the Whatsmeow client.
  2. Execute client.GetProfilePictureInfo(clientJID, params) with valid parameters.
  3. Observe the WebSocket closure and the error message in the logs.

Expected Behavior:

The command should successfully fetch the profile picture information without causing a WebSocket closure.

Actual Behavior:

The WebSocket unexpectedly closes with error code 1006 (abnormal closure)

Additional Information:

  • Whatsmeow version: v0.0.0-20240828153534-8acde1ba8592
  • Go version: go1.23.1 darwin/arm64

Please let me know if additional logs or debug information are required.

@caiodearaujo
Copy link
Author

The same happens with the client.Store.Contacts.GetAllContacts()

@flykby
Copy link

flykby commented Oct 24, 2024

Same problem

@likamee
Copy link

likamee commented Nov 11, 2024

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants