You are not logged in.

#1 2023-11-20 16:46:16

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 74
Website

Cannot push to AUR, return 403

I found that one of my packages has a sha256sum wrong, so I decided to fix it:

git clone https://aur.archlinux.org/lovelive-music-player-appimage.git
(changed sha256sums)
git add PKGBUILD .SRCINFO
git commit -m "changed sha256sums"
git push

On the last step it returns:

fatal: unable to access 'https://aur.archlinux.org/lovelive-music-player-appimage.git/': The requested URL returned error: 403

https://bbs.archlinux.org/viewtopic.php?id=157989 This post has no use for me, I do not know why it is solved

ping says:

$ ping -c5 aur.archlinux.org
PING aur.archlinux.org(aur.archlinux.org (2a01:4f9:c010:50::1)) 56 data bytes

--- aur.archlinux.org ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4063ms

[ble: exit 1][ble: elapsed 14.402s (CPU 0.0%)] ping -c5 aur.archlinux.org

Also I found on AUR the ssh Git Clone URL has gone

Last edited by Firestar (2023-11-20 16:47:37)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#2 2023-11-20 16:53:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,683
Website

Re: Cannot push to AUR, return 403

git clone https://aur.archlinux.org/lovelive-music-player-appimage.git

You cloned the read-only URL. Log into the AUR web interface and you'll see the writable URL. I assume you have already done this next step, as you have already pushed the package previously, but see https://wiki.archlinux.org/title/AUR_su … entication if you need to configure your SSH key pair. You can only push packages when you are either the maintainer or a co-maintainer of said package.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2023-11-21 03:20:06

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 74
Website

Re: Cannot push to AUR, return 403

I AM the maintainer (https://aur.archlinux.org/packages/love … r-appimage) and I have pushed one at 11-01, and I login to find the ssh url, but now it refuses me to push

git push
Connection closed by 2a01:4f9:c010:50::1 port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#4 2023-11-21 03:21:32

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 74
Website

Re: Cannot push to AUR, return 403

Now it refuses me to clone too.

$ git clone ssh://aur@aur.archlinux.org/lovelive-music-player-appimage.git
Cloning into 'lovelive-music-player-appimage'...
Connection closed by 2a01:4f9:c010:50::1 port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#5 2023-11-21 09:51:47

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,823

Re: Cannot push to AUR, return 403

That git clone url works for me (from netherlands).

I checked and the aur is hosted by Hetzner in germany .

Are you using a VPN ?

Last edited by Lone_Wolf (2023-11-21 09:52:26)


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


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2023-11-22 02:29:25

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 74
Website

Re: Cannot push to AUR, return 403

I am using a VPN, but now I managed to git clone and push through VPN

Does VPN have somthing to do to ssh links?


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#7 2023-11-22 12:32:45

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,823

Re: Cannot push to AUR, return 403

ssh and VPN both use tunneling techniques.

when using ssh over a VPN you're using a ssh-tunnel that runs part of its length within a vpn tunnel.

There are several single point of failures in this setup and it can easily go wrong.


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


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB