-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket connection failed, Error: Expected a Sec-WebSocket-Protocol header. #175
Comments
Same error from today |
Upgrade to latest commit |
Thx! It works again. |
Thank you! It works |
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', Error while connecting, Error: TikTok does not offer a websocket upgrade. Please provide a valid 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? |
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 |
Hi
Would someone know why I'm getting the following error all of a sudden while it has been working for months when I try to scrape data of presents that are being send in the live:
General error! {
info: 'Upgrade to websocket failed',
exception: 'Websocket connection failed, Error: Expected a Sec-WebSocket-Protocol header.'
}
Thanks in advance and kind regards
The text was updated successfully, but these errors were encountered: