Transmission-XBMC icon indicating copy to clipboard operation
Transmission-XBMC copied to clipboard

Can not connect to remote transmission-daemon

Open RecNes opened this issue 9 years ago • 4 comments

I have a server which is running transmission daemon as a service and I'm using it over it's web ui nearly 6 months.

Recently I convert old my laptop to Media Center with Kodi and I added this addon from KODI's interface. I set up connection like this;

Host: 192.168.1.250 Port: 9091 User: (empty) Password: (empty)

User name and password was empty because I disabled RPC auth from transmission settings. I though this is may be problem. So I wrote a password and enabled auth. I have tried browser first and I can be able to login with user name and password. After that, I wrote same info into transmission add-on and save. So, when I try to start transmission add-on it throws this error since the beginning: Could not connect to transmission.

By the way I can reach transmission port from KODI machine as you can see below:

kodi@Studio-1535:~/.kodi/addons/script.transmission$ nc -w 1 -z -v 192.168.1.250 9091 Connection to 192.168.1.250 9091 port [tcp/*] succeeded! kodi@Studio-1535:~/.kodi/addons/script.transmission$

Also the transmission configuration is below (unnecessary information not included):

{ ... "bind-address-ipv4": "192.168.1.250", "bind-address-ipv6": "::", ... "rpc-authentication-required": true, "rpc-bind-address": "192.168.1.250", "rpc-enabled": true, "rpc-password": "{c1c5bf8b9dd95e641563efc7db8c24d49b5d0b4exGiBdnNW", "rpc-port": 9091, "rpc-url": "/transmissionweb/", "rpc-username": "admin", "rpc-whitelist": "127.0.0.1, 192.168.1.*", "rpc-whitelist-enabled": true, "scrape-paused-torrents-enabled": true, ... "utp-enabled": true, }

RecNes avatar Jul 25 '15 11:07 RecNes

I expect it's because the rpc-url setting is set to =/transmissionweb/= rather than the default, =/transmission/=. The addon does not yet support configuring the URL, and is expecting to reach it at the default url.

correl avatar Jul 31 '15 23:07 correl

I looked through the library I'm using.... you should be able to supply the address as a complete URL ("http://hostname:port/transmissionweb/"), and it ought to work.

correl avatar Jul 31 '15 23:07 correl

Umm! Of course. Now I remember I did change the url, once. Thank you for answer. I'm going to restore that url and try again tonight. I will update you.

RecNes avatar Aug 01 '15 06:08 RecNes

I restored URL and it's done. Thank you.

RecNes avatar Aug 06 '15 11:08 RecNes