Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: filter out duplicate dns results #209

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nirinchev
Copy link
Contributor

This appears to be the cause of the failures we're seeing in mongosh. The logs indicate that we're getting duplicate dns addresses, which causes us to fire up two servers, one of which will inevitably fail due to address being in use. Here's the corresponding log message:

2025-02-26T17:22:33.225Z connection controller INFO  OIDC-PLUGIN [
  { __value: 1002000028 },
  'compass-oidc',
  'Resolved hostnames for local server',
  {
    url: 'http://localhost:37197/redirect',
    urlPort: 37197,
    hostname: 'localhost',
    interfaces: [
      { address: '127.0.0.1', family: 4 },
      { address: '127.0.0.1', family: 4 }
    ]
  }
]

@nirinchev nirinchev requested review from addaleax and gagik February 26, 2025 18:10
@github-actions github-actions bot added the fix label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant