flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
415 stars 220 forks source link

404 when using Vauxhall brand #163

Closed rmhomecouk closed 3 years ago

rmhomecouk commented 3 years ago

Describe the bug On first attempt as signing in with Vauxhall UK, I receive a HTTP Error 404: Not Found error instantly.

To Reproduce Start with ./server.py --web-conf -l 0.0.0.0 -p 5001 Select Vauxhall brand and click submit. no matter if you have user/pass, the same 404 responds instantly.

Config file no config yet, first attempt at starting

Environment (please complete the following information): Linux Ubuntu

Additional context 2021-06-24 23:22:53,398 :: INFO :: update_data

rmhomecouk commented 3 years ago

update: did a print(filename) on app_decoder and it was showing myvauxhll.apk as the file it was expecting.

my python skill are poor so I just renamed my apk to myvauxhll.apk and I'm getting further ( Can't get car model)

I'll add my car now :)

italoc commented 3 years ago

same think with citroen car but if i put my apk in /data folder with name mycitroen.apk nothing change

rmhomecouk commented 3 years ago

Don't put in the data folder leave in the root folder - that's where my file is

italoc commented 3 years ago

Don't put in the data folder leave in the root folder - that's where my file is

in the root of the container? for me nothing change

gavin0987 commented 3 years ago

Pretty sure you'll need myds.apk in the config directory if they app is not able to download it automatically.

gavin0987 commented 3 years ago

Also where the setup page suggests "EN" for the English Language it appears that I had to enter "GB" to make it work.

flobz commented 3 years ago

update: did a print(filename) on app_decoder and it was showing myvauxhll.apk as the file it was expecting

Ok I fixed this thanks

Also where the setup page suggests "EN" for the English Language it appears that I had to enter "GB" to make it work.

I will fix that too.

flobz commented 3 years ago

I should be fixed now.

italoc commented 3 years ago

i have the same problem but with Citroen, i have the latest version of psa_car_controller 2.4.1 but if i select CITROEN i obtain ERROR 404

flobz commented 3 years ago

@italoc It should be fixed now with v2.4.2.

italoc commented 3 years ago

@italoc It should be fixed now with v2.4.2.

Work great with this session.