[COMPASS-3580] LDAP Connections Do Not Use Correct PORT Created: 18/Apr/19  Updated: 29/Oct/23  Resolved: 05/Sep/19

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.20.0

Type: Bug Priority: Major - P3
Reporter: Kip Iwakiri (Inactive) Assignee: Alena Khineika
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-1173
Story Points: 3
Sprint: Iteration Manatee

 Description   

Compass 1.17.0

Behavior:

The connection string generated for a replica set does not include the port on all hosts.

Reproduction:

  1. Start two replica sets that each have two members, one with all members listening on 27017 and one with all members on 27018
    • e.g. rs0 has two members: server0:27017 and server1:27017
    • rs1: server0:27018 and server1:27018
  2. Add both hosts to the server hostname list
    • e.g. server0,server1
  3. Add port 27018
  4. Authentication Type: LDAP
  5. Connect
  6. Connection will be to the 27017 node or you may receive an error indicating that replica sets do not match.

Workaround:

Use a single host for your connection string or ensure that the node you want to connect to is running on the default port.


Generated at Wed Feb 07 22:33:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.