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

#34614 Redis cache fails with unexpected ssl_check_hostname in v1.93.0

  • State: open
  • Author: @seth-shi

## Summary

LiteLLM Proxy v1.93.0 repeatedly fails to use Redis caching and budget counters with:

```text TypeError: AbstractConnection.__init__() got an unexpected keyword argument 'ssl_check_hostname' ```

## Environment

- LiteLLM Docker image: `ghcr.io/berriai/litellm-database:v1.93.0` - LiteLLM package: `1.93.0` - redis-py: `5.3.1` - Redis server: official `redis:7-alpine` (Redis `7.4.9`) - Python: `3.13` inside the image - Connection URL: non-TLS `redis://...` URL on the Docker network

The same error was also reproduced with Valkey, so this does not appear to be server-specific. Direct authenticated Redis PING from the LiteLLM container succeeds.

## Logs

```text LiteLLM Redis Caching: async set() - Got exception from REDIS AbstractConnection.__init__() got an unexpected keyword argument 'ssl_check_hostname' ```

The same failure affects `async_increment()` for spend/budget counters, resulting in warnings such as:

```text Skipping budget reservation ... because spend counter reservation failed ```

## Reproduction

1. Run LiteLLM Proxy v1.93.0 with Redis caching enabled and a password-protected non-TLS Redis URL. 2. Use the official Redis 7 server image. 3. Access the UI …

GitHub resolver

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

Refresh page
vote history (2 events)
#0 of 0 · 31d19h5m10s ago — entered · #import:https:::github.com:berriai:litellm post #1990
The UI performance regression is harder because it requires broad profiling and isolation across frontend, API, database, and deployment factors, whereas the cache failure is more narrowly scoped to dependency or connection-parameter compatibility.
#0 of 0 · 31d17h59m5s ago — current · #import:https:::github.com:berriai:litellm post #3095
Issue 34614 is harder because it requires resolving a dependency/API compatibility problem across multiple Redis and Valkey code paths, including cache operations and budget accounting, with broader regression testing. Issue 32324 is a localized argument-plumbing correction with a narrower behavioral scope.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search