zerodytrash / TikTok-Live-Connector

Node.js library to receive live stream events (comments, gifts, etc.) in realtime from TikTok LIVE.
https://discord.gg/2c6kX6g3Pa
MIT License
1.34k stars 279 forks source link

Error: TikTok does not offer a websocket upgrade. Please provide a valid `sessionId` to use request polling instead. #185

Open haphy opened 6 months ago

haphy commented 6 months ago

Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead.

Yohn commented 6 months ago

Make sure you're using the correct version of TikTok Live Connector

  "dependencies": {
    "tiktok-live-connector": "^1.1.6"
  }
Yohn commented 5 months ago

ok, I can confirm this is randomly appearing in version 1.1.6

SimPov commented 5 months ago

Still getting this issue in 1.1.6

grobekelle commented 5 months ago

Still getting this issue in 1.1.6

Same here!

TTLiveStream commented 5 months ago

Its been fixed you can update to 1.1.7

pycreeper commented 2 months ago

Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead.

I have the same problem and to correct it I have to run "npm update", it happens to me very frequently. Also remember that "npm cache clean --force" is you friend with this script.