# Gemini 3.8 Live – WebSocket 401 Unauthorized in LiveKit Agent Builder

**URL:** <https://community.livekit.io/t/gemini-3-8-live-websocket-401-unauthorized-in-livekit-agent-builder/2418>\
**Category:** Agents\
**Tags:** livekit-inference\
**Created:** [October 29, 2026, 6:19pm UTC](https://community.livekit.io/t/gemini-3-8-live-websocket-401-unauthorized-in-livekit-agent-builder/2418 "2026-10-29T18:19:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEAD\_FROM\_THE\_INSIDE](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/dead_from_the_inside/32/2958_2.png) [@DEAD\_FROM\_THE\_INSIDE](https://community.livekit.io/u/DEAD_FROM_THE_INSIDE)\
**Post date:** [October 29, 2026, 6:19pm UTC](https://community.livekit.io/t/gemini-3-8-live-websocket-401-unauthorized-in-livekit-agent-builder/2418/1 "2026-10-29T18:19:28Z")

</div>

Hello! I’m testing Google Gemini 3.8 Live in LiveKit Agent Builder.

The agent stays silent. The logs show:

WSServerHandshakeError: 401  
LiveKit Inference Realtime connection failed after 3 attempts.

Model: google/gemini-3.8-live  
Project region: EU (Frankfurt)

The error occurs both with inference region restriction enabled and disabled.

Could you check why LiveKit Inference is rejecting the connection with HTTP 401? Is there an authorization or service-side issue?

I’m using Agent Builder without a separate Google API key.

Thank you!

---

<div class="post-metadata">

**Author:** ![darryncampbell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/darryncampbell/32/20_2.png) [@darryncampbell](https://community.livekit.io/u/darryncampbell)\
**Post date:** [October 30, 2026, 10:13am UTC](https://community.livekit.io/t/gemini-3-8-live-websocket-401-unauthorized-in-livekit-agent-builder/2418/2 "2026-10-30T10:13:35Z")

</div>

I’m having some trouble finding the session that gave you issues, can you provide a session ID or room name? Or, did you delete the project?

I did spin up a new project on `build` with EU data region, and Agent Builder seems to work with `gemini-3.8-live`, provided that inference region restriction is disabled, so perhaps your error is unrelated to that.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/system/32/26_2.png) [@system](https://community.livekit.io/u/system)\
**Post date:** [November 14, 2026, 10:14am UTC](https://community.livekit.io/t/gemini-3-8-live-websocket-401-unauthorized-in-livekit-agent-builder/2418/3 "2026-11-14T10:14:01Z")

</div>

Closed on November 14, 2026, 10:14am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
