Error: Tokens are invalid #3213
Replies: 8 comments 10 replies
-
I've also tried routing the requests through a different IP (because it would seem that my server IP was banned by Akamai), but still no dice. Anyone else having issues with running teslamate on Digitalocean servers? |
Beta Was this translation helpful? Give feedback.
-
Local server on ISP seems to have this issue but GCP process seems to be running ok. |
Beta Was this translation helpful? Give feedback.
-
I checked a couple of Digital Ocean data centers and neither are working. Linode/Akamai, AWS and NetActuate (in the northeast US) are working as is my ISP. |
Beta Was this translation helpful? Give feedback.
-
Same issue on Digital Ocean / AMS datacenter. |
Beta Was this translation helpful? Give feedback.
-
I am having an extremely similar issue on a homeserver, the output of the log is. I am able to ping google as well as the auth.tesla.com and I just updated my docker to the current version, any ideas? `{"log":"2024-03-20 22:31:24.918 [info] GET /\n","stream":"stdout","time":"2024-03-20T22:31:24.919136293Z"} {"log":"2024-03-20 22:31:24.920 [info] Sent 302 in 1ms\n","stream":"stdout","time":"2024-03-20T22:31:24.920428236Z"} {"log":"2024-03-20 22:31:24.925 [info] GET /sign_in\n","stream":"stdout","time":"2024-03-20T22:31:24.925839243Z"} {"log":"2024-03-20 22:31:24.927 [info] Sent 200 in 2ms\n","stream":"stdout","time":"2024-03-20T22:31:24.927325186Z"} {"log":"2024-03-20 22:31:43.029 [error] POST https://auth.tesla.com/oauth2/v3/token -\u003e error: "non-existing domain" (8001.748 ms)\n","stream":"stdout","time":"2024-03-20T22:31:43.> {"log":"2024-03-20 22:32:17.501 [error] GET https://api.github.com/repos/teslamate-org/teslamate/releases/latest -\u003e error: "non-existing domain" (8000.923 ms)\n","stream":"stdout"> {"log":"2024-03-20 22:32:17.501 [warning] Update check failed: "non-existing domain"\n","stream":"stdout","time":"2024-03-20T22:32:17.502121942Z"} {"log":"2024-03-20 22:34:39.499 [warning] Cannot refresh access token: :not_signed_in\n","stream":"stdout","time":"2024-03-20T22:34:39.499775561Z"} {"log":"2024-03-20 22:41:28.428 [info] GET /\n","stream":"stdout","time":"2024-03-20T22:41:28.429206233Z"} {"log":"2024-03-20 22:41:28.430 [info] Sent 302 in 1ms\n","stream":"stdout","time":"2024-03-20T22:41:28.430346127Z"} {"log":"2024-03-20 22:41:28.436 [info] GET /sign_in\n","stream":"stdout","time":"2024-03-20T22:41:28.436804982Z"} {"log":"2024-03-20 22:41:28.438 [info] Sent 200 in 1ms\n","stream":"stdout","time":"2024-03-20T22:41:28.438637109Z"} {"log":"2024-03-20 22:41:45.136 [error] POST https://auth.tesla.com/oauth2/v3/token -\u003e error: "non-existing domain" (8001.655 ms)\n","stream":"stdout","time":"2024-03-20T22:41:45.` |
Beta Was this translation helpful? Give feedback.
-
Breaking out your issue to this post @LadPack.
Google and Cloudflare. What is the default DNS, your home or a datacenter? This seems local to your installation and that is why I am trying to narrow down options. Do you have any custom Docker network instructions? |
Beta Was this translation helpful? Give feedback.
-
I'd suggest adding some documentation to the error message. I just got hit by this as spinning up a DO droplet is simple and I I was chasing Something like this would be helpful:
|
Beta Was this translation helpful? Give feedback.
-
I have been using an Oracle Free-Tier cloud instance in Tokyo for many years. Never ever had any issue but my teslamate was logged out on 8th Jan 2025, thus losing all the data between 8th and today. I couldn't re-login with new tokens. Then I decided to backup, recreate the instances to the latest images then restore everything. It worked so far. I don't know what caused it. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Hi all,
my teslamate instance somehow got logged out and started asking for an Access and Refresh tokens. I'm providing it with new ones (and verified working through cURL), but I keep getting the "Tokens are invalid" error. Logs show:
A curl request like this one (from the same server of course):
curl -H "Authorization: Bearer $TK" https://owner-api.teslamotors.com/api/1/vehicles
works fine.
I've tried restarting the teslamate service, the whole server, nothing seems to work. Anything I'm missing? I'm on Teslamate 1.27.2
Beta Was this translation helpful? Give feedback.
All reactions