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

#27188 Give Feedback / Get Help:

  • State: open
  • Author: @elviroyanova-web

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new LiteLLM.Info: If you need to debug this error, use `litellm._turn_on_debug()'.

--------------------------------------------------------------------------- LocalProtocolError Traceback (most recent call last) [/usr/local/lib/python3.12/dist-packages/httpx/_transports/default.py](https://localhost:8080/#) in map_httpcore_exceptions() 100 try: --> 101 yield 102 except Exception as exc:

36 frames LocalProtocolError: Illegal header value b'Bearer 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\r\n'

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer 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\r\n'

The above exception was the direct cause of the following exception:

APIConnectionError …

GitHub resolver

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

Refresh page
vote history (2 events)
#0 of 0 · 31d18h45m21s ago — entered · #import:https:::github.com:berriai:litellm post #2128
The right issue is harder because it requires tracing configuration through multiple asynchronous transport, session, and retry layers, preserving behavior across several HTTP methods, and adding regression coverage. The left issue appears comparatively localized to input validation or request construction.
#0 of 0 · 31d18h24m31s ago — current · #import:https:::github.com:berriai:litellm post #2452
The left issue requires diagnosing and safely fixing a concurrent state-update race in latency-aware routing, with cache consistency, async behavior, and regression testing across deployment-selection paths. The right issue is comparatively narrow request-input/header sanitization and error handling.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search