flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
413 stars 216 forks source link

Max retries exceeded error message when entering auth code #813

Open andyvee69 opened 6 months ago

andyvee69 commented 6 months ago

Following the steps in https://github.com/flobz/psa_car_controller/discussions/779

when entering the auth code obtained from the dev tools F12 in the browser after clicking OK and getting the login successful message, the following error is in the logs and on the screen

HTTPSConnectionPool(host='idpcvs.peugeot.com', port=443): Max retries exceeded with url: /am/oauth2/access_token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46bb7150d0>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))

Running under HA, but doing the process in a web browser connected to http://x.x.x.x:5000 Tried with decoding url and the same result Reset password for My Peugeot account and same result Country code GB

danros3 commented 4 months ago

You are very lucky because you can proceed after login. In my case (pascc on docker container with docker compose setup), ia cannot even login....

image

HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/flobz/psa_apk/git/trees/main: (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6e2465cdf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

I have no Idea.... Stopped ctn for one day, restart with older version....

Could @flobz look at this issue?

ps. No vpn, only standard Adsl with public IP, psacc on docker inside one minipc with debian.