Replies: 1 comment
-
performing tests and searching on google I managed to run by putting the parameter "abortConnect=false" in the string of the multiplex. it-was-not-possible-to-connect-to-the-redis-servers-to-create-a-disconnected |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any documentation or tutorial on how to run Visual Studio 2019 Pro with Rancher Desktop?
We are trying to run a .Net Core 6 project in Docker Compose with Rancher Desktop and we get an error:
StackExchange.Redis.RedisConnectionException: 'It was not possible to connect to the redis server(s). Error connecting right now. To allow this multiplexer to continue retrying until it's able to connect, use abortConnect=false in your connection string or AbortOnConnectFail=false; in your code.'
In C# we search for it as follows:
var redis_conect = Environment.GetEnvironmentVariable("REDIS_CONECT"); var multiplexer = ConnectionMultiplexer.Connect(redis_conect); services.AddSingleton<IConnectionMultiplexer>(multiplexer);
REDIS_CONECT=host.docker.internal
In this test we used VS2022, .Net Core 6 with Rancher Desktop 1.3.0, with dockerd (mody) configuration.
Any help will be welcome. I thank
Beta Was this translation helpful? Give feedback.
All reactions