Closed lunat1k-12 closed 2 years ago
the same thing happened to me you have to update 'pip install TikTokLive --upgrade'
ERROR:root:Traceback (most recent call last): File "F:\Programs\Python\Python310\lib\site-packages\TikTokLive\client\base.py", line 253, in __try_websocket_upgrade connection: WebSocketClientConnection = await websocket_connect( tornado.websocket.WebSocketError: Non-websocket response
Same problem here.
Must be because TikTok has blocked it today. The code from the other repo with JavaScript only works if you provide a SessionId and use request polling instead of web socket connection.
Same problem here.
Must be because TikTok has blocked it today. The code from the other repo with JavaScript only works if you provide a SessionId and use request polling instead of web socket connection.
Update.
pip install TikTokLive --upgrade
TikTokLive.types.errors.InitialCursorMissing: Missing cursor in initial fetch response. Can't connect to the Tik-Tok