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

WhatsApp error: unexpected websocket close: websocket: close 1006 (abnormal closure): unexpected EOF #35

Closed
gzlivre opened this issue Feb 22, 2019 · 8 comments
Labels
bug Something isn't working external This issue is valid, but needs to be fixed somewhere else (e.g. a library)

Comments

@gzlivre
Copy link

gzlivre commented Feb 22, 2019

Hi,
After a few minutes of starting the service mautrix-whatsapp, I believe that whatsapp is blocking my requests.
this is de log:

error writing to socket: write tcp [XXXX:xXXXX:XXXXX:XXXX:XXX]:53642->[2a03:2880:f204:c5:face:b00c:0:167]:443: write: connection reset by peer
[Feb 22, 2019 17:06:46] [User/@user:matrix.domain.org/ERROR] WhatsApp error: unexpected websocket close: websocket: close 1006 (abnormal closure): unexpected EOF
[Feb 22, 2019 17:06:47] [User/@user:matrix.domain.org/ERROR] WhatsApp error: unexpected websocket close: websocket: close 1006 (abnormal closure): unexpected EOF
[Feb 22, 2019 17:06:48] [User/@user:matrix.domain.org/ERROR] WhatsApp error: unexpected websocket close: websocket: close 1006 (abnormal closure): unexpected EOF
[Feb 22, 2019 17:06:49] [User/@user:matrix.domain.org/ERROR] WhatsApp error: unexpected websocket close: websocket: close 1006 (abnormal closure): unexpected EOF
[Feb 22, 2019 17:06:49] [User/@user:matrix.domain.org/ERROR] WhatsApp error: unexpected websocket close: websocket: close 1006 (abnormal closure): unexpected EOF

OS version

# cat /etc/issue
Debian GNU/Linux 9 \n \l

go version

:~# go version
go version go1.11.5 linux/amd64

mautrix-whatsapp version

:~/mautrix-whatsapp# git pull
Already up-to-date.
@vorletzter
Copy link

Its a bug in a Library: #35

@babolivier
Copy link

Also a duplicate of #21

@tulir
Copy link
Member

tulir commented Feb 25, 2019

#21 is for normal closures (e.g. opening whatsapp web), this is a different issue that was probably temporarily fixed by downgrading go-whatsapp

@babolivier
Copy link

Oh, my bad then.

@gzlivre
Copy link
Author

gzlivre commented Feb 25, 2019

thanks to everyone
I will wait for the go-whatsapp update

@gzlivre
Copy link
Author

gzlivre commented Feb 26, 2019

i pull the latests commits, and now its works perfect
maybe a5f5d93

@tulir
Copy link
Member

tulir commented Feb 26, 2019

@gzlivre As I said, downgrading go-whatsapp fixed it temporarily, so 6dd83b3 and 485acf6 mostly

@gzlivre
Copy link
Author

gzlivre commented Feb 26, 2019

@tulir, many thanks
great job!

@tulir tulir added bug Something isn't working external This issue is valid, but needs to be fixed somewhere else (e.g. a library) labels Mar 12, 2019
@tulir tulir closed this as completed in b092e71 Mar 13, 2019
tulir added a commit that referenced this issue May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external This issue is valid, but needs to be fixed somewhere else (e.g. a library)
Development

No branches or pull requests

4 participants