isaackogan / TikTokLive

Python library to receive live stream events (comments, gifts, etc.) in realtime from TikTok LIVE.
https://isaackogan.github.io/TikTokLive/
MIT License
857 stars 173 forks source link

Not able to connect #54

Closed lunat1k-12 closed 2 years ago

lunat1k-12 commented 2 years ago

TikTokLive.types.errors.InitialCursorMissing: Missing cursor in initial fetch response. Can't connect to the Tik-Tok

Daviko290 commented 2 years ago

the same thing happened to me you have to update 'pip install TikTokLive --upgrade'

kevinyasuo commented 2 years ago

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

brogrammer1337 commented 2 years ago

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.

isaackogan commented 2 years ago

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