ianjwhite99 / connected-car-python-sdk

Open-source Python SDK for Ford vehicles connected with Sync Connect (Ford Pass)
MIT License
71 stars 12 forks source link

Max retries exceeded HTTPSConnectionPool #81

Open budwazzer opened 9 months ago

budwazzer commented 9 months ago

Some idea, what was changed ? EU region. 9.10. 2023 12:00 exactly last connection with success.

` requests.exceptions.ConnectionError: HTTPSConnectionPool(host='usapi.cv.ford.com', port=443): Max retries exceeded with url: /api/users/vehicles/WF0KXX.../detail?lrdt=01-01-1970%2000:00:00 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1ca8f209a0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

import connectedcar

client = connectedcar.AuthClient( '9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None) # Create client connection access = client.get_user_access_token( 'user@domain.tld', 'password') # Fetch client access token

user = connectedcar.User(access['access_token']) # New User Object vehicles = user.vehicles() # Fetch list of user vehicles

for userVehicle in vehicles: # For each user vehicle vehicle = connectedcar.Vehicle( userVehicle['VIN'], access['access_token']) # Create vehicle object print(vehicle.details()) # Print vehicle details in json format `

ianjwhite99 commented 9 months ago

Hi @budwazzer,

Not sure at the moment. I haven't had a bunch of time to maintain this project. I'll try and take a look when I get a chance.

Thanks