This repository was archived by the owner on Jun 11, 2025. It is now read-only.
Description Before we start...
Summary
Since march 10 I am getting connection timed out. It seems sk.user didn't get the token and kept requesting until hit the limit
Code sample
from skpy import Skype , SkypeChats
sk = Skype ("******" , "****" ) # connect to Skype
sk .user # you
#for contact in sk.contacts:
# print(contact.id)
Code output
File "/Users/sunny/Documents/Desktop-Projects/Scarlet-Sparrow/Python/Skype/skype.py" , line 39 , in < module >
sk = Skype ("***" , "***" ) # connect to Skype
File "/opt/homebrew/lib/python3.13/site-packages/skpy/main.py" , line 69 , in __init__
self .conn .getSkypeToken ()
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ^ ^
File "/opt/homebrew/lib/python3.13/site-packages/skpy/conn.py" , line 197 , in inner
return method (* args , ** kwargs )
File "/opt/homebrew/lib/python3.13/site-packages/skpy/conn.py" , line 438 , in liveLogin
self .getRegToken ()
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ^ ^
File "/opt/homebrew/lib/python3.13/site-packages/skpy/conn.py" , line 520 , in getRegToken
token , expiry , msgsHost , endpoint = SkypeRegistrationTokenProvider (self ).auth (self .tokens ["skype" ])
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
File "/opt/homebrew/lib/python3.13/site-packages/skpy/conn.py" , line 952 , in auth
endpointResp = self .conn ("POST" , "{0}/users/ME/endpoints" .format (msgsHost ), codes = (200 , 201 , 404 ),
headers = headers , json = {"endpointFeatures" : "Agent" })
File "/opt/homebrew/lib/python3.13/site-packages/skpy/conn.py" , line 239 , in __call__
resp = self .sess .request (method , url , headers = headers , ** kwargs )
File "/opt/homebrew/lib/python3.13/site-packages/requests/sessions.py" , line 589 , in request
resp = self .send (prep , ** send_kwargs )
File "/opt/homebrew/lib/python3.13/site-packages/requests/sessions.py" , line 703 , in send
r = adapter .send (request , ** kwargs )
File "/opt/homebrew/lib/python3.13/site-packages/requests/adapters.py" , line 688 , in send
raise ConnectTimeout (e , request = request )
requests .exceptions .ConnectTimeout : HTTPSConnectionPool (host = 'client-s.gateway.messenger.live.com' , port = 443 ): Max retries exceeded with url : / v1 / users / ME / endpoints (Caused by ConnectTimeoutError (< urllib3 .connection .HTTPSConnection object at 0x1048e3750 > , 'Connection to client-s.gateway.messenger.live.com timed out. (connect timeout=None)' ))
Explain your code
Simple test code
SkPy version
Latest
Python version
3.10
Anything else?
No response
Reactions are currently unavailable
Before we start...
Summary
Since march 10 I am getting connection timed out. It seems sk.user didn't get the token and kept requesting until hit the limit
Code sample
Code output
Explain your code
Simple test code
SkPy version
Latest
Python version
3.10
Anything else?
No response