Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple cars in car-net leads to 400 Client error #30

Closed
knudsvik opened this issue Mar 17, 2019 · 3 comments
Closed

Multiple cars in car-net leads to 400 Client error #30

knudsvik opened this issue Mar 17, 2019 · 3 comments

Comments

@knudsvik
Copy link

I got the following error messages after installation:

2019-03-17 20:02:18 WARNING (MainThread) [homeassistant.setup] Setup of volkswagencarnet is taking over 10 seconds. 2019-03-17 20:02:19 WARNING (SyncWorker_14) [volkswagencarnet] Failure when communcating with the server: 400 Client Error: Bad Request for url: https://www.volkswagen-car-net.com/portal/user/******/*****/-/vsr/get-vsr, url: https://www.volkswagen-car-net.com/portal/user/******/*****/-/vsr/get-vsr 2019-03-17 20:02:19 WARNING (SyncWorker_14) [volkswagencarnet] Could not update information from carnet: 400 Client Error: Bad Request for url: https://www.volkswagen-car-net.com/portal/user/******/*****/-/vsr/get-vsr 2019-03-17 20:02:19 WARNING (SyncWorker_14) [custom_components.volkswagencarnet] Could not query carnet 2019-03-17 20:02:19 ERROR (MainThread) [homeassistant.setup] Setup failed for volkswagencarnet: Component failed to initialize

After looking at a couple of the other issues giving 400 client errors with hybrid cars I tried to remove my hybrid car from car-net, keeping only my full electric car. A restart later and everything worked fine. So it seems like there is trouble with the queries when there's more than one car registered in car-net.

Currently I don't have the remote subscription active on my hybrid car so I will not miss it in car-net. But ideally I would like subscription on both cars and being able to query both of them from home assistant.

@robinostlund
Copy link
Owner

yes i would like to have this but i havent had the opportunity to use an account with multiple subscriptions.

@reneboer
Copy link

reneboer commented Oct 3, 2019

Hi @robinostlund,
I have a new version of the script based on the portal that has been tested with a second car (VIN). Have a look here https://github.com/reneboer/python-carnet-client/tree/development

Cheers Rene

@robinostlund
Copy link
Owner

Open an new issue with debug information provided if this issue still exists.

Thanks
/ Robin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@robinostlund @reneboer @knudsvik and others