Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5191

Using Java driver 4.6+ customer is getting `Failed looking up TXT record for host`

    • Type: Icon: Question Question
    • Resolution: Declined
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.6.1, 4.10.2
    • Component/s: Connection String
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Summary

      Customer when attempts to establish connectivity using Java Driver 4.6 & above with their Atlas cluster using SRV connection string is getting the following error message

      ` Factory method 'mongo' threw exception; nested exception is com.mongodb.MongoConfigurationException: Failed looking up TXT record for host contact-policy-stage-us-pri.se6lv.mongodb.net`

      The issue is closely related to JAVA-4018

      Details:

      Springboot version: 2.7.14
      Mac OS: 14.0 X86-64

      Java Driver: 4.6 & above 

      Motivation

      Who is the affected end user?

      Currently the customer

      How does this affect the end user?

      They cannot use the SRV connection string to connect to their Atlas cluster.

      How likely is it that this problem or use case will occur?

      User can reproduce the error message at will. The connection works fine if we are using a non-SRV connection string

      If the problem does occur, what are the consequences and how severe are they?

      This is limited to the user environment only as of now. 

      Is this issue urgent?

      A case has already been opened by the customer and they are seeking help from us.

      Is this ticket required by a downstream team?

      NA

      Is this ticket only for tests?

      Does this ticket have any functional impact, or is it just test improvements?

      Acceptance Criteria

      What specific requirements must be met to consider the design phase complete?

            Assignee:
            Unassigned Unassigned
            Reporter:
            janpreet.singh@mongodb.com Janpreet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: