GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Enhancement]: no busy wait if Docker repository returns 5xx · Issue #6678 · testcontainers/testcontainers-java

[Enhancement]: no busy wait if Docker repository returns 5xx #6678

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[Enhancement]: no busy wait if Docker repository returns 5xx#6678
Copy link
Labels
type/enhancement

Description

@seregamorph
seregamorph
opened on Feb 28, 2023
Issue body actions

Module

Core

Proposal

There is retry cycle in RemoteDockerImage.resolve in case if Docker repository responds 5xx code. This cycle has the limit on time execution, but once the situation can happen, the log is just fully of garbage messages of failed attempt to make an HTTP call. Also it makes the redundant load on a docker repo.
In our case it was a wrong configured Artifactory for Docker images, the authentication token was missing. In the log there were thousands of failure messages done while timeout did not happen.

The proposal is pretty simple: add the sleep between retries in this cycle - either constant or logarithmic.

Activity

  1. seregamorph
    added
    type/enhancement
    on Feb 28, 2023
  2. seregamorph
    added a commit that references this issue on Feb 28, 2023

    Solves testcontainers#6678: sleep interval between retries in RemoteD…

    0e53143
  3. eddumelendez commented on Apr 1, 2024

    @eddumelendez
    eddumelendez
    on Apr 1, 2024
    Member
    More actions

    This has been fixed in #8453, will be part of the next release.

  4. eddumelendez
    closed this as not plannedon Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.