You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>)
The text was updated successfully, but these errors were encountered:
404 is a weird response for this as the HTTP endpoint and the SELF "endpoint" both always exist...
I'm wondering if this is a delayed case of User is in a different cloud -- usually Skype will tell you to use a specific subdomain, which SkPy has handling for but only during sign-in. I'll need to see the response headers/body for this to know what's actually going on though -- if it's an intermittent failure then you may need to leave HTTP debugging on until it happens again (no performance penalty, it's just extra print statements).
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
The text was updated successfully, but these errors were encountered: