6 views
-/https://github.com/berriai/litellm/issues/35595
GitHub · issue

#35595 [Bug]: NotConnectedError on startup under systemd, all versions from 1.87.0 onward (1.86.0 works) — uv/venv install, Debian 13

  • State: open
  • Author: @khnjrdm
  • Labels: llm translation

### Check for existing issues

Related but distinct: #11864, #17093, #9298 all report `NotConnectedError` in different environments (containers/K8s/restricted images). This report is for a bare uv/venv install on Debian, where the same command succeeds as root in the foreground and fails under systemd.

### What happened?

LiteLLM proxy fails to start under systemd with `prisma.engine.errors.NotConnectedError` on every version from **1.87.0 through 1.94.1** inclusive. Version **1.86.0** starts cleanly with the exact same environment, config, database, and systemd unit. The regression window is bounded.

The failure is not "Prisma binaries missing" (#13793, #22760) — the engine binary is present, linked correctly, executable, and runs standalone. The failure is later, inside `health_check() → query_raw() → _build_request()`, where the query engine subprocess should already have an HTTP URL and doesn't.

### Environment

- Linux distribution: Debian 13.5 (bookworm) in Proxmox LXC - Proxmox VE: 9.1 - Python: 3.13.5 - Install method: `uv add 'litellm[proxy]==<version>'` in a venv at `/opt/litellm/.venv` - Runner: systemd unit invoking `/opt/litellm/.venv/bin/litellm --config ...` (orig…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (3 events)
#0 of 0 · 31d18h55m48s ago — entered · #import:https:::github.com:berriai:litellm post #2252
The left issue is harder because it requires isolating a version-specific startup regression across process supervision, dependency behavior, and database-engine initialization, with broader compatibility and reproduction risk. The right issue is localized to a single hot path and can likely be addressed with a contained buffer-assembly change plus focused performance and regression tests.
The localization feature has broader implementation scope: frontend architecture changes, string extraction, locale loading, language selection and persistence, translation coverage, and regression testing across the dashboard. The startup defect is technically risky and may require environment-specific debugging, but it remains a narrower, focused investigation and fix.
#0 of 0 · 31d18h14m35s ago — current · #import:https:::github.com:berriai:litellm post #2934
The right-hand task is harder because it requires diagnosing a version-sensitive runtime failure across deployment environments and validating a robust fix, while the left is a comparatively localized observability enhancement with clearer integration boundaries.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search