You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot start the application. TypeError: Cannot initialize connector "mongodb": Invalid URL
at new NodeError (node:internal/errors:371:5)
at onParseError (node:internal/url:552:9)
at new URL (node:internal/url:628:5)
at MongoDB.connect (xxxxxxxxxxx\node_modules\loopback-connector-mongodb\lib\mongodb.js:337:20)
at Object.initializeDataSource [as initialize] (xxxxxxxxxx\node_modules\loopback-connector-mongodb\lib\mongodb.js:127:28)
at FeederDataSource.DataSource.setup (xxxxxxxxxx\node_modules\loopback-datasource-juggler\lib\datasource.js:515:19)
package.json
"loopback-connector-mongodb": "^6.2.0",
Logs:
URL:
url =mongodb://admin:password@75a46762-47a8-477c-aaae-4c336442d784-0.databases.appdomain.cloud:32491,75a46762-47a8-477c-aaae-4c336442d784-1.databases.appdomain.cloud:32491,75a46762-47a8-477c-aaae-4c336442d784-2.databases.appdomain.cloud:32491/feeder?authSource=admin&replicaSet=replset&ssl=true&retryWrites=false&connectTimeoutMS=60000
I just create a simple test script to check the method "new URL(url)"
it raise same exception...
The text was updated successfully, but these errors were encountered: