Skip to content

Sometimes, update failed. Got timeout #490

Description

@ciltocruz

Drydock version

1.5.1-rc.5

What happened?

Sometimes I get a Trivy timeout error when updating.

See logs section.

Then, on a second attempt, it seems to work. It's as if the image takes a long time to download, causing the process to fail. On the second attempt, once the image is downloaded, it seems to work better.

What did you expect?

Updated successfully.

Steps to reproduce

  1. Trying to update an image, perhaps a very large one (I don't know).
  2. Waiting for the timeout error to occur. It seems random.

Relevant configuration

Logs

`Container kometa update failed: Security scan failed: Trivy command failed (exit=unknown): Command failed: trivy image --quiet --format json --timeout 120s --scanners vuln --severity UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL kometateam/kometa:latest`

Installation method

Docker Compose

Docker version

No response

OS / Architecture

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingroadmapAccepted or likely roadmap work, not a narrow bug fix

    Type

    No type

    Fields

    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