Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curlFull,curlHTTP3: unable to make HTTP3 requests, "installed libcurl version doesn't support this" #322711

Open
amyipdev opened this issue Jun 26, 2024 · 2 comments

Comments

@amyipdev
Copy link
Contributor

Describe the bug

HTTP3 support in curl appears to have regressed, and it is not possible to make HTTP3 requests on a standard curlFull or curlHTTP3 installation. It fails with:

curl -vk --http3 https://127.0.0.1:4433
curl: option --http3: the installed libcurl version doesn't support this
curl: try 'curl --help' for more information

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install curlFull or curlHTTP3
  2. Run curl --http3 https://some.http3.site/ (in my case, it was curl -vk --http3 https://localhost:4433/)
  3. Observe failure

Expected behavior

An HTTP3 request should be dispatched to the intended target.

Screenshots

All content that would be in screenshots was posted directly.

Additional context

I tried installing nghttp3 and ngtcp2 manually alongside curlFull and curlHTTP3, to no avail.

Notify maintainers

@lovek323

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.5, NixOS, 24.11 (Vicuna), 24.11pre641786.d603719ec6e2`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

@Guanran928
Copy link
Contributor

Guanran928 commented Jun 28, 2024

Seems to be working fine for me, on d603719 and nixpkgs-unstable:

flake on  staging [$!?⇕]
❯ nix build github:NixOS/nixpkgs/d603719ec6e294f034936c0d0dc06f689d91b6c3#curlHTTP3

flake on  staging [$!?⇕] took 27s
❯ result-bin/bin/curl --http3-only https://ny4.dev/
<!DOCTYPE html><html lang="en"><head>...

@amyipdev
Copy link
Contributor Author

If I use nix-shell it works today (didn't work before) but having it be installed through my nixos config (which is using home-manager) doesn't work... odd (and no, I don't have another explicit curl installation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants