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 — Implement retry handling in Jetty Transporter · Issue #2239 · apache/maven-resolver

Implement retry handling in Jetty Transporter #2239

New issue
Copy link
New issue
Copy link
Closed
#2242
Closed
Implement retry handling in Jetty Transporter#2239
#2242
Copy link
Labels
enhancementNew feature or request

Description

@kwin
kwin
opened on Oct 28, 2026
Issue body actions

New feature, improvement proposal

Currently the retry configuration is disregarded in the Jetty Transporter. Unfortunately the Jetty HTTP Client API does not come with a hook for retries. So retries need be manually established like this:

int attempt = 0;
    while (true) {
        try {
            return client.newRequest(url)
                         .timeout(5, TimeUnit.SECONDS)
                         .send();
        } catch (ExecutionException | TimeoutException e) {
            if (++attempt >= maxAttempts) {
                throw e;
            }
            Thread.sleep(200L * (1L << attempt)); // 400ms, 800ms, ...
        }
    }

Activity

  1. kwin
    added
    enhancementNew feature or request
    on Oct 28, 2026
  2. kwin
    changed the title [-]Implement retry handling in Jetty[/-] [+]Implement retry handling in Jetty Transporter[/+] on Oct 28, 2026
  3. sakshichitnis27 commented on Oct 29, 2026

    @sakshichitnis27
    sakshichitnis27
    on Oct 29, 2026
    Contributor
    More actions

    Hi! I opened a PR for this: #2242

    The Jetty HttpClient has no retry hook, so it adds a retry loop in JettyTransporter for HEAD, GET and PUT, driven by the existing aether.connector.http.retryHandler.* settings. I enabled the shared retry tests for Jetty (they fail on master) and added a few GET/PUT tests. I couldn't find another open PR for this after checking the timeline and a PR search.

  4. cstamas
    closed this as completedin #2242on Nov 3, 2026
  5. cstamas
    added a commit that references this issue on Nov 3, 2026

    Implement retries in the Jetty transporter (apache#2242)

    This issue will close once commit 8613a19 is merged into the 'master' branch.
    8613a19
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

    enhancementNew feature or request

    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.