Skip to content

Unable to scan container's on docker.io #2220

Description

@mdc-webdb

The fetch of the image will fails with:

2026-05-26T08:32:18.548258Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("https", www.docker.com)
2026-05-26T08:32:18.548388Z DEBUG hyper_util::client::legacy::pool: reuse idle connection for ("https", www.docker.com)
2026-05-26T08:32:18.552645Z  WARN openvasd::container_image_scanner::image::registry::docker_v2: source=MissingAuthHeader("WWW-Authenticate") kind=authentication (repository:library/ubuntu:pull) self.registry="docker.io" self.scope="repository:library/ubuntu:pull"
2026-05-26T08:32:18.552707Z DEBUG rustls::common_state: Sending warning alert CloseNotify
2026-05-26T08:32:18.552782Z DEBUG rustls::common_state: Sending warning alert CloseNotify
2026-05-26T08:32:18.553106Z  WARN scan_image{id="1" image="oci://docker.io/library/ubuntu:22.04"}: openvasd::container_image_scanner::scheduling: This is considered a scan failure reason. error=Error occurred on docker.io while operating on authentication (repository:library/ubuntu:pull)
2026-05-26T08:32:18.553928Z DEBUG openvasd::container_image_scanner::scheduling::db::sqlite::scan: finished scans amount=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions