~tuxicoman


#215 Whatsapp : Client outdated 3 months ago

Comment by ~tuxicoman on ~nicoco/slidge

Hum, Maybe I fixed it by fixing the "IQ privileges not granted for pubsub#owner namespace" in the Prosody config file. I was missing one line that was maybe a new requirement compared to the moment I did the service setup.

#215 Whatsapp : Client outdated 3 months ago

Comment by ~tuxicoman on ~nicoco/slidge

Sorry for the delay.

I installed debian package build 0.0.0-dev+20240902-git32276f943f

And still have same issue.

sep 03 00:07:32 darkstone systemd[1]: Started slidge@whatsapp.service - Slidge XMPP whatsapp bridge.
sep 03 00:07:33 darkstone slidge[515195]: <frozen runpy>:128:RuntimeWarning:'slidge.__main__' found in sys.modules after import of package 'slidge', but prior to execution of 'slidge.__main__'; this may result in unpredictable behaviour
sep 03 00:07:33 darkstone slidge[515195]: INFO:slidge.util.db:Using existing slidge DB: /var/lib/slidge/whatsapp.jesuislibre.net/slidge.db
sep 03 00:07:33 darkstone slidge[515195]: INFO:slidge.util.db:Registered users in the DB: ['xxxxxxx@jesuislibre.net']
sep 03 00:07:33 darkstone slidge[515195]: INFO:root:Starting slidge version NO_VERSION
sep 03 00:07:34 darkstone slidge[515195]: INFO:root:Starting legacy module: 'slidge.plugins.whatsapp' version NO_VERSION
sep 03 00:07:34 darkstone slidge[515195]: WARNING:slidge.core.gateway.base:IQ privileges not granted for pubsub#owner namespace, we cannot listen to the MDS events of xxxxxxx@jesuislibre.net
sep 03 00:07:35 darkstone slidge[515195]: INFO:slidge.core.gateway.base:Slidge has successfully started
sep 03 00:07:40 darkstone slidge[515195]: ERROR:slidge.plugins.whatsapp.gateway:Client outdated (405) connect failure (client version: 2.2412.50)
sep 03 00:07:40 darkstone slidge[515195]: ERROR:slidge.plugins.whatsapp.gateway:Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF

#215 Whatsapp : Client outdated 3 months ago

Ticket created by ~tuxicoman on ~nicoco/slidge

Service log:

aoû 24 14:50:05 darkstone slidge[1693501]: INFO:slidge.core.gateway.base:Slidge has successfully started aoû 24 14:50:10 darkstone slidge[1693501]: ERROR:slidge.plugins.whatsapp.gateway:Client outdated (405) connect failure (client version: 2.2412.50) aoû 24 14:50:10 darkstone slidge[1693501]: ERROR:slidge.plugins.whatsapp.gateway:Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF

Client does receive any new message. "re-login" command doesn't do anything. No QR code is provided.

What is the procedure to fix the situation?

#194 Whatsapp re-login in advance 7 months ago

Comment by ~tuxicoman on ~nicoco/slidge

I wonder if this is not linked to the last strong interaction(like sending a message) we have with the service.

#195 Crash report 7 months ago

Ticket created by ~tuxicoman on ~nicoco/slidge

avr 13 18:26:19 darkstone slidge[4002345]: INFO:slidge.core.gateway.base:Slidge has successfully started avr 13 18:26:20 darkstone slidge[4002345]: INFO:slidge.plugins.whatsapp.gateway:Successfully authenticated avr 13 18:26:20 darkstone slidge[4002345]: INFO:slidge.core.gateway.base:Login success for <User @jesuislibre.net> avr 13 18:26:24 darkstone slidge[4002345]: ERROR:@jesuislibre.net:Failed getting avatar for contact @s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you avr 13 18:26:26 darkstone slidge[4002345]: ERROR:@jesuislibre.net:Failed getting avatar for contact @s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you avr 13 18:26:27 darkstone slidge[4002345]: ERROR:@jesuislibre.net:Failed getting avatar for contact @s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you avr 13 18:26:27 darkstone slidge[4002345]: ERROR:@jesuislibre.net:Failed getting avatar for contact @s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you avr 13 18:26:29 darkstone slidge[4002345]: ERROR:@jesuislibre.net:Failed getting avatar for contact @s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you avr 13 18:27:45 darkstone slidge[4002345]: /usr/lib/slidge/lib/python3.11/site-packages/slidge/group/room.py:893:UserWarning:IQ privileges (XEP0356) are not set, we cannot fetch the user bookmarks avr 13 18:27:45 darkstone slidge[4002345]: WARNING:slidge.plugins.whatsapp.gateway:Node handling took 1m7.478879394s for avr 13 18:29:01 darkstone slidge[4002345]: WARNING:slidge.plugins.whatsapp.gateway:Node handling took 20.148295336s for avr 13 18:29:01 darkstone slidge[4002345]: ERROR:slidge.core.gateway.base:Crash in an asyncio task: {'message': 'Task exception was never retrieved', 'exception': XMPPError('recipient-unavailable', 'Still fetching group info, please retry later'), 'futu> avr 13 18:29:01 darkstone slidge[4002345]: ERROR:slidge.core.gateway.base:Crash in task avr 13 18:29:01 darkstone slidge[4002345]: Traceback (most recent call last): avr 13 18:29:01 darkstone slidge[4002345]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/core/gateway/base.py", line 480, in __login_wrap avr 13 18:29:01 darkstone slidge[4002345]: await session.bookmarks.fill() avr 13 18:29:01 darkstone slidge[4002345]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/plugins/whatsapp/group.py", line 201, in fill avr 13 18:29:01 darkstone slidge[4002345]: await self.add_whatsapp_group(group) avr 13 18:29:01 darkstone slidge[4002345]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/plugins/whatsapp/group.py", line 205, in add_whatsapp_group avr 13 18:29:01 darkstone slidge[4002345]: muc = await self.by_legacy_id(data.JID) avr 13 18:29:01 darkstone slidge[4002345]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ avr 13 18:29:01 darkstone slidge[4002345]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/group/bookmarks.py", line 123, in by_legacy_id avr 13 18:29:01 darkstone slidge[4002345]: return await self.by_jid(jid) avr 13 18:29:01 darkstone slidge[4002345]: ^^^^^^^^^^^^^^^^^^^^^^ avr 13 18:29:01 darkstone slidge[4002345]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/group/bookmarks.py", line 103, in by_jid avr 13 18:29:01 darkstone slidge[4002345]: legacy_id = await self.jid_local_part_to_legacy_id(local_part) avr 13 18:29:01 darkstone slidge[4002345]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ avr 13 18:29:01 darkstone slidge[4002345]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/plugins/whatsapp/group.py", line 217, in jid_local_part_to_legacy_id avr 13 18:29:01 darkstone slidge[4002345]: raise XMPPError( avr 13 18:29:01 darkstone slidge[4002345]: slixmpp.exceptions.XMPPError: ('recipient-unavailable', 'Still fetching group info, please retry later')

#194 Whatsapp re-login in advance 8 months ago

Ticket created by ~tuxicoman on ~nicoco/slidge

When whatsapp logs you out, you don' necessarily get the mean to perform the "re-login" right away.

It would be nice to have a no disruption of service. For that, ask the user to re-login before expiration.

I guess the whatsapp login last 15 days. So maybe as re-login every 10 days?

#188 frozen runpy warning 9 months ago

Ticket created by ~tuxicoman on ~nicoco/slidge

At startup this warning appears: :128:RuntimeWarning:'slidge.main' found in sys.modules after import of package 'slidge', but prior to execution of 'slidge.main'; this may result in unpredictable behaviour

Slidge version: slidge/bookworm,now 0.0.0-dev+20240214-git6651529b07 amd64 [installé]

#187 crash report (rename the ticket as you understand the issue) 9 months ago

Comment by ~tuxicoman on ~nicoco/slidge

Problem is not appearing with slidge/bookworm,now 0.0.0-dev+20240214-git6651529b07 amd64 [installé]

#187 crash report (rename the ticket as you understand the issue) 9 months ago

Comment by ~tuxicoman on ~nicoco/slidge

Sure, Please plug the server again to the Internet ;) Connexion à deb.slidge.im: 80 (2a02:a00:e010:3c01:a892:e8ff:feea:5244) impossible, délai de connexion dépassé Connexion à deb.slidge.im: 80 (188.246.5.22) impossible, délai de connexion dépassé

#187 crash report (rename the ticket as you understand the issue) 9 months ago

Comment by ~tuxicoman on ~nicoco/slidge

Not immediately

-- Boot 2cb6686c9d0141bbaf5c4c468f3df791 -- fév 12 01:45:39 darkstone systemd[1]: Started slidge@whatsapp.service - Slidge XMPP whatsapp bridge. fév 12 01:45:45 darkstone slidge[589]: :128:RuntimeWarning:'slidge.main' found in sys.modules after import of package 'slidge', but prior to execution of 'slidge.main'; this may result in unpredictable behaviour fév 12 01:45:45 darkstone slidge[589]: INFO:slidge.util.db:Using existing slidge DB: /var/lib/slidge/whatsapp.jesuislibre.net/slidge.db fév 12 01:45:45 darkstone slidge[589]: INFO:slidge.util.db:Registered users in the DB: ['-redacted-@jesuislibre.net'] fév 12 01:45:45 darkstone slidge[589]: INFO:root:Starting slidge version NO_VERSION fév 12 01:45:45 darkstone slidge[589]: INFO:root:Starting legacy module: 'slidge.plugins.whatsapp' version NO_VERSION fév 12 01:45:46 darkstone slidge[589]: INFO:slidge.core.gateway.base:Slidge has successfully started fév 12 01:45:47 darkstone slidge[589]: INFO:slidge.plugins.whatsapp.gateway:Successfully authenticated fév 12 01:45:47 darkstone slidge[589]: INFO:slidge.core.gateway.base:Login success for <User -redacted-@jesuislibre.net> fév 12 01:45:49 darkstone slidge[589]: ERROR:-redacted-@jesuislibre.net:Failed getting avatar for contact -redacted-@s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you fév 12 01:45:54 darkstone slidge[589]: ERROR:-redacted-@jesuislibre.net:Failed getting avatar for contact -redacted-@s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you fév 12 01:45:54 darkstone slidge[589]: ERROR:-redacted-@jesuislibre.net:Failed getting avatar for contact -redacted-@s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you fév 12 01:45:56 darkstone slidge[589]: ERROR:-redacted-@jesuislibre.net:Failed getting avatar for contact -redacted-@s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you fév 12 01:45:57 darkstone slidge[589]: ERROR:-redacted-@jesuislibre.net:Failed getting avatar for contact -redacted-@s.whatsapp.net: Could not get avatar: the user has hidden their profile picture from you fév 12 01:47:12 darkstone slidge[589]: /usr/lib/slidge/lib/python3.11/site-packages/slidge/group/room.py:868:UserWarning:IQ privileges (XEP0356) are not set, we cannot fetch the user bookmarks fév 12 01:48:29 darkstone slidge[589]: ERROR:slidge.core.gateway.base:Crash in an asyncio task: {'message': 'Task exception was never retrieved', 'exception': XMPPError('recipient-unavailable', 'Still fetching group info, please retry later'), 'future':> fév 12 01:48:29 darkstone slidge[589]: ERROR:slidge.core.gateway.base:Crash in task fév 12 01:48:29 darkstone slidge[589]: Traceback (most recent call last): fév 12 01:48:29 darkstone slidge[589]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/core/gateway/base.py", line 422, in __login_wrap fév 12 01:48:29 darkstone slidge[589]: await session.bookmarks.fill() fév 12 01:48:29 darkstone slidge[589]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/plugins/whatsapp/group.py", line 116, in fill fév 12 01:48:29 darkstone slidge[589]: await self.add_whatsapp_group(group) fév 12 01:48:29 darkstone slidge[589]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/plugins/whatsapp/group.py", line 120, in add_whatsapp_group fév 12 01:48:29 darkstone slidge[589]: muc = await self.by_legacy_id(data.JID) fév 12 01:48:29 darkstone slidge[589]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fév 12 01:48:29 darkstone slidge[589]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/group/bookmarks.py", line 123, in by_legacy_id fév 12 01:48:29 darkstone slidge[589]: return await self.by_jid(jid) fév 12 01:48:29 darkstone slidge[589]: ^^^^^^^^^^^^^^^^^^^^^^ fév 12 01:48:29 darkstone slidge[589]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/group/bookmarks.py", line 103, in by_jid fév 12 01:48:29 darkstone slidge[589]: legacy_id = await self.jid_local_part_to_legacy_id(local_part) fév 12 01:48:29 darkstone slidge[589]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fév 12 01:48:29 darkstone slidge[589]: File "/usr/lib/slidge/lib/python3.11/site-packages/slidge/plugins/whatsapp/group.py", line 132, in jid_local_part_to_legacy_id fév 12 01:48:29 darkstone slidge[589]: raise XMPPError( fév 12 01:48:29 darkstone slidge[589]: slixmpp.exceptions.XMPPError: ('recipient-unavailable', 'Still fetching group info, please retry later') fév 12 01:48:31 darkstone slidge[589]: INFO:slixmpp.xmlstream.xmlstream:connection_lost: (None,) fév 12 01:48:31 darkstone slidge[589]: INFO:root:Successful clean shut down fév 12 01:48:31 darkstone systemd[1]: slidge@whatsapp.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED fév 12 01:48:31 darkstone systemd[1]: slidge@whatsapp.service: Failed with result 'exit-code'. fév 12 01:48:31 darkstone systemd[1]: slidge@whatsapp.service: Consumed 3.394s CPU time.