Skip to content
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

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

Open
jetLuoxianjie opened this issue Jan 19, 2025 · 2 comments

Comments

@jetLuoxianjie
Copy link

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

@webjoyable
Copy link

Workaround is to add your own sessionId when creating webcast connection. Probably API microservice needs to be updated to accommodate TikTok connection validation

let tiktokLiveConnection = new WebcastPushConnection(tiktokUsername, {
  sessionId: `YOUR SESSION ID` // copy from network tab of your actual tiktok session
});

@isaackogan
Copy link
Collaborator

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants