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

harbbor preheat can not connect dragonfly2 #3651

Closed
MouseSun846 opened this issue Nov 14, 2024 · 6 comments
Closed

harbbor preheat can not connect dragonfly2 #3651

MouseSun846 opened this issue Nov 14, 2024 · 6 comments
Assignees

Comments

@MouseSun846
Copy link

image
image
image

dragonfly2 has deployed,but harbbor preheat can not connect dragonfly2

harbor log

2024-11-14T03:39:58Z [ERROR] [/pkg/p2p/preheat/provider/client/http_client.go:75]: Get http://10.0.102.61:18080/_ping with cred=&{OAUTH map[]}, params=map[], options=map[]: no credential data provided
2024-11-14T03:39:58Z [ERROR] [/lib/http/error.go:57]: {"errors":[{"code":"UNKNOWN","message":"unknown: no credential data provided"}]} 

bu config manager insecureSkipVerify

      preheat:
        # -- registryTimeout is the timeout for requesting registry to get token and manifest.
        registryTimeout: 1m
        tls:
          # -- insecureSkipVerify controls whether a client verifies the
          # server's certificate chain and hostname.
          insecureSkipVerify: true
        # # caCert is the CA certificate for preheat tls handshake, it can be path or PEM format string.
        # caCert: ''
@gaius-qi
Copy link
Member

@MouseSun846 Please provide the version of the harbor.

@gaius-qi gaius-qi self-assigned this Nov 14, 2024
@MouseSun846
Copy link
Author

Without authentication, it can be connected, but the image preheating is stuck at 0%
image

@MouseSun846
Copy link
Author

dragonfly v2.1.60
harbor v2.8.2

@gaius-qi
Copy link
Member

@chlins Can you provide the version table between harbor and dragonfly.

@chlins
Copy link
Member

chlins commented Dec 4, 2024

@MouseSun846 Please refer to the version compatible table: https://goharbor.io/docs/edge/administration/p2p-preheat/

@MouseSun846
Copy link
Author

ok, Thanks you.

@gaius-qi gaius-qi closed this as completed Dec 4, 2024
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