Closed sailor1958 closed 2 years ago
I think you are wrong here. The project you are looking for is probably this one: https://github.com/trocotronic/weconnect
You are right - It was weconnec I was looking for. But it seems weconnect-cli also has problems, because of this :
requests.exceptions.SSLError: HTTPSConnectionPool(host='login.apps.emea.vwapps.io', port=443): Max retries exceeded with url: /authorize?nonce=Whw5fQpWxIdjvHOe&redirect_uri=weconnect://authenticated (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
Have your any suggestions for this?
I have not seen that before. There can be several reasons. Maybe Python has no access to the certificates? What operating system is it?
Hi
OS: - Windows 10 I think is the same issue, as #43.
/Per
Sendt fra min iPad
Den 29. jan. 2022 kl. 18.44 skrev Till Steinbach @.***>:
I have not seen that before. There can be several reasons. Maybe Python has no access to the certificates? What operating system is it?
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.
But that one is fixed with the latest release. Is it gone for you too?
If the problems persist, I found suggestions for windows users like:
pip3 install --upgrade certifi
or
pip3 install python-certifi-win32
maybe it is also related to the python version?
Thanks for you support
I had to uninstall weconnect-cli (pip3 uninstall weconnect-cli) Reboot PC install the again (pip3 install weconnect-cli) Then every thing starts to work
It was not need to upgrade the certifi at windows
Thanks again for you support
Den 29. jan. 2022 kl. 20.46 skrev Till Steinbach @.***>:
If the problems persist, I found suggestions for windows users like: pip3 install --upgrade certifi or pip3 install python-certifi-win32
maybe it is also related to the python version?
— Reply to this email directly, view it on GitHub https://github.com/tillsteinbach/WeConnect-cli/issues/44#issuecomment-1024975021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AID27TXSNQYR64TY4AWOEQDUYQ7YDANCNFSM5NCWPOHQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.
you are welcome!
Hello I have used this code for the last 6 months, on daily basis, without any problems, now have started to get API warnings - "Access file not found" Nothing has been changed in my code. My last successful execution was yesterday (28. January 2022 12.05)
I have no change in user id or password. Can access the account with my Weconnect app, Weconnect ID app and from the myvolkswagen.net homepage
I can see in the log file some kind of redirection there is going wrong: Error 302.
Any suggestion on how to solve it?
Thanks
Here is some data from the log [29/01/2022 10:57:53] [API::WARNING] Access file not found [29/01/2022 10:57:53] [API::INFO] logger [29/01/2022 10:57:53] [API::DEBUG] Checking tokens [29/01/2022 10:57:53] [API::DEBUG] Token checking failed [29/01/2022 10:57:53] [API::WARNING] Forcing login [29/01/2022 10:57:53] [API::INFO] Attempting to login [29/01/2022 10:57:53] [API::DEBUG] Login parameters: {'prompt': 'login', 'state': '6bkhsihwuAxLGOCqQxuNcCaJpXI06Lg30vY9BpAoby6', 'response_type': 'code id_token token', 'code_challenge_method': 's256', 'scope': 'openid profile mbb cars birthdate nickname address phone', 'code_challenge': 'jvAGJOSrWk20-PY48nlDya6RiibpE_heYcaxT2nmmdM', 'redirect_uri': 'carnet://identity-kit/login', 'client_id': '9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com', 'nonce': '6wVdu4W0Fdn0AuBUYH2FWPXKW7Rme7S49BQpY3PpQw3'} [29/01/2022 10:57:54] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=2e6ac3f995f8ff3a2ae3f00f88d7068ea7e8cb86 [29/01/2022 10:57:54] [API::DEBUG] Parameters: https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=2e6ac3f995f8ff3a2ae3f00f88d7068ea7e8cb86 [29/01/2022 10:57:54] [API::DEBUG] Headers: {'User-Agent': 'python-requests/2.25.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'Cookie': 'SESSION=NGY5YjllZmEtZDYyYS00ZWNlLWFiZjYtNDFhMDMyNDUxOWQx; vcap_journey=0739660b-afe5-43bb-baf2-52928b1c8e76'} [29/01/2022 10:57:54] [API::INFO] Response with code: 200 [29/01/2022 10:57:54] [API::DEBUG] Headers: {'Date': 'Sat, 29 Jan 2022 09:57:54 GMT', 'Content-Type': 'text/html;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Content-Language': 'en', 'Expires': '0', 'Pragma': 'no-cache', 'Set-Cookie': 'SESSION=MWE0ZTI3NDAtMWUyZi00MDViLWEzMzgtYmVlNWJjMjQ4NWMw; Path=/signin-service/v1/; Secure; HttpOnly; SameSite=Lax', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'DENY', 'X-Vcap-Request-Id': '070adde6-5e60-422c-6518-88bd850e0d63', 'X-Xss-Protection': '1; mode=block'} [29/01/2022 10:57:54] [API::DEBUG] History: [<Response [302]>] [29/01/2022 10:57:54] [API::INFO] Found email login url: /signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/identifier [29/01/2022 10:57:54] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=2e6ac3f995f8ff3a2ae3f00f88d7068ea7e8cb86 [29/01/2022 10:57:54] [API::DEBUG] Parameters: https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=2e6ac3f995f8ff3a2ae3f00f88d7068ea7e8cb86 [29/01/2022 10:57:54] [API::DEBUG] Headers: {'User-Agent': 'python-requests/2.25.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'Cookie': 'SESSION=MWE0ZTI3NDAtMWUyZi00MDViLWEzMzgtYmVlNWJjMjQ4NWMw; vcap_journey=0739660b-afe5-43bb-baf2-52928b1c8e76'} [29/01/2022 10:57:54] [API::INFO] Response with code: 200 [29/01/2022 10:57:54] [API::DEBUG] Headers: {'Date': 'Sat, 29 Jan 2022 09:57:54 GMT', 'Content-Type': 'text/html;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Content-Language': 'en', 'Expires': '0', 'Pragma': 'no-cache', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'DENY', 'X-Vcap-Request-Id': 'b52b87eb-c1b4-4d04-55c9-06c822ad0314', 'X-Xss-Protection': '1; mode=block'} [29/01/2022 10:57:54] [API::DEBUG] History: [<Response [303]>] [29/01/2022 10:57:54] [API::CRITICAL] Raising error msg: This account does not exist Traceback (most recent call last): File "/volume1/web/volkswagen/weconnect/weNew.py", line 34, in
vwc.login()
File "/volume1/web/volkswagen/weconnect/NativeAPI.py", line 278, in login
return self.__force_login()
File "/volume1/web/volkswagen/weconnect/NativeAPI.py", line 333, in __force_login
raise VWError('This account does not exist')
NativeAPI.VWError: This account does not exist