refined-hydrogen-91380
09/23/2022, 9:37 AMrefined-hydrogen-91380
09/23/2022, 9:38 AMrefined-hydrogen-91380
09/23/2022, 9:41 AMadorable-action-63371
09/23/2022, 10:39 AMadorable-action-63371
09/23/2022, 10:40 AMadorable-action-63371
09/23/2022, 10:40 AMadorable-action-63371
09/23/2022, 10:41 AMadorable-action-63371
09/23/2022, 10:43 AMadorable-action-63371
09/23/2022, 10:43 AMbillowy-needle-62609
09/24/2022, 2:29 PMadamant-rainbow-9949
09/25/2022, 10:29 AMsticky-monkey-57841
09/26/2022, 7:13 AMlivekit-cli
and it works in such a way that it periodically connects and create a room in our livekit cluster (v1.2.0, running on GKE
) and then join the room and publish a tiny audio (ogg) file as follows :
livekit-cli create-room --url <https://livekit.something.com> --api-key XXXXX --api-secret XXXXX --name testroom
livekit-cli join-room --url <https://livekit.something.com> --api-key XXXXX --api-secret XXXXX --room testroom --identity publisher --publish /tmp/livekit_audio.ogg
this works fine most of the time, but publishing the .ogg file fails intermittently with the could not connect after timeout
message, once it start failing, the subsequent attempts also fails and the only way to fix this is to restart the livekit deployment (kubectl rollout restart deployment livekit-livekit-server
), Any idea what could be the issue here? thanks 🙏
livekit-cli join-room --url <https://livekit.something.com> --api-key XXXXX --api-secret XXXXX --room testroom --identity publisher --publish /tmp/livekit_audio.ogg
could not connect after timeout
careful-kitchen-74863
09/26/2022, 9:18 AMcareful-kitchen-74863
09/26/2022, 9:21 AMcareful-kitchen-74863
09/26/2022, 11:26 AMgentle-fish-74852
09/26/2022, 12:16 PM2022-09-26T12:13:32.205Z ERROR livekit routing/redisrouter.go:410 error processing RTC message {"error": "could not get qdiscs: netlink send: sendmsg: operation not supported"}
2022-09-26T12:13:32.206169001Z <http://github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).redisWorker|github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).redisWorker>
2022-09-26T12:13:32.206173417Z /workspace/pkg/routing/redisrouter.go:410
2022-09-26T12:13:34.226059043Z 2022-09-26T12:13:34.223Z ERROR livekit routing/redisrouter.go:481 could not update node stats {"error": "could not get qdiscs: netlink send: sendmsg: operation not supported"}
2022-09-26T12:13:34.226135543Z <http://github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).handleRTCMessage|github.com/livekit/livekit-server/pkg/routing.(*RedisRouter).handleRTCMessage>
2022-09-26T12:13:34.226145793Z /workspace/pkg/routing/redisrouter.go:481
I'm connecting to redis 6.2.5.
Is there any advice to understanding the issue? I've searched on Github issues but doesn't appear anyones experienced this before?careful-kitchen-74863
09/26/2022, 1:18 PMcareful-kitchen-74863
09/26/2022, 2:44 PMsteep-balloon-41261
09/27/2022, 12:48 AMhundreds-addition-40277
09/27/2022, 1:54 AMlemon-secretary-30131
09/27/2022, 5:34 AMfreezing-ability-3706
09/27/2022, 3:43 AMwitty-processor-54733
09/27/2022, 7:33 AMkind-branch-41748
09/27/2022, 8:08 AMSimulcast
. Any helps or clues are appreciated.
https://github.com/livekit/client-sdk-swift/issues/144adamant-rainbow-9949
09/27/2022, 4:38 PMsome-painter-46967
09/27/2022, 10:47 PMdamp-postman-69501
09/28/2022, 5:41 AMstopLocalTrackOnUnpublish
default set to false: https://github.com/livekit/client-sdk-js/blob/e415aeaacd2ced3405a2e670be57fb691aa898f6/src/room/defaults.ts#L35
but here written it's true: https://github.com/livekit/client-sdk-js/blob/e415aeaacd2ced3405a2e670be57fb691aa898f6/src/options.ts#L47 . I think by default it should be true.gentle-fish-74852
09/28/2022, 7:11 AMlivekit-cli load-test --publishers 1 --subscribers 1 --api-key <my-key> --api-secret <my-secret> --room first-room --url https://<my-custom-domain>:7880 --verbose
Starting load test with 1 publishers, 1 subscribers, room: first-room
2022/09/28 08:06:58 "level"=0 "msg"="received offer for subscriber"
2022/09/28 08:06:59 "level"=0 "msg"="received offer for subscriber"
2022/09/28 08:07:14 "level"=0 "msg"="received offer for subscriber"
2022/09/28 08:07:15 "level"=0 "msg"="received offer for subscriber"
2022/09/28 08:07:31 "msg"="error with read worker" "error"="websocket: close 1006 (abnormal closure): unexpected EOF"
2022/09/28 08:07:31 "level"=0 "msg"="received offer for subscriber"
2022/09/28 08:07:32 "msg"="error with read worker" "error"="websocket: close 1006 (abnormal closure): unexpected EOF"
agreeable-student-91884
09/28/2022, 8:55 AMnode:internal/process/promises:279
livekitnode_1 | triggerUncaughtException(err, true /* fromPromise */);
livekitnode_1 | ^
livekitnode_1 |
livekitnode_1 | <ref *1> Error: connect ECONNREFUSED 127.0.0.1:7880
livekitnode_1 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16) {
livekitnode_1 | errno: -111,
livekitnode_1 | code: 'ECONNREFUSED',
livekitnode_1 | syscall: 'connect',
livekitnode_1 | address: '127.0.0.1',
livekitnode_1 | port: 7880,
livekitnode_1 | config: {
livekitnode_1 | url: '/twirp/livekit.RoomService/ListRooms',
livekitnode_1 | method: 'post',
livekitnode_1 | data: '{"names":[]}',
livekitnode_1 | headers: {
livekitnode_1 | Accept: 'application/json, text/plain, */*',
livekitnode_1 | 'Content-Type': 'application/json',
livekitnode_1 | Authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2aWRlbyI6eyJyb29tTGlzdCI6dHJ1ZX0sImlhdCI6MTY2NDM1NDc2OCwibmJmIjoxNjY0MzU0NzY4LCJleHAiOjE2NjQzNTUzNjgsImlzcyI6ImRldmtleSJ9.9az4KCtsZzjR14LcC1ESylzGgtl_32tv-22-NWFnHqk',
livekitnode_1 | 'User-Agent': 'axios/0.21.4',
livekitnode_1 | 'Content-Length': 12
livekitnode_1 | },
livekitnode_1 | baseURL: '<http://localhost:7880>',
livekitnode_1 | transformRequest: [ [Function: transformRequest] ],
livekitnode_1 | transformResponse: [ [Function: transformResponse] ],
livekitnode_1 | timeout: 0,
livekitnode_1 | adapter: [Function: httpAdapter],
livekitnode_1 | xsrfCookieName: 'XSRF-TOKEN',
livekitnode_1 | xsrfHeaderName: 'X-XSRF-TOKEN',
livekitnode_1 | maxContentLength: -1,
livekitnode_1 | maxBodyLength: -1,
livekitnode_1 | validateStatus: [Function: validateStatus],
livekitnode_1 | transitional: {
livekitnode_1 | silentJSONParsing: true,
livekitnode_1 | forcedJSONParsing: true,
livekitnode_1 | clarifyTimeoutError: false
livekitnode_1 | }
livekitnode_1 | },
this is my example code
svc. listRooms() ------- this line is made error plz somebody help me TT
const livekitApi = require('livekit-server-sdk');
const AccessToken = livekitApi.AccessToken;
const RoomServiceClient = livekitApi.RoomServiceClient;
const livekitHost = '<http://localhost:7880>';
const svc = new RoomServiceClient(livekitHost, 'devkey', 'secret');
const roomName = 'name-of-room';
const participantName = 'user-name';
app.get("/api/room", async (req, res) => {
const rooms = await svc.listRooms();
console.log('existing rooms', rooms);
return res.status(200).json({result: true});
})
some-painter-46967
09/28/2022, 9:45 PM