Skip to content

Got client_error when I open steaming #178

@MBKwon

Description

@MBKwon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions