Skip to content
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

Authentication eventually fails when locking dependencies takes too long in poetry #38

Open
federicozaiter opened this issue Nov 24, 2022 · 0 comments

Comments

@federicozaiter
Copy link

federicozaiter commented Nov 24, 2022

We have a python library published in an Artifact Registry repository. When adding it as a source to poetry, it always checks this index for every single dependency. Since most dependencies are only hosted on PyPI, poetry keeps getting 404 responses from Artifact Registry which is fine. However, it also randomly gets 401s, as if it were not authenticating properly. The problem is that when locking takes too long, e.g. more than an hour, eventually it starts getting only 401s. Therefore, when it checks for our private package, it eventually doesn't find it either, hence failing completely.

Do you have any suggestions as to where the problem could be? Please let me know if you need any further details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant