robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
306 stars 59 forks source link

Unable To Login #495

Closed nzneil22 closed 10 months ago

nzneil22 commented 10 months ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Describe the bug

Im trying to login yet i get an error. In the logs i have this: This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen We Connect (documentation, issues) First occurred: 14:37:59 (1 occurrences) Last logged: 14:37:59

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Steps to Reproduce

Simply setting up the integration initially and entering all the data and click submit.

Expected behavior

It used to just work after this step, it should be showing the car and the sensor.

Screenshots

Traceback/Error logs

This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/config_flow.py:93
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 14:47:36 (1 occurrences)
Last logged: 14:47:36

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Debug information - all JSON responses from logfile

This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen We Connect (documentation, issues) First occurred: 14:47:36 (1 occurrences) Last logged: 14:47:36

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Additional context

Husabert commented 10 months ago

I have the same issue. This used to work, but since 2 days no more

Husabert commented 10 months ago

image

JoeriRotthier commented 10 months ago

Exactly the same issue for me.

StefanoGiu commented 10 months ago

I'm not able to login aswell..

https://msg.volkswagen.de/fs-car/usermanagement/users/v1/VW/DE/vehicles seems to be down. Am I correct?

Busak007 commented 10 months ago

try this it work for me https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/493#issuecomment-1698132366

StefanoGiu commented 10 months ago

Can you please elaborate @Busak007 ? What worked for you? The API website seems to be down...

supss commented 10 months ago

It's not working for me, suspect this this still down.. is there a way to find out when the site is back up and running, with out continuously trying to login that is.

Busak007 commented 10 months ago

Can you please elaborate @Busak007 ? What worked for you? The API website seems to be down...

after clicking on the link, there is a message directly there with a description of which integration to use and what small changes in the code must be made (for example in the "File Editor") there are 2 lines that must be corrected to work for e-UP! save/restart select integration and log in...

Busak007 commented 10 months ago

It's not working for me, suspect this this still down.. is there a way to find out when the site is back up and running, with out continuously trying to login that is.

Are you filling in the correct integration? Not "We Connect", but "Volkswagen We Connect ID", I logged in fine (to the VolksWagen We Connect ID), but I couldn't log in to the original WeConnect integration.

supss commented 10 months ago

It's not working for me, suspect this this still down.. is there a way to find out when the site is back up and running, with out continuously trying to login that is.

Are you filling in the correct integration? Not "We Connect", but "Volkswagen We Connect ID", I logged in fine (to the VolksWagen We Connect ID), but I couldn't log in to the original WeConnect integration.

Just tried this other Volkswagen we connect integration and I'm still getting the same error.

nzneil22 commented 10 months ago

@supss Is your vehicle in the list of supported vehicles?

zimjjan commented 10 months ago

Same problem here. Just stopped working 3 days ago.

sailor1958 commented 10 months ago

I have got the same/similar problem. I can login via myvolkswagen.net and via the weconnect app. Tronly app I'm using are also logs in. Only the HA intergration there have the problem.

Errormessage : 2023-08-30 20:55:40.734 ERROR (MainThread) [volkswagencarnet.vw_connection] Failed to fetch VW-Group API tokens, API token request returned with status code 403. Has dobbelt check my password - and it was what always have been

Fliegerstefan commented 10 months ago

Beta 1 isn´t working . Login failed.

supss commented 10 months ago

@supss Is your vehicle in the list of supported vehicles?

I haven't checked recently, but the integration was working fine just a few days ago.

Fliegerstefan commented 10 months ago

Hello

The App connetion „WeConnect“ is working very good. Only in Home-assist dosen´d working in Germany. The Skoda App is working also in Home assist.

Regards

Stefan

Von: supss @.> Gesendet: Donnerstag, 31. August 2023 09:59 An: robinostlund/homeassistant-volkswagencarnet @.> Cc: Fliegerstefan @.>; Comment @.> Betreff: Re: [robinostlund/homeassistant-volkswagencarnet] Unable To Login (Issue #495)

@supss https://github.com/supss Is your vehicle in the list of supported vehicles?

I haven't checked recently, but the integration was working fine just a few days ago.

— Reply to this email directly, view it on GitHub https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/495#issuecomment-1700549295 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A3CTAUROLPTGXTPWHTHQECTXYA735ANCNFSM6AAAAAA4EO532Q . You are receiving this because you commented. https://github.com/notifications/beacon/A3CTAUXXP6XOCVMW2DSHSI3XYA735A5CNFSM6AAAAAA4EO532SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTFLRJK6.gif Message ID: @. @.> >

Powerpitte commented 10 months ago

Hello,

I can't login either. I also installed the beta version, but no luck.

nzneil22 commented 10 months ago

Im closing this thread as its the same as

#493.

I used the vw id integration for my mk8 golf gte. All i had to do is add "Golf" to the list of supported vehicles.

StefanoGiu commented 10 months ago

How can you close this issue??? The other intregration ("Volkswagen We Connect ID"), despite working properly with my Golf car, doesn't provide all the info required (e.g. no fuel level, no range for electric Km... and many others and doesn't provide the functionality to use the SPIN to lock and unlock the car).

Why people here tend to close bugs instead of solving things?

This is very disappointing...

supss commented 10 months ago

Im closing this thread as its the same as

#493.

I used the vw id integration for my mk8 golf gte. All i had to do is add "Golf" to the list of supported vehicles.

this might be a daft question but how do I add Golf to the list? I have a 7.5 golf GTE so I suspect this might work for me.

StefanoGiu commented 10 months ago

Can you reopen this bug????

nzneil22 commented 10 months ago

I closed the issue because it is a duplicate of #493

Im going to reopen it then, but i dont see the point

nzneil22 commented 10 months ago

Im closing this thread as its the same as #493. I used the vw id integration for my mk8 golf gte. All i had to do is add "Golf" to the list of supported vehicles.

this might be a daft question but how do I add Golf to the list? I have a 7.5 golf GTE so I suspect this might work for me.

I edited init.py, there is a list called Supported_vehicles. I added "Golf" to the list. Before i added my car to the list, upon login it didnt use to add any devices.

StefanoGiu commented 10 months ago

Can you please fix this login issue?

supss commented 10 months ago

Im closing this thread as its the same as #493. I used the vw id integration for my mk8 golf gte. All i had to do is add "Golf" to the list of supported vehicles.

this might be a daft question but how do I add Golf to the list? I have a 7.5 golf GTE so I suspect this might work for me.

I edited init.py, there is a list called Supported_vehicles. I added "Golf" to the list. Before i added my car to the list, upon login it didnt use to add any devices.

Thank you, the issue I have is that my login is unsuccessful. But I'll still try this approach incase it works.

zimjjan commented 10 months ago

For me, it’s a Touran 5T, same error.

supss @.***> schrieb am Do. 31. Aug. 2023 um 15:31:

Im closing this thread as its the same as

493

https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/493#issuecomment-1698132366 . I used the vw id integration for my mk8 golf gte. All i had to do is add "Golf" to the list of supported vehicles.

this might be a daft question but how do I add Golf to the list? I have a 7.5 golf GTE so I suspect this might work for me.

I edited init.py, there is a list called Supported_vehicles. I added "Golf" to the list. Before i added my car to the list, upon login it didnt use to add any devices.

Thank you, the issue I have is that my login is unsuccessful. But I'll still try this approach incase it works.

— Reply to this email directly, view it on GitHub https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/495#issuecomment-1701045719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5ZO3USJB6XCHLNMBNC7G3XYCG3VANCNFSM6AAAAAA4EO532Q . You are receiving this because you commented.Message ID: @.*** com>

virtualdj commented 10 months ago

I closed the issue because it is a duplicate of

In fact you should close this as a duplicate of #493, not as resolved.

I used the vw id integration for my mk8 golf gte. All i had to do is add "Golf" to the list of supported vehicles.

I have done the same, but that integration provides a lot of "unavailable" sensors, doesn't provide last trip data (eletric / petrol), it is very slow to launch sometimes (with errors on the HA logs) and doesn't allow to lock/unlock doors with S-PIN, as @StefanoGiu correctly pointed out.

The two integrations are not even comparable! Anyway, this issue is a duplicate of #493 and this is a fact.

Why people here tend to close bugs instead of solving things?

@nzneil22 is not the developer, but a user like me and you. So he probably cannot fix the issue, the developer has to (try) to do it.

gooooba commented 10 months ago

Also does not work for me since 29.8.2023.

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/config_flow.py:93
Integration: volkswagencarnet (documentation, issues)
First occurred: 29. avgust 2023 ob 20:29:17 (18 occurrences)
Last logged: 05:40:47

Failed to fetch VW-Group API tokens, API token request returned with status code 403

.......................

  1. I can login to https://www.myvolkswagen.net/ and/or use weconnect app on my phone.
  2. I can login to https://vwid.vwgroup.io/ which redirects to https://identity.vwgroup.io/ for login.
  3. Also Homey integration is working https://homey.app/en-ca/app/com.we-volkswagen.connect/VW-We-Connect/, so I guess it must be some issue with this integration.
Impedanz commented 10 months ago

Same here: Failed to fetch VW-Group API tokens, API token request returned with status code 403

Using 4.4.65 beta 1

vfont commented 10 months ago

Same error:

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: volkswagencarnet (documentation, issues) First occurred: 08:17:58 (1 occurrences) Last logged: 08:17:58

Failed to fetch VW-Group API tokens, API token request returned with status code 403

mihai-trasca commented 10 months ago

Same here

wss2 commented 10 months ago

Same here Italy error 403

oefo commented 10 months ago

I have exactly the same problem with my Passat GTE. I live in DK (Denmark), It started few days ago with unknown sensors. I tryed to remove the intergation (v4.4.64) and install it again without luck. I also try to install the v4.4.63 and beta v.4.4.65-beta 1 integration but still the same problem.

I get this message in the HA log. This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen We Connect (documentation, issues) First occurred: 07:37:36 (5 occurrences) Last logged: 07:43:51

Failed to fetch VW-Group API tokens, API token request returned with status code 403

I can login as normal on below.

  1. https://www.myvolkswagen.net/
  2. https://vwid.vwgroup.io/
  3. WE Connect APP

When will this be fixed?

Bloodpack commented 10 months ago

Same error here



Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/__init__.py:527
Integration: Volkswagen WeConnect (documentation, issues)
First occurred: 08:53:33 (1 occurrences)
Last logged: 08:53:33

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/__init__.py:527
Integration: Volkswagen WeConnect ([documentation](https://github.com/robinostlund/homeassistant-volkswagencarnet), [issues](https://github.com/robinostlund/homeassistant-volkswagencarnet/issues))
First occurred: 08:53:33 (1 occurrences)
Last logged: 08:53:33

Failed to fetch VW-Group API tokens, API token request returned with status code 403
sailor1958 commented 10 months ago

This issue is a I see is happens because of an API token is invalid in this modul: https://github.com/robinostlund/volkswagencarnet.

As this module has been unchanges for more than a year - it tells me the issue is related to the token get and validate process. Sadly I don't have the skills to fix the issue. Robin there has done the module, orignal has ask for help, as he don't seems to have a Volkswagen any more.

Hopes one with the skills can look into this issue, https://github.com/robinostlund/volkswagencarnet/issues/208

Until then I don't expect this HA version will work.

robinostlund commented 10 months ago

Hi, can someone try the latest version. @beschoenen found out that the client id had changed so the latest version should have a new client id :).

I don't have a car which is supported by this integration anymore so that is why i have issues with helping out with maintaining it.

beschoenen commented 10 months ago
Captura de pantalla 2023-09-05 a las 11 38 45

Can confirm that we're back in business!

robinostlund commented 10 months ago

Thanks for your help @beschoenen 😄

Bloodpack commented 10 months ago

Hi, can someone try the latest version

Thank you!!!

Can confirm it works again

sailor1958 commented 10 months ago

I can also confirm it works again. Thanks for you afford

kp-bit commented 10 months ago

Works here after a restart of HA, thanks a lot!!!

supss commented 10 months ago

Yup.. working.. thank you

Regards

On Tue, Sep 5, 2023, 10:51 kp-bit @.***> wrote:

Works here after a restart of HA, thanks a lot!!!

— Reply to this email directly, view it on GitHub https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/495#issuecomment-1706301888, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEC57AESJDEQPEGTARTYKLXY3YZ5ANCNFSM6AAAAAA4EO532Q . You are receiving this because you were mentioned.Message ID: @.*** com>

drlauridsen commented 10 months ago

Thanks a lot for your hard work, everything is working again..

guiumb commented 10 months ago

Thanks a lot for your work! Integration works fine for me too.

skallberg commented 10 months ago

I have loaded the new release and it work fine for me too. Thank you for a great work!!

vfont commented 10 months ago

It works again. Thanks a lot!

Impedanz commented 10 months ago

Works! Nice :)

kwithus commented 10 months ago

Thanks, works again for me as well. I already donated ‚upfront‘, as I just appreciate the voluntary efforts to bring it back to life, even if it wouldn’t have worked out.

Driekes commented 10 months ago

@beschoenen @robinostlund thanks for helping out! Especially because you do not have a supported car anymore, it is very, very much appreciated :) Hopefully it works for a long time :)

nzneil22 commented 10 months ago

I uldated to the latest (4.4.65) am getting this error when trying to login.

Please note that <> actually is the correct vin, i just masked it here

Logger: volkswagencarnet.vw_connection Source: runner.py:186 First occurred: 18:55:13 (4 occurrences) Last logged: 18:55:27

Received "unauthorized" error while fetching data: 401, message='', url=URL('https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/vehicleMgmt/vehicledata/v2/VW/DE/vehicles/<>') Could not fetch carportdata, HTTP status code: 401 Got unhandled error from server: 429 Could not fetch operation list, HTTP status code: 429