Closed dreamstar-enterprises closed 2 months ago
Hi @dreamstar-enterprises, thanks for the report.
I don't see Spring Session involved in your configuration. In addition to that, Spring Session uses Spring Data Redis to manage the connections with Redis, you should open this issue on their issue tracker.
Hi Marcus, My BFF code can be found here: https://github.com/dreamstar-enterprises/docs/tree/master/Spring%20BFF/bff but I was able to resolve it, though I still often get timeout or connection issues with Azure Redis Cache
Many thanks
I can connect using the redis cli, but not through Spring Boot Webflux, I keep getting readAddress(..) failed: Connection reset by peer
So, i figured this was a spring issue, using lettuce.
Here is my code:
And the error chain I keep getting, after about 10 seconds:
org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis Caused by: org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to hostname.redis.cache.windows.net/:6380 Caused by: io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer
Would be grateful for nay help and support
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior.
Expected behavior A clear and concise description of what you expected to happen.
Sample
A link to a GitHub repository with a minimal, reproducible sample.
Reports that include a sample will take priority over reports that do not. At times, we may require a sample, so it is good to try and include a sample up front.