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

Unable to delete room via RoomServiceClient #279

Closed
andypotato opened this issue Jan 27, 2025 · 1 comment
Closed

Unable to delete room via RoomServiceClient #279

andypotato opened this issue Jan 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@andypotato
Copy link

Describe the bug

I previously reported this issue in the node-sdk repository a couple of weeks ago, however there seems to be no activity. Original issue

Calling deleteRoom() on a RoomServiceClient instance will hang and the room will not be deleted.

This issue still persists with all livekit related packages updated to their latest versions.

Relevant log output

No response

Describe your environment

npx envinfo --system --binaries --npmPackages "livekit*"

System:
OS: macOS 13.6.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 233.53 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.18.1 - ~/.nvm/versions/node/v20.18.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.18.1/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.1/bin/npm
npmPackages:
livekit-server-sdk: ^2.9.7 => 2.9.7

npx envinfo --system --binaries --npmPackages "@livekit/*"

System:
OS: macOS 13.6.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 27.03 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.18.1 - ~/.nvm/versions/node/v20.18.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.18.1/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.1/bin/npm
npmPackages:
@livekit/agents: ^0.6.3 => 0.6.3
@livekit/agents-plugin-deepgram: ^0.5.3 => 0.5.3
@livekit/agents-plugin-elevenlabs: ^0.6.0 => 0.6.0
@livekit/agents-plugin-openai: ^0.8.1 => 0.8.1
@livekit/agents-plugin-silero: ^0.5.3 => 0.5.3

Minimal reproducible example

// get room from context
this.room = this.ctx.room;

// create room service client
this.rsc = new RoomServiceClient(config.livekit.url);

// try to delete the room
console.log(Try to delete room ${this.room.name});
await this.rsc.deleteRoom(this.room.name); // <--- this command just hangs
console.log(Room deleted ${this.room.name});

Additional information

No response

@andypotato andypotato added the bug Something isn't working label Jan 27, 2025
@nbsp
Copy link
Member

nbsp commented Jan 27, 2025

please do not file duplicate bug reports.

@nbsp nbsp closed this as completed Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants