Skip to content

Failed to Attach Emulator for MongoDB with an error #2246

Open
@Amar-QA

Description

@Amar-QA

OS: All
Azure Database Extension Build: 20240219.1
Regression: Previous Release

Repro Steps:

  1. Open Tree View of Attached Database Accounts -> Click Attach Emulator -> Select Azure Cosmos DB for MongoDB API
  2. Check whether succeeds to Attach Emulator.

Expect:
Succeed to Attach Emulator.

Actual:
Failed to Attach Emulator for MongoDB with an error "Server at localhost:10255 reports maximum wire version 2, but this version of the Node.js Driver requires at least 6 (MongoDB 3.6)".
image

More Info:

  1. It does not reproduce on the previous released Azure Databases extension v0.20.1.

  2. Mongo DB version 4.0 has been installed in the Local Machine.
    image

  3. Emulator has been started, with the MongoDB endpoint enabled.
    image

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