jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

Too long retry after dial tcp: lookup artifactory.example.com: i/o timeout

Open dex4er opened this issue 11 months ago • 0 comments

Describe the bug

I run jf rt cp --url=${ARTIFACTORY_HOST} --user=${ARTIFACTORY_USERNAME} --access-token=${ARTIFACTORY_TOKEN} --fail-no-op --flat --spec=${SPEC}

From logs:

14:46:16 [Info] [Thread 2] Copying artifact: version.txt
15:00:50 [Warn] (Attempt 1) - Failure occurred while sending POST request to https://artifactory.example.com/api/copy/version.txt?to=version.txt: Post "https://artifactory.example.com/version.txt?to=version.txt": dial tcp: lookup artifactory.example.com: i/o timeout

Current behavior

I wait almost 15 minutes for retry

Reproduction steps

No response

Expected behavior

Reasonably low retry time, ie. the default 30s for dial timeout.

JFrog CLI version

2.74.0

Operating system type and version

Debian GNU/Linux 10 (buster)

JFrog Artifactory version

7.104.7 rev 80407900

JFrog Xray version

No response

dex4er avatar Mar 17 '25 15:03 dex4er