# Peertube Install fail - auth error

**URL:** https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304
**Category:** Support apps
**Tags:** peertube, english
**Created:** [April 3, 2025, 8:11pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304 "2025-04-03T20:11:10Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 3, 2025, 8:11pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/1 "2025-04-03T20:11:11Z")

</div>

**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](https://paste.yunohost.org/raw/idiyinenoz)

```auto
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.

```

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 3, 2025, 10:00pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/2 "2025-04-03T22:00:18Z")

</div>

Got a similar error when attempting to install piped:

[https://paste.yunohost.org/raw/zotiqoquda](https://paste.yunohost.org/raw/zotiqoquda)

```auto
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.

```

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 4, 2025, 10:25pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/3 "2025-04-04T22:25:58Z")

</div>

Still getting the same authentication error with github… 🤬

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [April 4, 2025, 10:38pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/4 "2025-04-04T22:38:23Z")

</div>

Can you ping [github.com](http://github.com) from your server?

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 5, 2025, 3:01am UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/5 "2025-04-05T03:01:06Z")

</div>

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 🍆 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.

 ![Capture](https://forum.yunohost.org/uploads/default/original/2X/3/31c59a055ddc6b7526b0c9b918e5c14eb012576d.jpeg)

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

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 5, 2025, 3:14am UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/6 "2025-04-05T03:14:57Z")

</div>

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_

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 5, 2025, 3:09pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/7 "2025-04-05T15:09:25Z")

</div>

![Capture](https://forum.yunohost.org/uploads/default/original/2X/9/98b62c22bb7de90463dd1772fdb56530c21fd5d6.jpeg)

DO support offered this link:

> **[How do I disable IPv6? | DigitalOcean Documentation](https://docs.digitalocean.com/support/how-do-i-disable-ipv6/)**
>
> You can disable IPv6 by modifying your Droplet's network interface configuration.

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

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 5, 2025, 3:33pm UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/8 "2025-04-05T15:33:23Z")

</div>

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:

```auto
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!

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [April 6, 2025, 1:38am UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/9 "2025-04-06T01:38:24Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![LCS](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lcs/32/11765_2.png) [@LCS](https://forum.yunohost.org/u/LCS)
#### Post date: [April 6, 2025, 6:41am UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/10 "2025-04-06T06:41:16Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [April 21, 2025, 6:41am UTC](https://forum.yunohost.org/t/peertube-install-fail-auth-error/36304/11 "2025-04-21T06:41:59Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
