aria2 webinterface not working

Hi the aria2 webui cannot connect to the aria2 server, I am constantly getting the error

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 have tried to change the ports in connection settings, adding the secret token, but no avail. I was not able to figure out where the configurations for the aria2 service are stored. Any hints on this?


Hi, thanks for the report.

Which device? I’ll try to replicate.

RPi3. But if you point me to the location of the service config I may fix it myself

Please see online doc to enter RPC password/key, this will resolve the issue:


systemctl status aria2.service -l

of course I have followed the docs and entered the security token. I am not having an authentication error (like on your screenshot) a but a connection error.

● aria2.service - DietPi Aria2
   Loaded: loaded (/etc/systemd/system/aria2.service; enabled)
   Active: active (running) since Sun 2017-04-16 14:11:25 CEST; 5s ago
 Main PID: 17105 (aria2c)
   CGroup: /system.slice/aria2.service
           └─17105 /usr/local/bin/aria2c --enable-rpc --rpc-listen-port=6800 --rpc-secret=****** --dir=/mnt/dietpi_userdata/downloads

Apr 16 14:11:25 DietPi systemd[1]: Started DietPi Aria2.
Apr 16 14:11:25 DietPi aria2c[17105]: 04/16 14:11:25 [NOTICE] IPv4 RPC: listening on TCP port 6800
Apr 16 14:11:25 DietPi aria2c[17105]: 04/16 14:11:25 [NOTICE] IPv6 RPC: listening on TCP port 6800

I suspect this may be a conflict with other DietPi software installed (nextcloud, transmission, rpimonitor)

Possibly, although looks like the binary is running fine.
Any chance you could send me a bug report? This will contain a list of installed software that we can try to replicate/debug.

Also, is there any manual software installs on system (eg: apt-get install xxxx)? And/or manual configuration changes outside DietPi scripts (eg: I added something to /etc/lighttpd.conf)

bug report uploaded under 9f61617d-0064-478a-a776-9f7769575e24-0

i don’t think i have installed anything manually besides midnight commander.