384 — ConnectionError

connectivitynetworking

Connection Error — MongoDB error code 384

Detailed investigation data (common causes, diagnostic steps) is not yet available for this error code. The information above comes from the official MongoDB error code reference.

Related Issues

NODE-7988Investigating
Add a supported isConnectionError helper
Could the Node.js driver expose a supported {{isConnectionError(err)}} helper? We're classifying Atlas Remote MCP failures as expected vs. alertable, and maintaining our own list of driver error types is brittle. It'd be useful if it covered network error subclasses, SRV/TXT DNS failures, and the underlying causes in {{{}MongoServerSelectionError{}}}. Context: [Slack thread|https://mongodb.slack.com/archives/C03MPA2FY6S/p1793696623790289]
GODRIVER-4109Closed
Exclude OCSP errors from backpressure label
h3. Detailed steps to reproduce the problem? OCSP are non-I/O TLS errors since revocation checking is certificate validation and retrying the server would probably fail. h3. Definition of done: what must be done to consider the task complete? Need to add the following block to [wrapConnectionError|https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/connection.go#L50]: h3. The exact Go version used, with patch level: NA h3. The exact version of the G
GODRIVER-4108Closed
Exclude remote TLS alerts from backpressure labels
h3. Detailed steps to reproduce the problem? A TLS peer can refuse a handshake with a reply, rather than dropping the connection. Right now the driver would label that error in a way that would back off and retry. But it's likely that the server would never accept the connection (e.g. a bad certificate). h3. Definition of done: what must be done to consider the task complete? We need to unwrap net.OpError in [wrapConnectionError|https://github.com/mongodb/mongo-go-driver/blob/33c3f5e9e41
GODRIVER-3907Closed
Bump minimum Go version to 1.21 or higher
h3. *Context* Compile floor is currently Go 1.19. This ticket is for collecting justifications for bumping forward. h3. Motivators (add as they come up) * (1.21+) {{tls.AlertError}} — extends topology.wrapConnectionError deny-list per CMAP. Tracked under GODRIVER-3906. * (1.25+) Can stop ignoring testcontainer-go updates, e.g. https://github.com/mongodb/mongo-go-driver/pull/2384. Re-open this PR if we bump to a Go version > 1.25.0 * Newer go versions limit the number of depen
GODRIVER-3906Closed
Exclude non-I/O TLS errors from backpressure labels
h3. Context [wrapConnectionError|https://github.com/mongodb/mongo-go-driver/blob/ef05d4c572f9f520200c86a474274c56fb6dfdf2/x/mongo/driver/topology/connection.go#L50] in {{topology.connection}} (added in GODRIVER-3646, [PR #2330|https://github.com/mongodb/mongo-go-driver/pull/2330]) labels connection-establishment errors with {{SystemOverloadedError}}, {{RetryableError}}, and {{NetworkError}} per the [CMAP spec|https://github.com/mongodb/specifications/blob/master/source/connection-monitoring-an