-
-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Description
Affected Version
paru v2.1.0 - libalpm v16.0.1
Description
paru cannot access AUR through an HTTP proxy. Setting http_proxy and https_proxy works for curl and other tools, but paru fails.
Output
~> curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">[here](http://www.google.com/)</A>.
</BODY></HTML>
~> curl -v google.com
* Uses proxy env variable http_proxy == 'http://127.0.0.1:7897'
* Trying 127.0.0.1:7897...
* Established connection to 127.0.0.1 (127.0.0.1 port 7897) from 127.0.0.1 port 34282
* using HTTP/1.x
> GET http://google.com/ HTTP/1.1
> Host: google.com
> User-Agent: curl/8.17.0
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* Request completely sent off
< HTTP/1.1 301 Moved Permanently
< Content-Length: 219
< Cache-Control: public, max-age=2592000
< Connection: keep-alive
< Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-nVVlNegyDXfZNvNGFBWJlA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 18 Dec 2025 08:24:24 GMT
< Expires: Sat, 17 Jan 2026 08:24:24 GMT
< Keep-Alive: timeout=4
< Location: http://www.google.com/
< Proxy-Connection: keep-alive
< Server: gws
< X-Frame-Options: SAMEORIGIN
< X-Xss-Protection: 0
<
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">[here](http://www.google.com/)</A>.
</BODY></HTML>
* Connection #0 to host 127.0.0.1:7897 left intact
~> paru -Syu -a
:: Looking for devel upgrades...
error: error sending request for url (https://aur.archlinux.org/rpc): error trying to connect: unexpected EOF
~> paru -Syu --repo
:: Synchronizing package databases...
core is up to date
extra is up to date
archlinuxcn is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to doReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels