# Aria2

**URL:** https://dietpi.com/forum/t/aria2/4941
**Category:** Troubleshooting
**Created:** [6 February 2021 11:55 UTC](https://dietpi.com/forum/t/aria2/4941 "2021-02-06T11:55:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [6 February 2021 11:55 UTC](https://dietpi.com/forum/t/aria2/4941/1 "2021-02-06T11:55:30Z")

</div>

Hi there!

I’ve installed Aria2 in a RP4.

I’ve written the secret token but I get the error: Authentication failed while connecting to Aria2 RPC server.

What should I do to get it working?

Thx.

---

<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: [6 February 2021 14:17 UTC](https://dietpi.com/forum/t/aria2/4941/2 "2021-02-06T14:17:32Z")

</div>

Hi,

basically you would need to enter secret token as it is stored inside /mnt/dietpi\_userdata/aria2/aria2.conf

```nohighlight
cat /mnt/dietpi_userdata/aria2/aria2.conf | grep rpc-secret

```

---

<div class="post-metadata">

### Author: ![barukh](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/f19dbf/32.png) [@barukh](https://dietpi.com/forum/u/barukh)
#### Post date: [6 February 2021 15:10 UTC](https://dietpi.com/forum/t/aria2/4941/3 "2021-02-06T15:10:10Z")

</div>

It worked like a charm.

Thank you!

---

<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: [6 February 2021 15:30 UTC](https://dietpi.com/forum/t/aria2/4941/4 "2021-02-06T15:30:48Z")

</div>

can you check how it behave after you closed your browser? There are reports on Aria2 GitHib not being able to store the rpc-secret

---

<div class="post-metadata">

### Author: ![TahitianVibes](https://dietpi.com/forum/user_avatar/dietpi.com/tahitianvibes/32/3058_2.png) [@TahitianVibes](https://dietpi.com/forum/u/TahitianVibes)
#### Post date: [8 December 2022 14:25 UTC](https://dietpi.com/forum/t/aria2/4941/5 "2022-12-08T14:25:53Z")

</div>

hiii,

This is not my thread, but I noticed that after closing my browser and changing the values in `/mnt/dietpi_userdata/aria2/aria2.conf` the password is not supported …I have to log in with my password in `settings/connections settings/Enter the secret token (optional):` - I have just tested several times, always the same - nothing too serious, just to point out…  
Regards - 🤙

edit : the preferences in the language selection are also reset…
