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

1.57.12.0 - Cars not updating anymore, connected with Fleet API #1230

Closed
Shrekmachine opened this issue Mar 9, 2024 · 22 comments
Closed

1.57.12.0 - Cars not updating anymore, connected with Fleet API #1230

Shrekmachine opened this issue Mar 9, 2024 · 22 comments
Labels
bug Something isn't working

Comments

@Shrekmachine
Copy link

** Append Logfile **
09.03.2024 12:28:16 : #1[Car_1:20]: GetVehicles Error: Object reference not set to an instance of an object
always same error

Describe the bug
Connect via API worked, like in the past flawless.
However, with latest release car data no longer is showing

To Reproduce
connect car via Fleet API

Expected behavior
Display car status on PI4

** Teslalogger Type **
Raspberry Pi4
Did you update the Image with apt-get update & upgrade?

** Do you use Tasker or iBeacon **
Nope

Additional context

@Shrekmachine Shrekmachine added the bug Something isn't working label Mar 9, 2024
@bassmaster187
Copy link
Owner

Could you please try if that works - maybe you are affected by a known tesla server bug:
https://community.homey.app/t/app-pro-tesla/100824/118?u=ronnyw

@Shrekmachine
Copy link
Author

Shrekmachine commented Mar 10, 2024 via email

@Shrekmachine
Copy link
Author

Update: After last try the other car is gone again.
I tried to follow https://github.com/bassmaster187/TeslaLogger/blob/master/docker_setup.md#docker-update--upgrade, as this was shown in TeslaLogger UI
docker responses with

[..]/TeslaLogger $ docker compose stop
docker: 'compose' is not a docker command.

docker version is "Docker version 20.10.5+dfsg1, build 55c4c88". I checked --help. compose is not known.
honestly, I'm a little lost with this one

@motzky
Copy link
Contributor

motzky commented Mar 10, 2024

Try

docker-compose stop

docker compose v1 was a separate executable instead of a plugin to docker CLI command.
See Docker.com Migrade to Compose V2

@Shrekmachine
Copy link
Author

Shrekmachine commented Mar 10, 2024

Habe das Problem vor der Tastatur gefunden. Ich war nicht su.
Danke für die Unterstützung.
Das eigentliche Problem hat es leider nicht gelöst.

@mobbl
Copy link
Contributor

mobbl commented Mar 13, 2024

Hi bassmaster187, I was able to change the country without hacking the code. However, it did not help. Interestingly, my other Tesla showed up in the meantime. It had same issue. Snip from the log: 10.03.2024 08:00:14 : SetPassword 10.03.2024 08:00:14 : Update Password ID:3 10.03.2024 08:00:14 : #3[Thread Pool Worker:1350]: ExitCarThread: Credentials changed! 10.03.2024 08:00:14 : #3[Car_3:517]: *** Exit Loop !!! 10.03.2024 08:00:14 : #3[Thread Pool Worker:1350]: CheckUseTaskerToken 10.03.2024 08:00:14 : #3[Thread Pool Worker:1350]: LastTaskerToken not found - Stop using fast TaskerToken request! Reply: never! 10.03.2024 08:00:41 : #1[Car_1:22]: GetVehicles Error: Object reference not set to an instance of an object 10.03.2024 08:01:11 : #1[Car_1:22]: GetVehicles Error: Object reference not set to an instance of an object 10.03.2024 08:01:41 : #1[Car_1:22]: GetVehicles Error: Object reference not set to an instance of an object 10.03.2024 08:02:11 : #1[Car_1:22]: GetVehicles Error: Object reference not set to an instance of an object 10.03.2024 08:02:42 : #1[Car_1:22]: GetVehicles Error: Object reference not set to an instance of an object Cheers Frédéric

Same Problem here

Do you need more logs? @bassmaster187

@Shrekmachine
Copy link
Author

now both cars are "back". I did not change anything the last 2 days...

@Shrekmachine
Copy link
Author

Shrekmachine commented Mar 15, 2024

... and all car data gone again... trying to update to 1.57.9.0

@bassmaster187
Copy link
Owner

I'll get a database on Monday and try to find a workaround.

@mobbl
Copy link
Contributor

mobbl commented Mar 19, 2024

@bassmaster187 any News?

@bassmaster187
Copy link
Owner

The database I got works fine. It seems like there was a firewall issue on users side.
So anybody else must send me another database with fresh tokens. They are only valid for 8 hours.

@mobbl
Copy link
Contributor

mobbl commented Mar 23, 2024

The Issue can be closed

I solved the problem with resetting the Tokens via DBeaver

@Shrekmachine
Copy link
Author

@mobbl Nice it is solved for you, but what is the solution? How does it work?

@mobbl
Copy link
Contributor

mobbl commented Mar 23, 2024

FleetAPI is asking for the wrong car.

You need to set the Tokens in the database to "NULL" and connect again.

@Shrekmachine
Copy link
Author

thanks
@bassmaster187 with version 1.57.10.0 the cars are both back. interestingly I only retried with 1 of my cars. Both "came" back.

@Shrekmachine
Copy link
Author

connection again lost on both cars over night

@Shrekmachine
Copy link
Author

I found a new error message after installing .11 and reinitiating keys.
Helpful?
image

@Shrekmachine
Copy link
Author

still not working . Anything I can support with to figure out the issue?

@Shrekmachine
Copy link
Author

seit 1 Stunde werden beide Fahrzeuge wieder erwartungsgemäß angezeigt.
Ich habe nichts geändert.

@Shrekmachine
Copy link
Author

Shrekmachine commented Apr 18, 2024

with 1.57.12.0 again no longer working
log entry same: 19.04.2024 01:03:25 : #1[Car_1:19]: GetVehicles Error: Object reference not set to an instance of an object

update: I updated the title to reflect the current version

@Shrekmachine Shrekmachine changed the title 1.57.8.0 - Cars not updating anymore, connected with Fleet API 1.57.12.0 - Cars not updating anymore, connected with Fleet API Apr 18, 2024
@Shrekmachine
Copy link
Author

And now working again? What is this?

@Shrekmachine
Copy link
Author

No more issues with Teslalogger: 1.58.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants