StackExchange / StackExchange/StackExchange.Redis

RedisTimeoutException when connecting from web app for containers hosting net8 api

Open
#2,802 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.2k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Hello,

I have quite a weird scenario, that I'm stuck. Not sure if this issue is related with using docker or NET8.

I'm getting below error:
image

Server endpoint is some private ip, that I'm not correlating with anything, it is not assosiated with my Azure Cache For Redis cluster. My redis does not have any network restrictions, but still i'm getting this timeout.

Do you guys have any ideas what shall I check.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Docker-hosted .NET 8 API connection configuration and the Azure Cache for Redis endpoint and network settings. Confirm what the private IP in the timeout represents and provide a minimal reproducible setup or logs showing whether the client reaches the intended cluster; no repository file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, docker, redis
Domain
backend, cloud, databases, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.