Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
1.2.0
-
None
-
None
Description
derick points out that server selection error messages from pooled clients are less helpful than from single clients. E.g., a single client that can't reach MongoDB says:
No suitable servers found (`serverselectiontryonce` set): [connection timeout calling ismaster on 'localhost:44444']
A pooled client says:
Timed out trying to select a server
Bring the pooled client's error message up to spec. Server Selection Spec says "Drivers should use server descriptions and their error attributes (if set) to return useful error messages".
Attachments
Issue Links
- is duplicated by
-
CDRIVER-898 Unify scanner node and server description errors
-
- Closed
-
- is related to
-
CDRIVER-841 Improve SSL connection error messages
-
- Closed
-
- related to
-
CDRIVER-696 Useful errors from server selection
-
- Closed
-