This repository was archived by the owner on Jun 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
subscribePresence() fails with 404 #220
Copy link
Copy link
Open
Labels
Description
I haven't managed to determine exactly when/why/how this happens, but this has also been reported by other users of my XMPP gateway based on skpy.
Usually when this happens, I can't subscribe to presences a few hours or days, and then I retry and it just works.
Sending and receiving message do not seem affected by this.
Account type
Old skype account now linked to a microsoft account, login via username/password
Steps to reproduce
Unfortunately, I can't reliably reproduce this issue.
Result or traceback
Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/slidge/core/gateway.py", line 594, in _login_wrap
status = await session.login()
File "/venv/lib/python3.9/site-packages/slidge/plugins/skype.py", line 154, in login
self.sk.subscribePresence()
File "/venv/lib/python3.9/site-packages/skpy/main.py", line 96, in subscribePresence
self.conn.endpoints["self"].subscribePresence(self.contacts)
File "/venv/lib/python3.9/site-packages/skpy/conn.py", line 1105, in subscribePresence
self.subscribe()
File "/venv/lib/python3.9/site-packages/skpy/conn.py", line 1090, in subscribe
self.conn("POST", "{0}/users/ME/endpoints/{1}/subscriptions".format(self.conn.msgsHost, self.id),
File "/venv/lib/python3.9/site-packages/skpy/conn.py", line 237, in __call__
raise SkypeApiException("{0} response from {1} {2}".format(resp.status_code, method, url), resp)
skpy.core.SkypeApiException: ('404 response from POST https://azwus2-client-s.gateway.messenger.live.com/v1/users/ME/endpoints/SELF/subscriptions', <Response [404]>)