GoogleContainerTools / GoogleContainerTools/jib

Jib client push to Harbor fails on 502 errors

Open
#4,266 0 comments 2 reactions 0 assignees View on GitHub
priority:p3 type: feature request
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**Description of the issue**:

Currently, when using the Jib client to push images to Harbor registry, we are encountering a 502 error results in a complete failure
due to loss of http connection, requiring the entire push process to be manually restarted from scratch. This can be extremely disruptive, especially with huge images.

**Expected behavior**:

Successful push/pull operations.

**Log output**

**Proposal**

To address this issue, we propose implementing a retry mechanism (like docker and nerdctl) for Jib client push failures. This mechanism would automatically attempt to retry the push operation a specified number of times upon encountering a 502 error, significantly improving the overall reliability and robustness of the image pushing process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.