Comments (10)
Ever try this?
const tiktok = new WebcastPushConnection(username, {
sessionId: 'put_your_session_id_here'
})
how to get session_Id?
- open browser
- go to tiktok.com
- login
- press F12
- go to application tab
- expand cookies
- click on link
- search session_id on that window
from tiktok-live-connector.
Unfortunately, I´ve the same issue since today.
`
WRAPPER @xyz: Error event triggered: Upgrade to websocket failed, Websocket connection failed, Error: Server responded with a non-101 status: 200 OK
Response Headers Follow:
content-length: 0
handshake-msg: DEVICE_BLOCKED
handshake-status: 415
tt_stable: 1
x-tt-trace-host: 01e433ed606f50fe17b03bcce88dcd1fde9f94321462e6c7ccf3289c35a8949125469dd848cb408eb2c5a24babcb6d743c1e413689a8614da286ec866fafafe6991bcdb8834699a16e555e6f7c9077fc56c7d6aa783bf6732ce406b344a11afcd3447ff2a5fed576b83899ea8acaed3294
x-tt-trace-id: 00-24052317233651F5A8C974F807C4E27F-3CDA7A2F25D344A7-00
server: TLB
x-tt-logid: 2024052317233651F5A8C974F807C4E27F
x-origin-response-time: 23,23.201.31.167
x-akamai-request-id: 3696814f.1a3f6e8d
expires: Thu, 23 May 2024 17:23:37 GMT
cache-control: max-age=0, no-cache, no-store
pragma: no-cache
date: Thu, 23 May 2024 17:23:37 GMT
x-cache: TCP_MISS from a2-17-34-213.deploy.akamaitechnologies.com (AkamaiGHost/11.5.1-56325026) (-)
connection: keep-alive
x-cache-remote: TCP_MISS from a23-201-31-167.deploy.akamaitechnologies.com (AkamaiGHost/11.5.0.1-56208139) (-)
x-tt-trace-tag: id=16;cdn-cache=miss;type=dyn
server-timing: cdn-cache; desc=MISS, edge; dur=85, origin; dur=23, inner; dur=21
x-parent-response-time: 107,2.17.34.213
{
info: 'Upgrade to websocket failed',
exception: 'Websocket connection failed, Error: Server responded with a non-101 status: 200 OK\n' +
'Response Headers Follow:\n' +
'content-length: 0\n' +
'handshake-msg: DEVICE_BLOCKED\n' +
'handshake-status: 415\n' +
'tt_stable: 1\n' +
'x-tt-trace-host: 01e433ed606f50fe17b03bcce88dcd1fde9f94321462e6c7ccf3289c35a8949125469dd848cb408eb2c5a24babcb6d743c1e413689a8614da286ec866fafafe6991bcdb8834699a16e555e6f7c9077fc56c7d6aa783bf6732ce406b344a11afcd3447ff2a5fed576b83899ea8acaed3294\n' +
'x-tt-trace-id: 00-24052317233651F5A8C974F807C4E27F-3CDA7A2F25D344A7-00\n' +
'server: TLB\n' +
'x-tt-logid: 2024052317233651F5A8C974F807C4E27F\n' +
'x-origin-response-time: 23,23.201.31.167\n' +
'x-akamai-request-id: 3696814f.1a3f6e8d\n' +
'expires: Thu, 23 May 2024 17:23:37 GMT\n' +
'cache-control: max-age=0, no-cache, no-store\n' +
'pragma: no-cache\n' +
'date: Thu, 23 May 2024 17:23:37 GMT\n' +
'x-cache: TCP_MISS from a2-17-34-213.deploy.akamaitechnologies.com (AkamaiGHost/11.5.1-56325026) (-)\n' +
'connection: keep-alive\n' +
'x-cache-remote: TCP_MISS from a23-201-31-167.deploy.akamaitechnologies.com (AkamaiGHost/11.5.0.1-56208139) (-)\n' +
'x-tt-trace-tag: id=16;cdn-cache=miss;type=dyn\n' +
'server-timing: cdn-cache; desc=MISS, edge; dur=85, origin; dur=23, inner; dur=21\n' +
'x-parent-response-time: 107,2.17.34.213\n'
}
WRAPPER @xyz: Error event triggered: 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 (C:\Node\node_modules\tiktok-live-connector\dist\index.js:300:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
WRAPPER @xyz: Connection failed, Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId
to use request polling instead.
`
from tiktok-live-connector.
FYI The devs are working a solution. Might be down for a bt. There is a new Sign Server upgrade that has recently happened / happening.
from tiktok-live-connector.
Fixed. Please update the lib to v1.1.7. Thanks.
from tiktok-live-connector.
Hi zerodytrash
Updated to v1.1.7 but Not working for me !
also in your demo page still give :
Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead
is it need to session id or something like that ?
i hope Unity team work quickly like Mr: zerodytrash
from tiktok-live-connector.
I solve it by replace old index.js by new one , thanks
from tiktok-live-connector.
I updated to v1.1.7 and also still got:
Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead
from tiktok-live-connector.
I still receive the same issue
from tiktok-live-connector.
me too
from tiktok-live-connector.
Same here
from tiktok-live-connector.
Related Issues (20)
- Asc
- Error: Failed to retrieve room_id from page source. Request failed with status code 403 HOT 1
- Suddenly connected to offline user
- Error: Request failed with status code 500
- Error: Request failed with status code 500 HOT 6
- Failed to connect Error: Failed to retrieve room_id from page source.
- Error: Request failed with status code 504 HOT 4
- Error: TikTok does not offer a websocket upgrade. Please provide a valid `sessionId` to use request polling instead. | HOT 1
- Error: Missing cursor in initial fetch response HOT 2
- Error: Failed to retrieve room_id from page source. Request failed with status code 403 HOT 1
- With tiktokLiveConnection.getRoomInfo(), can I get the display status of the current boxes?
- how to find the name of gifts
- Errorwith tiktok-live-connector
- Internal Server Error while connect to Server HOT 6
- Error: Request failed with status code 503
- Error Response Status: 503, Service Unavailable HOT 4
- When we retrieve available gifts , are we able to set the gift name in another language? HOT 1
- Error: Request failed with status code 503
- ERR_CONNECTION_REFUSED, HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-live-connector.