aria2 not working

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:

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?

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 as well as our online docs https://dietpi.com/docs/software/bittorrent/#aria2

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

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.

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.

offcourse i did.

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

Do you use any special characters in the password?

no. only numbers (6 nums)

Hi,

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

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

sorry for the delay in reply.

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

thanks for the help.