rutorrent - don't hardcode endpoint (uri) #752
Replies: 3 comments 5 replies
-
v3 will work differently and URLs wont be hardcoded, the url will be automatically put in but you will be able to completely change the url if you want/need to. If you look at https://apps.heimdall.site/applications.json the sabnzbd one is in the new format that app.json will use to facilitate this. https://drive.google.com/file/d/11TIVFsKf4MA7r_3zJDvkkyvQklHPHYYr/view will give you an idea of how that will work |
Beta Was this translation helpful? Give feedback.
-
This still seems to be an issue. I'm running RuTorrent on a Seedbox meaning my URL looks like this |
Beta Was this translation helpful? Give feedback.
-
In regards to the issue encountered by @Akashic101 and myself when using a seedbox, I have a workaround:
try {
$res = parent::execute(
- $this->url("RPC2"),
+ $this->config->url,
$this->attrs,
$this->vars
);
} catch (\GuzzleHttp\Exception\RequestException $e) {
return ""; // Connection failed, display default response
}
<div class="input">
<label>{{ __('app.apps.password') }}</label>
- {!! Form::text('config[private_apikey]', isset($item) ? $item->getconfig()->private_apikey : null, ['placeholder' => __('app.apps.apikey'), 'id' => 'private_apikey', 'class' => 'form-control config-item']) !!}
+ {!! Form::input('password', 'config[password]', '', ['placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item']) !!}
</div> That's it, just make sure your username/password are correct. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My RPC url doesn't finish by
https://domain.tld/RPC2
but byhttps://domain.tld/RPC
We need to fix this code.
file: ruTorrent.php
Beta Was this translation helpful? Give feedback.
All reactions