urlchecker-python icon indicating copy to clipboard operation
urlchecker-python copied to clipboard

Potential bug in version 0.0.35

Open jo-kno opened this issue 9 months ago • 0 comments

Dear Dev-Team,

I have a problem with version 0.0.35 and I can't find the cause, so maybe you can help me out? Since I installed v0.0.35 two URLs break every test (locally and in my CI/CD-pipeline) even though they are definitely reachable:

🤔 Uh oh... The following urls did not pass:
❌️ https://zenodo.org/badge/832612594.svg
❌️ https://earth-search.aws.element84.com/v1
make: *** [Makefile:64: urlcheck] Fehler 1

I call the check with:

urlchecker check . \
	--file-types .py,.rst,.md,.json \
	--timeout 25 \
	--retry-count 5 \
	--retry_sleep: 5 \
	--header "Accept: application/json,image/svg+xml" \
	--header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)"

As you can see, I already tried to raise the timeout/retries/retry_sleeptime and add some headers, but those two URLs don't pass. When I install v0.0.34 both URLs pass the check in no time, even without a single retry. This behavior is equivalent to the docker container's.

I work on Ubuntu 24.04 LTS, and installed urlchecker via the conda-channel. For my CI/CD pipeline I use a docker image (https://hub.docker.com/r/condaforge/miniforge3) with preinstalled mamba and a installation of urlchecker via conda-channel.

 $ uname -a
Linux <computer-name> 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Thanks for your time.

jo-kno avatar May 08 '25 11:05 jo-kno