Skip to content

Unable to login with robot account harbor-cli v0.0.18, harbor v2.13.1-9384ed0e #725

@jeffj-simspace

Description

@jeffj-simspace

Using harbor-cli version 0.0.18 on a mac installed via homebrew we are unable to log into robot accounts on a Harbor server running v2.13.1-9384ed0e. We've tried multiple robot accounts. All have failed. Regular user account credentials succeed.

Command line:
harbor login <registry> -u 'abcd_xyz+xyz-delivery' -p ThePassword

Response

Error: login failed: &{false  0001-01-01T00:00:00.000Z  <nil>  false 0001-01-01T00:00:00.000Z 0 } (*models.UserResp) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface

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