Skip to content

Deprecated driver option throws misleading error #1023

@timwhitlock

Description

@timwhitlock

Hi, just a comment really...

After upgrading an existing installation from 1.5.5. to 1.6.0 I started getting ConnectionTimeoutException immediately when selecting a server.

I eventually discovered it was due to specifying the deprecated allow_invalid_hostname driver option (when tlsAllowInvalidHostnames is absent). My own fault for not reading the release notes, but it seems like the error thrown could be less misleading.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions