-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
On tls issues with the certificate - token service returns empty token without any error or log record #20080
Comments
from the debug msg in harbor-core, the user is empty
thus the returned token is actually unauthoirzed to your repository. Have your properly save your credential file when using crictl?
Could you provide your full service token request when pulling? |
This is a public repository and there is no user. I am trying to pull as anonymous. In slack, I left some more logs on what happens when I try |
Plus the log literally tells you |
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. |
Not stale |
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. |
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. |
Expected behavior and actual behavior:
In my case, certificate I was using seems not to be compatible with current Harbor code (which is a separate issue).
If I were to pull an image:
With corresponding logs on the Core side:
Steps to reproduce the problem:
I recon there are multiple ways, but in my case I was using a following CA:
I'm guessing ECDSA algorithm is not currently supported.
Versions:
Please specify the versions of following systems.
Additional context:
CA secret from is given to
.core.secretName
.Thread on slack: https://cloud-native.slack.com/archives/CC1E09J6S/p1709497679881159
The text was updated successfully, but these errors were encountered: