Skip to content

The 'To create a disconnected multiplexer, disable AbortOnConnectFail' message is confusing #1287

@TimLovellSmith

Description

@TimLovellSmith

I just want to give some feedback that this error message is confusing people:

"No connection is available to service this operation: GET 0C2F1DC9-FEED-4AE6-91F2-6FE736613BB3_MUSTCHANGEPASSWORD; It was not possible to connect to the redis server(s). To create a disconnected multiplexer, disable AbortOnConnectFail. ConnectTimeout; IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=1,Free=32766,Min=100,Max=32767), Local-CPU: n/a"

The reason I think its confusing is that 'disable AbortOnConnectFail' sounds like you should set that 'AbortOnConnectFail=false' to disable it. But AFAICS thats not really what the error message means, since you will only see that error message if it was already false:

if (!muxer.RawConfig.AbortOnConnectFail) sb.Append(" To create a disconnected multiplexer, disable AbortOnConnectFail.");

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions