'fetch' fails with 'crates.io'

1 view
Skip to first unread message

je...@seibercom.net

unread,
Aug 3, 2026, 5:49:13 PM (6 days ago) Aug 3
to ques...@freebsd.org
Fetch continually fails when downloading a file from "crates.io." However, if I try the same address from a Windows 11 PRO machine without using fetch, it connects instantly and downloads the file without a problem.

I stopped the first attempt to download the file after about 5 minutes. Using poudriere, these attempts to download from "crates.io" continue indefinitely. I then manually invoked 'fetch'. The output shows fetch cannot get the IP address. I have no idea what is wrong or how to proceed.

root /usr/ports/www/deno # make fetch
===> NOTICE:

The deno port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===> License MIT accepted by the user
===> deno-2.9.1_2 depends on file: /usr/local/sbin/pkg - found
=> rust/crates/Inflector-0.11.4.crate doesn't seem to exist in /usr/ports/distfiles.
=> Attempting to fetch https://crates.io/api/v1/crates/Inflector/0.11.4/download?dummy=/rust/crates/Inflector-0.11.4.crate
^C^C*** Signal 2

root /usr/ports/www/deno # fetch -v https://crates.io/api/v1/crates/Inflector/0.11.4/download?dummy=/rust/crates/Inflector-0.11.4.crate
resolving server address: crates.io:443
SSL options: 82004850
Peer verification enabled
Using OpenSSL default CA cert file and path
Verify hostname
TLSv1.3 connection established using TLS_AES_128_GCM_SHA256
Certificate subject: /CN=crates.io
Certificate issuer: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4
requesting https://crates.io/api/v1/crates/Inflector/0.11.4/download?dummy=/rust/crates/Inflector-0.11.4.crate
302 redirect to https://static.crates.io/crates/Inflector/Inflector-0.11.4.crate
resolving server address: static.crates.io:443
SSL options: 82004850
Peer verification enabled
Using OpenSSL default CA cert file and path
Verify hostname
TLSv1.3 connection established using TLS_AES_128_GCM_SHA256
Certificate subject: /CN=static.crates.io
Certificate issuer: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign Atlas R3 DV TLS CA 2025 Q3
requesting https://static.crates.io/crates/Inflector/Inflector-0.11.4.crate
fetch: transfer timed out
fetch: Inflector-0.11.4.crate appears to be truncated: 0/17438 bytes

--
Jerry

Dag-Erling Smørgrav

unread,
Aug 4, 2026, 6:20:12 AM (5 days ago) Aug 4
to je...@seibercom.net, ques...@freebsd.org
je...@seibercom.net writes:
> Fetch continually fails when downloading a file from "crates.io."

Which FreeBSD version?

> The output shows fetch cannot get the IP address.

No, it does not.

> I have no idea what is wrong

Most likely a network issue.

> or how to proceed.

$ ktrace fetch -vv -o /dev/null https://crates.io/api/v1/crates/Inflector/0.11.4/download

then send me the output from fetch and from `kdump -Rtcnstuy`.

DES
--
Dag-Erling Smørgrav - d...@FreeBSD.org

Reply all
Reply to author
Forward
0 new messages