tom_saunders
02/09/2023, 2:26 PMHTTPSConnectionPool(host='<http://hub.meltano.com|hub.meltano.com>', port=443): Max retries exceeded with url: /meltano/api/v1/plugins/extractors/index (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fdc95816820>: Failed to establish a new connection: [Errno 110] Connection timed out'))
You can get Meltano to stop calling out to discovery.meltano.com by setting the env variable to false. but you can't do this for the meltano_hub_url env which is what the above error is relating to...
The docs say "This manifest is primarily used by meltano discover
and meltano add
. It is also used in cases where the full plugin definition is needed but no lock artifact or cached discovery.yml
is found." So perhaps our meltano container doesn't have a local copy of the discovery.yml - I am actively exploring this now but would appreciate any other advice people have.pat_nadolny
02/09/2023, 2:46 PMtom_saunders
02/09/2023, 2:47 PMpat_nadolny
02/09/2023, 2:47 PMtom_saunders
02/09/2023, 2:47 PMpat_nadolny
02/09/2023, 2:48 PMWill Da Silva (Arch)
02/09/2023, 2:58 PMtom_saunders
02/09/2023, 3:05 PMWill Da Silva (Arch)
02/09/2023, 3:06 PMtom_saunders
02/09/2023, 3:08 PMWill Da Silva (Arch)
02/09/2023, 3:13 PMmeltano.yml
) cannot leave the air-gapped environment?pat_nadolny
02/09/2023, 3:15 PMtom_saunders
02/09/2023, 3:16 PMtom_saunders
02/09/2023, 4:01 PMtom_saunders
02/09/2023, 4:01 PMpat_nadolny
02/09/2023, 4:19 PMtom_saunders
02/09/2023, 4:24 PMtom_saunders
02/09/2023, 4:24 PMpat_nadolny
02/09/2023, 4:25 PMtom_saunders
02/09/2023, 4:25 PMpat_nadolny
02/09/2023, 4:27 PMtom_saunders
02/09/2023, 4:35 PMplugins:
extractors:
- name: tap-oracle
pip_url: -e ./xxxx-tap-oracle
config:
host:
port:
user:
password:
sid:
filter_schemas:
select_filter:
We pulled the repo for the tap-oracle and made a change to allow the tap to pull blobs...
This could be a cause of the issue I guess as I read that the lock command workd on non-custom plugins š¤·āāļøpat_nadolny
02/09/2023, 4:41 PMpat_nadolny
02/09/2023, 4:42 PMtom_saunders
02/09/2023, 4:48 PMaaronsteers
02/09/2023, 5:00 PMWill Da Silva (Arch)
02/09/2023, 5:25 PMWill Da Silva (Arch)
02/09/2023, 5:25 PMedgar_ramirez_mondragon
02/09/2023, 5:32 PMtom_saunders
02/09/2023, 6:09 PMaaronsteers
02/09/2023, 6:27 PMaaronsteers
02/09/2023, 6:30 PMaaronsteers
02/09/2023, 6:35 PM--log-level=debug
to help us pinpoint the part of the code where the reach-out is occurring.tom_saunders
02/09/2023, 6:36 PMaaronsteers
02/09/2023, 6:36 PMtom_saunders
02/09/2023, 6:37 PMtom_saunders
02/09/2023, 6:38 PMaaronsteers
02/09/2023, 6:39 PMCan I just check something. Is it possible to run Meltano without internet access with the current version(s)?If everything is working as expected, and all plugins have lock files, and if telemetry is turned off, then yes. In theory, at least. This future feature would make that formally a tested and official capability.
tom_saunders
02/09/2023, 6:59 PMchristoph
02/09/2023, 8:33 PMexport MELTANO_DISCOVERY_URL=false
still apply as a possible workaround for this problem?tom_saunders
02/10/2023, 10:09 AMtom_saunders
02/10/2023, 10:32 AMmeltano --log-level=debug run tap-oracle target-postgres &> logfile.txt
But this file is horrible to read.aaron_phethean
02/10/2023, 11:35 AMtom_saunders
02/10/2023, 1:20 PMaaron_phethean
02/10/2023, 3:46 PMtom_saunders
02/10/2023, 3:48 PMplugins:
extractors:
- name: tap-oracle
pip_url: -e ./xxxx-tap-oracle
config:
host:
port:
user:
password:
sid:
filter_schemas:
select_filter:
Well I ran a clean install on a fresh box and installed the extractor the normal way and this pipeline ran without internet so that was a relief.
I noticed that when installing with meltano add extractor tap-oracle
the meltano.yml looked a bit different, so I added the variant parameter like
plugins:
extractors:
- name: tap-oracle
variant : s7clarke10
pip_url: -e ./xxxx-tap-oracle
config:
host:
port:
user:
password:
sid:
filter_schemas:
select_filter:
and it worked. I'll hold off on pouring my a whiskey until it has run in our pre-prod env but I am in a much better mood than yesterday. šaaronsteers
02/10/2023, 8:23 PMvariant
is missing or not provided... š¤ That makes sense in a way because variant
is part of how the lock file is found... but without a variant we would never find a match on the Hub, so the lookup to the Hub is still probably not worth running.tom_saunders
02/14/2023, 10:07 AMaaronsteers
02/14/2023, 4:54 PM