<#C088ZNU7QQ5|ask-ai> -3008 i got this code error ...
# ask-ai
q
#ask-ai -3008 i got this code error i am using nodejs livekit-server-sdk? what is the root cuase of this error?
t
Thanks for reaching out, Mayank. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! I see you're encountering the error code -3008, which isn't specifically documented in the LiveKit Node.js SDK. To help you as best as I can, could you please share a bit more information? • Where exactly are you seeing this error? (For example, is it during connection, publishing, RPC calls, or somewhere else?) • Could you provide the full error message or stack trace? • Which version of the LiveKit Node.js SDK are you working with? • What were you trying to do when this error popped up? Your details will really help me guide you toward a solution. Looking forward to your reply! Sources: src/room/rpc.ts
It looks like you're encountering the error
getaddrinfo ENOTFOUND
, which means the hostname of the LiveKit server couldn’t be resolved to an IP address. This usually points to a DNS resolution issue and can happen when: • The
host
parameter you provided when initializing
RoomServiceClient
might be incorrect or unreachable. • There could be a network configuration hiccup, like no internet connection, firewall restrictions, or DNS server problems. Here are a few steps that might help you get this sorted out: 1. Double-check that your LiveKit server URL is accurate. It should look something like
https://your-project.livekit.cloud
. 2. Make sure your environment has internet access and can resolve external domains properly. 3. Look out for any typos or if the protocol (like
https://
) is missing in your host string. If you’re still running into trouble, please feel free to share the exact
host
value you’re using. I’m here to help you work through it! Sources: packages/livekit-server-sdk/src/RoomServiceClient.ts | livekit/livekit_room.twirp.go