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

Login fails to use schema automatically #38

Open
5 tasks
Vad1mo opened this issue Apr 10, 2024 · 2 comments
Open
5 tasks

Login fails to use schema automatically #38

Vad1mo opened this issue Apr 10, 2024 · 2 comments

Comments

@Vad1mo
Copy link
Member

Vad1mo commented Apr 10, 2024

Log in into harbor should work without specifying a schema.

./harbor login 8gears.container-registry.com
login failed, please check your credentials: Get "https://localhost/8gears.container-registry.com/users/current": dial tcp [::1]:443: connect: connection refused

The following combinations of commands should all work with schema, without schema, port number.

@amands98
Copy link
Contributor

Got it

@Mehul-Kumar-27
Copy link

@amands98 , can I take this issue ? . As far as I have understood, when a user gives us a server address, we check if it's in our config.yaml file. If it is present, we use the credentials from there to log them in. If it's not there, we prompt the user to log in manually ?

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

3 participants