Hey team, could we get some clarity on this error ...
# cloud
f
Hey team, could we get some clarity on this error message? Not sure why it's happening.
Copy code
2025-11-12 17:49:23,614 - ERROR livekit - livekit_ffi::cabi:62:livekit_ffi::cabi - failed to handle request FfiRequest { message: Some(NewAudioStream(NewAudioStreamRequest { track_handle: 32, r#type: AudioStreamNative, sample_rate: Some(48000), num_channels: Some(1), audio_filter_module_id: None, audio_filter_options: None, frame_size_ms: None })) }: InvalidRequest("handle is not a livekit_ffi::server::room::FfiTrack") {"pid": 5085, "job_id": "AJ_pWFkBLVwcQSn"}
2025-11-12 17:49:23,615 - ERROR livekit - task exception: <Task finished name='Task-24' coro=<AudioStream._run() done, defined at /opt/render/project/src/agent/.venv/lib/python3.12/site-packages/livekit/rtc/audio_stream.py:263> exception=AttributeError("'AudioStream' object has no attribute '_ffi_handle'")>
My hunch is that maybe we are trying to create an AudioStream before a track exists for it? Not sure.
r
Are you by chance getting this when running agent with
console
?
f
No this is in production
r
What version of LiveKit libraries are you using and what OS/Arch are you on?
f
Docker/Ubuntu (running on Render), using 1.2.11 for LiveKit libraries