Skip to content

[source-mssql] Syncs fail with invalid timeout string (works in 4.2.6) #72928

@justbeez

Description

@justbeez

Connector Name

source-mssql

Connector Version

4.3.3

What step the error happened?

During the sync

Relevant information

Effectively when using newer versions, I can't sync to certain servers. I can run a connection check just fine, but then the sync fails to start and throws one of these two forms of the same error:

ERROR main i.a.c.AirbyteConnectorRunnable(run):38 Failed class io.airbyte.cdk.discover.DiscoverOperation operation execution. com.microsoft.sqlserver.jdbc.SQLServerException: The timeout 300;socketTimeout=0;cancelQueryTimeout=0 is not valid.

. . . or this one (which seems to happen on subsequent attempts):

ERROR Failing job: 923287, reason: Could not connect with provided configuration. Error: Message: The timeout 300;socketTimeout=0;cancelQueryTimeout=0 is not valid.

Regardless it appears that the issue is the timeout value being provided being malformed. I'm not certain if this is specific to SQL server version, as I've seen failures on several different connections to various third-party SQL servers (some of which I don't know the version of).

I've had to pin my connector version to 4.2.6 due to this issue, in which case the sync completes just fine.

Relevant log output

ERROR main i.a.c.AirbyteConnectorRunnable(run):38 Failed class io.airbyte.cdk.discover.DiscoverOperation operation execution. com.microsoft.sqlserver.jdbc.SQLServerException: The timeout 300;socketTimeout=0;cancelQueryTimeout=0 is not valid.

Contribute

  • Yes, I want to contribute

Internal Tracking: https://github.com/airbytehq/oncall/issues/11187

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions