CommunityToolkit / CommunityToolkit/Aspire

DbGate does not work with Redis in the newest versions

Open
#1,326 4 comments 2 reactions 2 assignees Claimed by @aaronpowell View on GitHub
Dominant language
C#
Stars
627
Forks
196
Avg merge
2d 11h
Merged PRs (30d)
35

Description

### Describe the bug

With really basic setup (aspire 13.3.3 and libraries listed below in repro sample) when i open DbGate and try to connect to redis i get timeout. In redis log i see this:
```
7:M 19 May 2026 09:09:21.235 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:45918 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:21.646 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:45928 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:22.102 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39078 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:22.611 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39080 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:23.169 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39094 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:23.775 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39106 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:24.434 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39114 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:25.140 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39116 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:25.897 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39126 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:26.701 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39130 laddr=172.19.0.5:6379)
7:M 19 May 2026 09:09:27.555 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=172.19.0.7:39146 laddr=172.19.0.5:6379)
```

Redis commander and Redis Insights worked out of the box

### Regression

_No response_

### Steps to reproduce

```text
var cache = builder.AddRedis("cache")
.WithDataVolume()
.WithLifetime(ContainerLifetime.Persistent)
.WithDbGate();

```

### Expected behavior

Connection between redis and DbGate should work out of the gate.

### Screenshots

_No response_

### IDE and version

Rider

### IDE version

_No response_

### Nuget packages

```text

```

### Additional context

_No response_

### Help us help you

Yes, but only if others can assist

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.