<#21958 Infinite loop in url retry> Issue created ...
# github-notifications
c
#21958 Infinite loop in url retry Issue created by chris-smith-zocdoc Describe the bug I'm seeing bad urls (non-existant or return a bad status code) trigger an infinite loop, never times out or completes. Image
pants run :bad_file
Copy code
file(
    name="bad_file",
    source=http_source(
        url="<http://localhost:8080/foo.txt>",
        len=123,
        sha256="sha",
    )
)

run_shell_command(
    name="list_files",
    command="ls -lah {chroot}",
    execution_dependencies=[":bad_file"],
)
Pants version 2.24.1 OS Mac Additional info Possibly related to #21308 pantsbuild/pants