Skip to content

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

Description

@federicozaiter

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions