Giter Site home page Giter Site logo

Comments (6)

esalvi avatar esalvi commented on June 4, 2024

Same error from today

from tiktok-live-connector.

adierebel avatar adierebel commented on June 4, 2024

Upgrade to latest commit

from tiktok-live-connector.

valmir123 avatar valmir123 commented on June 4, 2024

Upgrade to latest commit

Thx! It works again.

from tiktok-live-connector.

esalvi avatar esalvi commented on June 4, 2024

Upgrade to latest commit

Thank you! It works

from tiktok-live-connector.

Zansabar avatar Zansabar commented on June 4, 2024

After 2 months with that Parse Error issue and realizing that it was my fault for not keeping my Node JS up to date with the latest version (upgraded to 21) - I've now upgraded my error status to this one. I've updated to latest commit on the library and I'm getting the combo info: 'Upgrade to websocket failed',
exception: 'Websocket connection failed, Error: Expected a Sec-WebSocket-Protocol header.' and then followed by

Error while connecting, Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead.
{
info: 'Error while connecting',
exception: Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead.
at WebcastPushConnection.connect (node_modules\tiktok-live-connector\dist\index.js:287:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}

I used to have the .env file with the Sessionid and the ttwid - and thought that was the issue. I removed that. And upgraded to the latest commit. Same issue.

Wondering if this is a real issue or has something to do with the sig server and too many requests?

from tiktok-live-connector.

Zansabar avatar Zansabar commented on June 4, 2024

Okay, after a combination sequences of fresh downloads of the tiktok-live-connector to a different directory on my PC and clearing and restoring from backup and running npm update and npm i tikok-live-connector command on it and manually copying and pasting on top of the existing code in node_modules\tiktok-live-connector
I finally - Finally, -- FINALLY got the connector to work!
And was able to go live for an hour with solid chat, gifts, and like events being delivered to my custom game. (and happy followers rejoicing they could PLAY again after a 2 month hiatus - that's what this is all about, right? Bring joy to others through our crafts)
And then, no more than 15 hours later. I'm getting that Connection failed, Error: Missing cursor in initial fetch response and then the 429 error that means I gotta wait to try again.
I'm starting to think that the Connection failed, Error: Missing cursor in initial fetch response isn't me, it is the euler server with either too many connections of some random error that might be unhandled. Not sure. Unless TikTok did change something in 15 hours. There is no commits that I am aware of.
Just doing my QA and code testing here trying to get an answer.

from tiktok-live-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.