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

Got client_error when I open steaming #178

Open
MBKwon opened this issue Jun 9, 2024 · 1 comment
Open

Got client_error when I open steaming #178

MBKwon opened this issue Jun 9, 2024 · 1 comment

Comments

@MBKwon
Copy link

MBKwon commented Jun 9, 2024

Hello ~ @jonasman

I'm making my own app to enjoy Tesla life. I need streaming feature to show the status of Tesla vehicle in real time.

But I got this failure. I already made authorization process through TeslaSwift. It is used for selecting the vehicle. The token is working well for the other functions. But Streaming is not working with the token. Is there any issue you expect?

Opening Stream to: wss://streaming.vn.teslamotors.com/streaming/
Stream viabilityChanged: true
Stream open headers: ["Cache-Control": "no-cache, no-store, private, s-max-age=0", "Connection": "upgrade", "Date": "Sun, 09 Jun 2024 01:19:22 GMT", "X-Content-Type-Options": "nosniff", "Upgrade": "websocket", "Strict-Transport-Security": "max-age=15724800; includeSubDomains, max-age=31536000; includeSubDomains", "X-Frame-Options": "DENY", "Sec-WebSocket-Accept": "126bi+2e4oS1GjWgiDMVbVzxHcE="]
Stream data: {"msg_type":"control:hello","connection_timeout":0}
Stream got hello
Stream data: {"msg_type":"data:error","tag":"2252128831285482","value":"Can't validate token. ","error_type":"client_error"}
Stream got data error: Can't validate token. , client_error
@jonasman
Copy link
Owner

jonasman commented Aug 7, 2024

Since Tesla changed the API, the streaming only works for old model S/X i think

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

2 participants