Yay have proxy error, only to get AUR pkg

I have strange trouble about yay & proxy.
Last maonth, my offce updated proxy, and after that I sometimes cannot connect outside.
I asked the specification of the proxy with the person in charge.
But they are not familar with linux and do not have any answer.

Issue is yay and proxy.

yay can pass through proxy using as follows.

yay -Syy

:: Synchronizing package databases...
--2024-05-15 16:23:05--  http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/core/x86_64/core.db
Connecting to 10.251.208.43:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 142284 (139K) [application/octet-stream]
Saving to: '/var/lib/pacman/sync/core.db.part'
yay -Ss mesa

 -> Error during AUR search: 1 error occurred:
        * request failed: Get "https://aur.archlinux.org/rpc?arg=mesa&by=name-desc&type=search&v=5": Proxy Authentication Required

 -> Showing repo packages only
multilib/lib32-mesa-vdpau 1:24.0.6-1 (3.8 MiB 14.2 MiB)
    Open-source VDPAU drivers - 32-bit
multilib/lib32-opencl-clover-mesa 1:24.0.6-1 (9.3 MiB 76.2 MiB)

But yay can not pass through proxy when I install AUR-pkg or ask AUR-pkg.

 yay -Ss mesa-git

 -> Error during AUR search: 1 error occurred:
        * request failed: Get "https://aur.archlinux.org/rpc?arg=mesa-git&by=name-desc&type=search&v=5": Proxy Authentication Required

Ii seems proxy-authentication has changed.

My pacman.conf as follows, related to downloder.

## wget
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

aria2c also can not pass through proxy after prxoxy has updated.

aria2c https://github.com/matterport/Mask_RCNN/releases/download/v2.1/mask_rcnn_balloon.h5

05/15 16:37:07 [NOTICE] Downloading 1 item(s)

05/15 16:37:07 [ERROR] CUID#7 - Download aborted. URI=https://github.com/matterport/Mask_RCNN/releases/download/v2.1/mask_rcnn_balloon.h5
Exception: [AbstractProxyResponseCommand.cc:75] errorCode=1 Proxy connection failed.

Then perhaps ask them about the info they have about whatever they are familiar with - some people here may be able to adapt it to your situation.

Thank you.

I asked them by email, but they do not give me any answer…
Just ignore.

So I’m in a lot of trouble. :cry:

You know it’s against the rules to open multiple threads about the same thing?

1 Like

You had to have the proxy defined somewhere - it’s not new, “they” just changed something.
authentication, it looks like

Try another option - curl for instance :man_shrugging:

This sounded different a few minutes ago - you said they could not help because they are not familiar …

It is also strange that you say it is only sometimes.

I am very sorry…

They just give me answer now.
They found my command & error.
They say “your ID is wrong, just modify uz to zu.”

I confirm my ID and they are right.
Now aria2c ant yay can pass through proxy.

I will delete this post in an hour.
Thank you for your help.

aria2c https://qiita.com/karaage0703/items/e79a8ad2f57abc6872aa

05/15 17:05:07 [NOTICE] Downloading 1 item(s)

05/15 17:05:07 [NOTICE] Download complete: /home/wan/tmp/zzz/e79a8ad2f57abc6872aa.2

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
242042|OK  |   376KiB/s|/home/wan/tmp/zzz/e79a8ad2f57abc6872aa.2

Status Legend:
(OK):download completed.
yay -Ss imagemagick-git

aur/imagemagick-git-doc 7.0.10.59.r18323.gf548a590c-1 (+8 0.00)
    An image viewing/manipulation program (manual and API docs)
aur/imagemagick-git 7.0.10.59.r18323.gf548a590c-1 (+8 0.00)
    An image viewing/manipulation program

It is also strange that you say it is only sometimes .

wget is using correct ID, but aria2c & yay is using wrong ID.
Then wget can pass proxy but ari2c & yay not.

Are you using this AUR of imagemagick on purpose? It hasn’t been updated since 2021-01. The one Manjaro currently comes with is at v7.1.1.32.

Thank you.
I do not use imagemagock-git.
I just use it as an example.

I like to delete my all post about yay & proxy.
How should I do ?

I am looking for some answer on forum & googling but can not find.

Why?

At best you can do that to your own posts - all the responses, partly citing your original, will stay.
… just like the quote here in this post …
The effect would be a totally incoherent thread without all context.

Don’t do that.

Thank you.
I leave all posts.

At best you can do that to your own posts - all the responses, partly citing your original, will stay.
… just like the quote here in this post …
The effect would be a totally incoherent thread without all context.