timdorr / tesla-api

🚘 A Ruby gem and unofficial documentation of Tesla's JSON API for the Model S, 3, X, and Y.
https://tesla-api.timdorr.com/
MIT License
1.99k stars 532 forks source link

403 on /token fixed by forcing TLS 1.2 #676

Closed robertkleinschuster closed 1 year ago

robertkleinschuster commented 1 year ago

Including this in the documentation to help people with this issue.

I was having issues refreshing tokens on my server. It worked on my local machine and was very annoying to debug.

Finally I found this post by @vercorsio and that finally fixed my issue. https://github.com/timdorr/tesla-api/discussions/370#discussioncomment-825853