Skip to content

SNOW-2169830: Duplicate MFA requests in Duo Mobile when connecting #1194

@AndrewRybka

Description

@AndrewRybka
  1. What version of .NET driver are you using?

    4.6.0 (also experienced in 4.5.0 and 4.4.1)

  2. What operating system and processor architecture are you using?

    Windows 10, x64.

  3. What version of .NET framework are you using?

    .NET Framework 4.8

  4. What did you do?

using (var connection = new SnowflakeDbConnection())
{
    connection.ConnectionString = "ACCOUNT=<account>>;USER=<user>;PASSWORD=<password>;DB=TEST_DB;SCHEMA=EM_SANDBOX;WAREHOUSE=<warehouse>";

    await connection.OpenAsync();

    using (var command = connection.CreateCommand())
    {
        command.CommandText = "SELECT 1+1";
        await command.ExecuteScalarAsync();
    }
}
  1. What did you expect to see?

    Two push notifications are sent to the Duo Mobile app when I attempt to open a connection. Only one notification is expected.

    This behavior does not occur when connecting using the ODBC driver or via the Python connector — in those cases, only a single Duo Mobile confirmation request is received.

  2. Can you set logging to DEBUG and collect the logs?

    snowflake_dotnet.log

Metadata

Metadata

Labels

bugstatus-pr_pending_mergeA PR is made and is under reviewstatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions