-
Notifications
You must be signed in to change notification settings - Fork 145
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
bug: Meltano should not need to reach out to Hub if plugins are all locked #7296
Comments
@aaronsteers I'd have to confirm, but I don't think Meltano reaches out to Hub if a lockfile is found for a plugin. The lookup order is:
|
@edgarrmondragon - That's my expectation as well. If Meltano is reaching out to the Hub for a plugin that's already locked, and especially when all plugins in the project are locked, that would be a bug, I think. |
@aaronsteers tested without an internet connection: $ meltano@stable invoke tap-getpocket --about
2023-02-09T19:02:49.268226Z [info ] Environment 'prod' is active
Name: tap-getpocket
Description: Pocket tap class.
Version: 0.0.1
Sdk_Version: 0.19.0
Capabilities: [catalog, state, discover, about, stream-maps, schema-flattening]
Settings: <omitted for brevity>
$ mv plugins/extractors/tap-getpocket--edgarrmondragon.lock plugins/extractors/tap-getpocket--edgarrmondragon.lock2
$ meltano@stable invoke tap-getpocket --about
2023-02-09T19:03:10.666046Z [info ] Environment 'prod' is active
2023-02-09T19:03:12.342724Z [warning ] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x109cc1e20>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /meltano/api/v1/plugins/extractors/index
2023-02-09T19:03:12.343848Z [warning ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x109ce0430>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /meltano/api/v1/plugins/extractors/index
2023-02-09T19:03:12.344510Z [warning ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x109ce0a00>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /meltano/api/v1/plugins/extractors/index
Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to
join our friendly Slack community.
Could not connect to Meltano Hub. Could not reach Meltano Hub. |
Thanks, @edgarrmondragon. So, based on the above, it looks like we're not able to repro the issue on our side. Perhaps a lock file is missing from the user's project, or stored in an unexpected location, or else something else is going on that would cause this. The only thing I can think to recommend on the user side would be to rerun |
@edgarrmondragon @aaronsteers This may be caused by the |
Closing and replacing with new issue - this appears to be better described by the issue here: |
Meltano Version
(current)
Description
When plugins in a project all have lock files created, Meltano is still reaching out to the Hub - which causes hard failure in scenarios where network connectivity is tightly governed.
Code
No response
Related
add
anddiscover
#7095The text was updated successfully, but these errors were encountered: