# aria2 not working

**URL:** https://dietpi.com/forum/t/aria2-not-working/5558
**Category:** Troubleshooting
**Created:** [2 August 2021 09:14 UTC](https://dietpi.com/forum/t/aria2-not-working/5558 "2021-08-02T09:14:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![marik](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/e0b2c6/32.png) [@marik](https://dietpi.com/forum/u/marik)
#### Post date: [2 August 2021 09:14 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/1 "2021-08-02T09:14:18Z")

</div>

hi  
I installed aria2 and in the web interface after entering my global pwd in the rpc secret token (and leaving the rpc user & pwd empty) - i get:

Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings \> Connection Settings

I read an old post here about this, but its for stretch and we are on buster now.

I did tried the suggested steps:

```nohighlight
root@DietPi:~# cat /etc/systemd/system/aria2.service
[Unit]
Description=Aria2 (DietPi)

[Service]
User=aria2
UMask=002
ExecStart=/usr/bin/aria2c --conf-path=/mnt/dietpi_userdata/aria2/aria2.conf

[Install]
WantedBy=multi-user.target

root@DietPi:~# grep Global_Password /DietPi/dietpi.txt
grep: /DietPi/dietpi.txt: No such file or directory

```

from android app - also error.

what can I do now?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [2 August 2021 09:29 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/2 "2021-08-02T09:29:40Z")

</div>

Hi,

I recomment to revert all changes you have done and have a look to this forum post [https://dietpi.com/forum/t/aria2/4941/2](https://dietpi.com/forum/t/aria2/4941/2) as well as our online docs [https://dietpi.com/docs/software/bittorrent/#aria2](https://dietpi.com/docs/software/bittorrent/#aria2)

btw /DietPi/ did not exist anymore. All DietPi scripts have been moved to /boot/

---

<div class="post-metadata">

### Author: ![marik](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/e0b2c6/32.png) [@marik](https://dietpi.com/forum/u/marik)
#### Post date: [2 August 2021 10:04 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/3 "2021-08-02T10:04:38Z")

</div>

I havent made any changes.  
since i just installed dietpi and its the first try to run it.

the pwd in /mnt/dietpi\_userdata/aria2/aria2.conf is the same exact what im typing inside the web interface.

also after i refresh the page - the pwd is not stored there.

and grep Global\_Password /boot/dietpi.txt gives nothing in return.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [2 August 2021 10:15 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/4 "2021-08-02T10:15:31Z")

</div>

After first boot password has been removed from /boot/dietpi.txt and it doesn’t matter. You would need to use the password from aria2 configuration file. Did you pushed the save button on the bottom of the configuration page? I did a test an all working fine for me.

---

<div class="post-metadata">

### Author: ![marik](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/e0b2c6/32.png) [@marik](https://dietpi.com/forum/u/marik)
#### Post date: [2 August 2021 18:26 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/5 "2021-08-02T18:26:37Z")

</div>

offcourse i did.

and i checked the pwd in the file and it is the same what i type in the field.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [2 August 2021 18:30 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/6 "2021-08-02T18:30:40Z")

</div>

Do you use any special characters in the password?

---

<div class="post-metadata">

### Author: ![marik](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/e0b2c6/32.png) [@marik](https://dietpi.com/forum/u/marik)
#### Post date: [2 August 2021 19:07 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/7 "2021-08-02T19:07:30Z")

</div>

no. only numbers (6 nums)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [3 August 2021 09:34 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/8 "2021-08-03T09:34:37Z")

</div>

Hi,

maybe RPC server is not running. Let’s check it

```nohighlight
ss -tulpn | grep LISTEN
journalctl -u aria2.service

```

---

<div class="post-metadata">

### Author: ![marik](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/e0b2c6/32.png) [@marik](https://dietpi.com/forum/u/marik)
#### Post date: [6 August 2021 06:45 UTC](https://dietpi.com/forum/t/aria2-not-working/5558/9 "2021-08-06T06:45:54Z")

</div>

sorry for the delay in reply.

i just re-installed aria and its working great now.

thanks for the help.
