Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings of aria2c RPC secret is missing #241

Open
Maxwellads opened this issue Feb 6, 2022 · 3 comments
Open

Settings of aria2c RPC secret is missing #241

Maxwellads opened this issue Feb 6, 2022 · 3 comments

Comments

@Maxwellads
Copy link

Maxwellads commented Feb 6, 2022

Steps to reproduce

  1. Enable aria2c daemon by using the following:
    aria2c --enable-rpc --rpc-allow-origin-all -c -D --log=/var/log/aria2c/aria2c.log --check-certificate=false --save-session=/var/local/aria2c/aria2c.sess --save-session-interval=2 --continue=true --input-file=/var/local/aria2c/aria2c.sess --rpc-save-upload-metadata=true --force-save=true --log-level=warn --rpc-secret=[Password]
  2. ocdownloader was able to contact with aria2c daemon, but was unable to pass auth due to RPC secret;
  3. Go to Settings > Additional Settings (Admin) , but there no RPC settings were shown.

Expected behaviour

Following the instructions of README.md, it is expected to modify the rpc secret to [Password] in Settings.

Actual behaviour

There isn't settings of rpc secret in Admin Settings, neither personal.

Server configuration

Operating system: Ubuntu 20.04

Web server: Apache

Database: MySQL

PHP version: Php-fpm 3.01

Nextcloud version: 22.2.3

Updated from an older Nextcloud/ownCloud or fresh install: Fresg install

Where did you install Nextcloud from: Snap Store

Signing status
@Chlorus
Copy link

Chlorus commented Mar 15, 2022

Having the same issue with Aria2c in a FreeBSD Jail, can't find the relevant UI settings anywhere

@Chlorus
Copy link

Chlorus commented Mar 15, 2022

Figured it out within seconds of posting this comment: At the Additional Settings section, toggle "Which downloader do you want to use?" from Aria2 to curl, then back to Aria2, and it will have a field for the Aria2 Secret Token, which is the RPC secret.

@Maxwellads
Copy link
Author

Figured it out within seconds of posting this comment: At the Additional Settings section, toggle "Which downloader do you want to use?" from Aria2 to curl, then back to Aria2, and it will have a field for the Aria2 Secret Token, which is the RPC secret.

I generally used it with no RPC secret, though it may seem not that safe :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants