9 views
-/https://github.com/berriai/litellm/issues/25260
GitHub · issue

#25260 [Bug]: Prisma query engine crashes immediately on first query on Windows (pip install) - LiteLLM 1.82.x / 1.83.0

  • State: open
  • Author: @gfish213-tech
  • Labels: bug

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

Environment

OS: Windows 10/11 x64 Python: 3.12.x (pythoncore-3.12-64) LiteLLM versions affected: 1.82.0, 1.82.3, 1.83.0 LiteLLM last working version: 1.81.16 Installation method: pip (not Docker) prisma-client-py: 0.15.0 Prisma CLI: 5.17.0 Node.js: v20.19.1 (also reproduced with v24.14.1) PostgreSQL: 15.x at 127.0.0.1:5432 Virtual environment: Python venv at C:\LiteLLM\venv

What happened? After upgrading from LiteLLM 1.81.x to any 1.82.x or 1.83.0 release via pip on Windows, the Prisma query engine crashes immediately on the first database query after startup. LiteLLM becomes completely unable to read from or write to the PostgreSQL database. The Prisma migrations run successfully. The query engine binary is found and its PID is logged. However the very first query LiteLLM makes after startup returns httpcore.ReadError, indicating the engine process crashes mid-response. All subsequent queries fail with httpcore.ConnectError: All connection attempts failed because the engine process is dead. Critically: The Prisma engine works perfectly fine…

GitHub resolver

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

Refresh page
vote history (1 events)
#0 of 0 · 31d18h1m32s ago — entered · #import:https:::github.com:berriai:litellm post #2817
#25260 requires cross-platform diagnosis across Prisma, Node, Python packaging, Windows process behavior, and database integration, with substantial regression risk; #27950 is a localized request-transformation mapping fix with focused tests
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search