You are not logged in.

#1 2023-06-06 07:45:21

ArchArael
Member
Registered: 2005-06-14
Posts: 504

SOLVED: No route to host aur.archlinux.org when using aur and git

When I try to pull from an aur git repo, specifically yay, I get this error:

fatal: unable to connect to aur.archlinux.org:
aur.archlinux.org[0: 95.216.144.15]: errno=No route to host
aur.archlinux.org[1: 2a01:4f9:c010:50::1]: errno=Network is unreachable

I can reach aur.archlinux.org from my browser and ping also works:

❯ ping aur.archlinux.org
PING aur.archlinux.org (95.216.144.15) 56(84) bytes of data.
64 bytes from aur.archlinux.org (95.216.144.15): icmp_seq=1 ttl=53 time=262 ms
64 bytes from aur.archlinux.org (95.216.144.15): icmp_seq=2 ttl=53 time=382 ms
❯ ip route                    
default via 192.168.50.1 dev wlp5s0 proto dhcp src 192.168.50.204 metric 600 
192.168.50.0/24 dev wlp5s0 proto kernel scope link src 192.168.50.204 metric 600 
❯ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    600    0        0 wlp5s0
192.168.50.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp5s0
❯ drill aur.archlinux.org
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 4491
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; aur.archlinux.org.   IN      A

;; ANSWER SECTION:
aur.archlinux.org.      207     IN      A       95.216.144.15

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 17 msec
;; SERVER: 192.168.50.1
;; WHEN: Tue Jun  6 16:43:12 2023
;; MSG SIZE  rcvd: 51

Please let me know if there is any other info that I can provide.

I have no idea where to look further as I have exhausted all of my options at this point. I am asking to the forum because I was not able to find a solution online. hmm

Last edited by ArchArael (2023-06-10 01:13:42)

Offline

#2 2023-06-06 11:25:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,237

Re: SOLVED: No route to host aur.archlinux.org when using aur and git

It could be that your ip is blocked by the aur due to exceeding rate limits. If that is the case it should be allowed again after some time (like 24 hours) .

What are the exact commands you ran that gave the error ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2023-06-06 12:49:00

seth
Member
Registered: 2012-09-03
Posts: 60,792

Re: SOLVED: No route to host aur.archlinux.org when using aur and git

Probably not the IP but yay… happened before.

I am asking to the forum because I was not able to find a solution online.

Does https://wiki.archlinux.org/title/Arch_U … g_packages work?

Offline

#4 2023-06-10 01:03:23

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: SOLVED: No route to host aur.archlinux.org when using aur and git

So, I have noticed that this issue is not isolated to aur.

When trying to clone a repo from sourcehut:

❯ git clone https://git.sr.ht/~brocellous/wlrctl          
Cloning into 'wlrctl'...
fatal: unable to connect to git.sr.ht:
git.sr.ht[0: 173.195.146.142]: errno=Connection refused

I have no idea why is this happening. I even tried to rename my .ssh directory, thinking that it is maybe a key problem but that is not the case.

❯ git clone https://gitlab.com/interception/linux/tools.git interception-tools 
Cloning into 'interception-tools'...
fatal: read error: Connection reset by peer

Last edited by ArchArael (2023-06-10 01:05:33)

Offline

#5 2023-06-10 01:12:47

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: SOLVED: No route to host aur.archlinux.org when using aur and git

SOLVED: The issue was due to conflicting insteadOf configs.

Offline

Board footer

Powered by FluxBB