EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

Connecting the Collaboration Server to the remote MongoDB that uses IPv6 returns an error “getaddrinfo ENOTFOUND”


Community Admin

• Strategy


This Knowledge Base article describes scenario where a user is trying to establish connection between Collaboration Server and remote MongoDB that listens on IPv6 and returns an error. There is a workaround available for this issue.

Description

When a Strategy user is trying to establish a connection between Collaboration Server and remote MongoDB that uses IPv6, the user receives an error message. The Collaboration Server returns the following error specifically:
 


Unhandled rejection Error: Unable to connect to MongoDB server: failed to connect to server [xxx:27217] on first connect [MongoError: getaddrinfo ENOTFOUND xxx:27217]

Steps to reproduce

1. Setup a MongoDB with IPv6 by Default.
2. Establish the connection between Collaboration Server and MongoDB.
3. Once attempting to establish the connection, not the error message.

Solutions

In order to avoid the error produced by the Collaboration Server, follow these next steps:
Try to remove admin elevation from the MongoDB’s url path in config.json file. To do this:
 
1. Access the config.json file for Collaboration Server.
2. Edit the value for "dburl" by removing “?authSource=admin” from the path.
3. Save the changes that you have made.
Have other questions? Feel free to start a discussion on Community or reach out to your Support liaison. 
 


Comment

0 comments

Details

Knowledge Article

Published:

December 14, 2017

Last Updated:

August 16, 2019