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

Authentication required error on a public docker registry #2241

Open
1 of 6 tasks
53845714nF opened this issue Jul 8, 2024 · 3 comments
Open
1 of 6 tasks

Authentication required error on a public docker registry #2241

53845714nF opened this issue Jul 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working needs-triage Indicates that issue is not yet triaged and assigned

Comments

@53845714nF
Copy link

Describe the bug
I get an authentication required error on a public docker registry.

exit status 1: Flag --file has been deprecated, use: output 1 error occurred: * failed to construct source from user input 
"registry:5000/backend:latest": unable to load image: unable to use OciRegistry source: failed to get image descriptor from 
registry: GET https://index.docker.io/v2/5000/backend/manifests/latest: UNAUTHORIZED: authentication required; 
[map[Action:pull Class: Name:5000/backend Type:repository]] 

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Add Connector'
  2. Click on 'Docker Registry Selfhosted'
  3. Add Scan
  4. See error

Expected behavior
Normal scanning

Screenshots
image

Components/Services affected

  • UI/Frontend
  • API/Backend
  • Agent
  • Deployment/YAMLs
  • CI/CD Integration
  • Other (specify)
@53845714nF 53845714nF added bug Something isn't working needs-triage Indicates that issue is not yet triaged and assigned labels Jul 8, 2024
@gnmahanth
Copy link
Contributor

Not reproducible, can you please check the configuration
Scan was successful for me
image

@53845714nF
Copy link
Author

How can I do that? The weird thing is that he sees the images.

@gnmahanth
Copy link
Contributor

gnmahanth commented Jul 12, 2024

Hi @53845714nF can you please share deepfence-server and deepfence-worker logs from the time this error happened, It would help resolve the issue faster

Also can you confirm you added your self hosted registry in the option highlighted below
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Indicates that issue is not yet triaged and assigned
Projects
None yet
Development

No branches or pull requests

2 participants