Peertube Install fail - auth error

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.12
What app is this about: peerTube

Describe your issue

auth error from the provisioner and install eventually times out

Share relevant logs or error messages

https://paste.yunohost.org/raw/idiyinenoz

2025-04-03 19:45:47,533: INFO - Installing peertube…
2025-04-03 19:45:47,541: INFO - Provisioning sources...
2025-04-03 19:45:47,544: DEBUG - Prefetching asset main: https://github.com/Chocobozzz/PeerTube/releases/download/v7.1.0/peertube-v7.1.0.tar.xz ...
2025-04-03 19:56:41,397: WARNING - Failed to provision sources : Failed to download asset 'main' (https://github.com/Chocobozzz/PeerTube/releases/download/v7.1.0/peertube-v7.1.0.tar.xz) for peertube: failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
Username/Password Authentication Failed.

Got a similar error when attempting to install piped:

https://paste.yunohost.org/raw/zotiqoquda

2025-04-03 21:12:52,735: INFO - Deprovisioning sources...
2025-04-03 21:12:52,739: ERROR - Provisioning, deprovisioning, or updating resources for piped failed: Failed to download asset 'jdk' (https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_linux_hotspot_21.0.6_7.tar.gz) for piped: failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
Username/Password Authentication Failed.

Still getting the same authentication error with github… :face_with_symbols_on_mouth:

Can you ping github.com from your server?

It does resolve (140.82.112.4) … on port 443 and reports 302 file found

(using wget from command line)

but b/c port 443… I guess, like what’s happening through the yunohost interface, it’s timing out and generating an auth error.

I don’t know :eggplant: about github since MS bought it - and this IPv6 stuff is all just babble to me, so no help there.

Never encountered an auth error on github before, ever. new and improved, they say.

Sorry for the image dump - I’m used MS Win10 powershell instead of a real terminal and it’s a piece of crap.

Thanks!

–mike

I opened a support ticket with DO (Ticket #10402365) since I was able to repro on their command line.

It’s either something in their DNS resolution, or there’s some new packaging requirements that yunohost isn’t satisfying as a vendor with github for this (and other) apps.

Anyway, I’ll post an update when I hear back - thanks!

edit: added do ticket num

DO support offered this link:

When I attempted to d/l from the cli forcing ipv4, the file transfer went through immediately.

tl;dr: avoid ipv6 on your gitbug download requests…

Hope this helps!

–mike

Following the link that DO sent, I disabled ipv6 in the node’s netplan and now I am forcing all traffic through ipv4, the peertube installation went without a problem.

Summarize:
Edit /etc/netplan/50-cloud-init.yaml
Look for:
network->ethernets->eth0->addresses
And in this block, comment-out the IPv6 address:

network:
    version: 2
    ethernets:
        eth0:
            accept-ra: false
            addresses:
#            - 2001:DB8:1:1::7/64
            - 203.0.113.7/24
            - 198.51.100.12/24

Re-attempt the installation and everything should go smoothly!

1 Like

I have also had the same issue on one of my servers. Strangely, this is the first time it happened for this server that is online since more than 6 months.
Anyway, I used another hack. Since yunohost update uses wget, I have created a “.bash_aliases” file in “/root” in which I have added alias wget="wget --inet4-only". This forced wget to use ipv4 and fixed the issue immediately.

Yeah - I couldn’t depend on wget being the only exposure to the problem so, for me, the solution is to fix at the system level and then just wait for the techno-wonks to work-out a long-term solution.

1 Like