Closed alexanderpett closed 4 years ago
Same problem here. Log is full of "Failed to login to carnet" entries every couple of minutes. How can I help to get it working again? Could it be a temporary problem on VW's side?
Same problem here. Log is full of "Failed to login to carnet" entries every couple of minutes. How can I help to get it working again? Could it be a temporary problem on VW's side?
I think VW has changed the log-in domain. When I log in using the usual website (https://www.portal.volkswagen-we.com/), I get redirected to https://identity.vwgroup.io/ That's new, and probably the reason for this integration not being able to log in....
Same problem here. :( The integration works really well otherwise so thanks for that! :)
Confirmed. VW has changed something again ... :/ The whole component would need to be updated. Hope @robinostlund can help the community again with his ninjasuperskillz! <3
You guys think this relates to the same problem? Or did I brake something during my Raspbian upgrade and now having caused myself another problem?
Failed to login to carnet, HTTPSConnectionPool(host='www.portal.volkswagen-we.com', port=443): Max retries exceeded with url: //portal/en_GB/web/guest/home (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
+1
There seems to be a problem with the certificate, see:
https://github.com/robinostlund/volkswagencarnet/issues/9#issuecomment-561363499
This workaround works for me:
https://github.com/robinostlund/volkswagencarnet/issues/9#issuecomment-562937042
added the cert to cacert.pem in /usr/local/lib/python3.7/site-packages/certifi inside the docker container
This workaround works for me:
robinostlund/volkswagencarnet#9 (comment)
added the cert to cacert.pem in /usr/local/lib/python3.7/site-packages/certifi inside the docker container
Great stuff! That did the trick! <3
Guys, where do you add the certificate? I tried to just paste it in at the end of the cacert.perm file, but that didn't work at all...
Guys, where do you add the certificate? I tried to just paste it in at the end of the cacert.perm file, but that didn't work at all...
i am using the Docker Image homeassistant/raspberrypi3-homeassistant:latest (not HASS.IO) and added it inside the container with docker exec -it <container id> /bin/sh
Guys, where do you add the certificate? I tried to just paste it in at the end of the cacert.perm file, but that didn't work at all...
i am using the Docker Image homeassistant/raspberrypi3-homeassistant:latest (not HASS.IO) and added it inside the container with
docker exec -it <container id> /bin/sh
In my case (running a virtual environment) run "python -m certifi" to find the path. In my case "/srv/homeassistant/lib/python3.7/site-packages/certifi/cacert.pem". Copied it at the end and restarted Home Assistant. Of course, have to enter the virtual environment first.
Any hints for finding this file in hass.io would be appreciated!
This workaround works for me:
robinostlund/volkswagencarnet#9 (comment)
added the cert to cacert.pem in /usr/local/lib/python3.7/site-packages/certifi inside the docker container
THANKS! this worked for me - you guys saved my weekend :)
Any hints for finding this file in hass.io would be appreciated!
It would require you to tinker with the home-assistant docker container of hass.io .. how to "break in to" that container is explained here: https://developers.home-assistant.io/docs/en/hassio_debugging.html
I do not know of any easy/simple way to access the files at this point :/
Try latest version :)
Sorry for opening this thread again. When adding the cert, the component worked great again for a couple of days then suddenly it can't log on again. Anyone else have this problem?
Yes, I have the exactly same problem :(
same here, the component worked a few days but again stopped with login problems. but perhaps this is now related to another reason and not the cert issue?!
Have you logged on trough your webbrowser and approved those questions that vw asks for? 😊
@robinostlund that fix was easy, thank you! 👍
Hi.
So I have used this plugin for a little over three monts now, and out of the blue it suddently started throwing errors. All of the errors are about login failed, and that the URL is unreachable.
Here's an example: Failed to login to carnet, HTTPSConnectionPool(host='www.portal.volkswagen-we.com', port=443): Max retries exceeded with url: //portal/en_GB/web/guest/home (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99aeb89910>, 'Connection to www.portal.volkswagen-we.com timed out. (connect timeout=60)'))
The URL in question is actually unreachable in my web browser as well, so I'm guessing it's just a matter of volkswagen messing with their domain names.