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

Docker login error: Error response from daemon: Get "https://harbor.com.vn/v2/": EOF #19995

Closed
tsukiazuma opened this issue Feb 20, 2024 · 9 comments
Assignees
Labels
help wanted The issues that is valid but needs help from community Stale

Comments

@tsukiazuma
Copy link

tsukiazuma commented Feb 20, 2024

Hi,

I can't docker login Harbor when use proxy:

  • use command line: docker login harbor.com.vn -u user
  • get error: Error response from daemon: Get "https://harbor.com.vn/v2/": EOF
  • Docker version 20.10.17, build 100c701
  • Harbor version v2.10.0-6abb4eab
@zyyw
Copy link
Contributor

zyyw commented Feb 23, 2024

@tsukiazuma will you be able to login via the Harbor portal web UI?
Maybe you wanna try to set the external_url https://github.com/goharbor/harbor/blob/main/make/harbor.yml.tmpl#L41

Please let us know if this works.

@tsukiazuma
Copy link
Author

Yeah, I can login via web UI.
If not use proxy, I still docker login. But when I add proxy, can;t docker login

@zyyw
Copy link
Contributor

zyyw commented Feb 26, 2024

@tsukiazuma Are you still not able to docker login under proxy added even with the external_url being set?

@tsukiazuma
Copy link
Author

@zyyw Yeah I try external_url in harbor.yml and harbor.yml.tmpl, but it not work

@zyyw
Copy link
Contributor

zyyw commented Feb 26, 2024

Could you please also share with us what Proxy you are using?

  • Traefik
  • haproxy
  • Nginx

some issue related to installing Harbor behind a proxy:

BTW, after setting external_url, you will also need to re-install it or re-run the prepare script to make it take effect to the system.

@zyyw zyyw self-assigned this Feb 26, 2024
@zyyw zyyw added the help wanted The issues that is valid but needs help from community label Feb 26, 2024
@zyyw
Copy link
Contributor

zyyw commented Feb 26, 2024

For customization deployment of Harbor behind a Proxy, community help and sharing are welcome and appreciated!

@tsukiazuma
Copy link
Author

Could you please also share with us what Proxy you are using?

  • Traefik
  • haproxy
  • Nginx

some issue related to installing Harbor behind a proxy:

BTW, after setting external_url, you will also need to re-install it or re-run the prepare script to make it take effect to the system.

Yeah, I use Nginx.
Hope the problem will be resolved soon

Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Apr 27, 2024
Copy link

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The issues that is valid but needs help from community Stale
Projects
None yet
Development

No branches or pull requests

2 participants