Skip to content

When watchdog enabled, realtime (talk in the web app) works once, and then fails the second connection waiting for a session #10391

Description

@JohnGalt1717

LocalAI version:
LocalAI 13f59f0 (13f59f0)

Environment, CPU architecture, OS, and Version:
Docker on Ubuntu 24.04 x64

Describe the bug
If you have watchdog enabled, the first time you start any realtime session, it will work. But if you click disconnect and reconnect (or have any other client connect to it) a second time, it will hang with "Connected. Waiting for session. The logs keep showing a busy message about the watch dog and then a line saying that the vad is already loaded.

To Reproduce
Create a realtime AI with any models you want.
Make sure watchdog is enabled with defaults
Go to the talk tab and connect
Chat with it.
Click disconnect
Wait for it to say that it's disconnected
Click connect

Expected behavior
Should work repeatedly like it does when the watchdog is not enabled.

Logs
See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions