Skip to content

Conversation

@wagenet
Copy link

@wagenet wagenet commented Jan 13, 2026

Summary

  • Upgrades attohttpc from 0.28 to 0.29.1 to add proxy authentication support
  • Fixes "401 Unauthorized" errors when downloading Node.js through authenticated proxies
  • Pinned to exactly 0.29.1 due to compilation errors in 0.29.2+ with Rust 1.75

Background

Volta was unable to download Node.js in environments using authenticated HTTP proxies (e.g., Claude Code remote sessions, corporate networks). The underlying HTTP library (attohttpc 0.28) didn't extract credentials from proxy URLs (format: http://user:pass@proxy:port) or send the Proxy-Authorization header during CONNECT handshakes.

Version 0.29.1 adds this support via attohttpc PR #185.

Changes

  • crates/volta-core/Cargo.toml - Upgraded attohttpc to =0.29.1 with explanatory comments
  • crates/archive/Cargo.toml - Upgraded attohttpc to =0.29.1 with explanatory comments
  • Cargo.lock - Updated dependencies (includes transitive deps from rustls changes)

Test Plan

  • Build succeeds
  • All existing tests pass (62 unit tests)
  • Manual verification: Test Node.js download through authenticated proxy
  • Verify works with standard proxies (HTTP_PROXY environment variable)
  • Verify JWT token-based proxy authentication (as reported in Can't install Node from Claude Code Remote Session #2090)

Fixes #2090

🤖 Generated with Claude Code

Volta previously failed to download Node.js through authenticated proxies,
returning "401 Unauthorized" errors. The issue was that attohttpc 0.28
doesn't extract credentials from proxy URLs or send Proxy-Authorization
headers during CONNECT handshakes.

Version 0.29.1 adds proxy authentication support (attohttpc PR volta-cli#185),
properly handling credentials in proxy URLs like http://user:pass@proxy:port.

Pinned to exactly 0.29.1 because versions 0.29.2+ contain lifetime errors
that don't compile with Rust 1.75 (the project's toolchain version).

Fixes volta-cli#2090

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@wagenet
Copy link
Author

wagenet commented Jan 13, 2026

I just saw that Vite is not being maintained anymore so I don't have high expectations here. Also turns out that we probably won't need it for our own project much longer either.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't install Node from Claude Code Remote Session

1 participant