Closed TimoD87 closed 7 months ago
Same problem for me...
Try to login via web browser and solve the captcha. Also car going to privacy mode gives problems (check in porsche app).
Try to login via web browser and solve the captcha. Also car going to privacy mode gives problems (check in porsche app).
Login via Web Login with Capatcha from same IP is working, error is still there - car has no privacy on
Log out/in again until no captcha is shown.
Same here, if I switch IP (using VPN), no captcha is shown and this is working. We should identify what's the threshold in term of polling (which I believe is what is in place to force a captcha).
Same here, if I switch IP (using VPN), no captcha is shown and this is working. We should identify what's the threshold in term of polling (which I believe is what is in place to force a captcha).
IMHO there is such an easy thing like a threshold. evcc uses also uses the Porsche API (with refresh tokens), and when my car is not polled for like 12 hours the captcha still shows the next morning.
Since a few days, it does not work for me either. Here is the error message:
Traceback (most recent call last):
File "/home/pi/.local/bin/porschecli", line 10, in
What could be the problem? Logging in via the website works
As written above a captcha is a common problem. Sometimes you have to log on/off multiple times from the same IP until no captcha is shown.
ah ok, got it. Thanks
The problem is that even after several log on/offs, it works for several hours and then I am asked again for a captcha and I get the message: keyerror: code.
Duplicate of #37
Getting Error:
`Traceback (most recent call last): File "/home/pi/pypo-main/cli.py", line 4, in
cli()
File "/home/pi/pypo-main/pyporscheconnectapi/cli.py", line 270, in cli
loop.run_until_complete(main(args))
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/pi/pypo-main/pyporscheconnectapi/cli.py", line 67, in main
data = await client.getCurrentOverview(vin)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/pypo-main/pyporscheconnectapi/client.py", line 460, in getCurrentOverview
progressResult = await self._connection.post(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/pypo-main/pyporscheconnectapi/connection.py", line 246, in post
headers = await self._createhead(application)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/pypo-main/pyporscheconnectapi/connection.py", line 291, in _createhead
token = await self._requestToken(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/pypo-main/pyporscheconnectapi/connection.py", line 206, in _requestToken
await self._login()
File "/home/pi/pypo-main/pyporscheconnectapi/connection.py", line 183, in _login
self.auth_state["code"] = params["code"][0]