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 closing the connection is not handled correctly #21
Comments
Can confirm, i had this aswell. After checking again, it stopped after 5min after the logs began. Using it via default configs in matrix-docker-ansible-deploy. |
unexpected websocket close: websocket: close 1000 (normal)
spam in my term
This seems to be a problem upstream: https://github.com/Rhymen/go-whatsapp/blob/c9a81e9578840e5c04c49c9e6126a1682faf22fc/conn.go#L276 There is an issue for it as well: Rhymen/go-whatsapp#98 It seems that, at the moment, there is no way that the appservice can be informed of this connection problems, so we can't re-connect ourselves. So we'll have to fix this upstream. To add to this issue, I even get a panic after a while:
|
Rhymen/go-whatsapp#34 is somewhat related: there's no way to disconnect cleanly. |
This might be fixable now that Rhymen/go-whatsapp#114 added |
another similar failure mode:
|
@ara4n That looks like about the same issue as @rreuvekamp had. That doesn't look like the latest version, so try updating since go-whatsapp had some major internal changes. |
Should be fixed by 689c30407140f0943bb2a19644d7ce58d063c105 |
The text was updated successfully, but these errors were encountered: