-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
The SDAM spec defines an error message to use when wire version compatibility checks fail:
"Server at $host:$port uses wire protocol versions $minWireVersion through $maxWireVersion, but $driverName $driverVersion only supports $clientMinWireVersion through $clientMaxWireVersion."
After DRIVERS-407 we're likely to see a lot of commercial support questions complaining about applications not connecting and weird messages about wire version. To minimize the number of support tickets I think we should improve the messaging. There are two ways compatibility checks can fail. In one case we know the exact server version to report, in the other we don't. I suggest splitting the existing error message in two:
"Server at $host:$port reports wire version $maxWireVersion, but this version of $driverName requires at least $clientMinWireVersion (MongoDB x.x)."
and:
"Server at $host:$port requires wire version $minWireVersion, but this version of $driverName only supports up to $clientMaxWireVersion."
- depends on
-
RUST-41 Improve server compatibility error messages for wire version checks
- Closed
-
CDRIVER-2362 Improve server compatibility error messages for wire version checks
- Closed
-
CSHARP-2093 Improve server compatibility error messages for wire version checks
- Closed
-
CXX-1470 Improve server compatibility error messages for wire version checks
- Closed
-
GODRIVER-126 Improve server compatibility error messages for wire version checks
- Closed
-
NODE-1186 Improve server compatibility error messages for wire version checks
- Closed
-
PHPC-1035 Improve server compatibility error messages for wire version checks
- Closed
-
PYTHON-1409 Improve server compatibility error messages
- Closed
-
RUBY-1254 Improve server compatibility error messages for wire version checks
- Closed
-
JAVA-2660 Improve server compatibility error messages for wire version checks
- Closed
- is depended on by
-
DRIVERS-407 Drop support for MongoDB 2.4
- Closed