stale-traffic-81973
03/17/2021, 12:21 PMmeltano elt tap-mongodb target-postgres
gives:
ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['/Users/kimus/Develop/eattasty/meltano/mongo2pg/mongo2pg/.meltano/extractors/tap-mongodb/venv/bin/tap-mongodb', '--config', '/Users/kimus/Develop/eattasty/meltano/mongo2pg/mongo2pg/.meltano/run/elt/mongo2pg/599470ac-e8f0-4274-b7b1-cb97ed7d0aad/tap.config.json', '--discover'] returned 1: CRITICAL Authentication failed.
Not sure what I’m doing wrong. The connection settings works fine in mongo client.
> meltano config tap-mongodb
{
"host": "localhost",
"port": 27017,
"user": "test",
"password": "test,
"database": "test",
"ssl": "false",
"verify_mode": "true",
"include_schemas_in_destination_stream_name": true
}
salmon-salesclerk-77709
03/17/2021, 2:15 PM<http://localhost>
or 127.0.0.1
? Looking at https://github.com/singer-io/tap-mongodb/blob/master/tap_mongodb/__init__.py#L361 it doesn’t seem like it’s doing anything to actually validate it’s a URL.meltano --log-level=debug
to see if there’s more detailed info toostale-traffic-81973
03/17/2021, 2:45 PMMONGODB-CR
mechanism. Not sure why and how to set this."authSource": config['database'],
salmon-salesclerk-77709
03/17/2021, 2:57 PMstale-traffic-81973
03/17/2021, 2:58 PMsalmon-salesclerk-77709
03/17/2021, 3:13 PMstale-traffic-81973
03/17/2021, 3:14 PM