Hi all, why is `meltano ui` calling out to <pypi.o...
# troubleshooting
m
Hi all, why is
meltano ui
calling out to pypi.org? It seems to also be blocking the entire application. Can I stop this behavior?
a
Do you have
meltano install
running anywhere in the process?
m
No, it is a readonly project in a docker image where meltano install was already finished. I't running the command
meltano --log-level debug ui
. There's nothing really indicating to me what's going on, but the UI is just spinning and looking at hubble it looks like it's trying to reach pypi 😞 Could it be that it is looking for that discovery.yml file? I have it in the root path of the project in the docker image so it should be discovered, and there is no log indicating it was not.
Eventually it fails and logs this, failing the request to pypi. Looks like it's the
/api/v1/version
endpoint that calls out, does that give a clue to whats going on here?
r
The controller code for
/version
is here. I think it makes that request to PyPi if an
include_latest
query param is present with one of these values.
m
I see it - I guess the UI then calls out with that parameter by default.
Then the question becomes, how can I disable that behavior?
a
@martin_morset - Do you mind logging an issue for us? The version check is really a convenience feature, and I can see it being valuable to be able to disable the version check for environments such as yours where you don't want to allow access to PyPi.
m
@aaronsteers https://github.com/meltano/meltano/issues/6750 here you go! 😄
a
Thanks, @martin_morset! Related issue just opened as well: https://github.com/meltano/meltano/issues/6754