erickok / transdroid

Manage your torrents from your Android device
GNU General Public License v3.0
1.28k stars 201 forks source link

Latest Deluge 2.x doesn't work with Deluge 2 RPC #576

Closed frosty5689 closed 3 years ago

frosty5689 commented 3 years ago

Looks like Deluge 2.x changed their RPC protocol again? Can't connect with Transdroid no matter what I tweak. I made sure the port is set to the right one and the password works fine with the desktop thin client.

bwitt commented 3 years ago

What version of Deluge 2? I'm using Transdroid 2.5.18 with Deluge 2.0.3 RPC (which is the latest I think?) and it's working fine.

frosty5689 commented 3 years ago

I'm using Deluge 2.0.4 dev38. That's really odd. I wonder if there is a way to see the error message from the connection request...

On Fri., Nov. 20, 2020, 08:01 Brian Witt, notifications@github.com wrote:

What version of Deluge 2? I'm using Transdroid 2.5.18 with Deluge 2.0.3 RPC (which is the latest I think?) and it's working fine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erickok/transdroid/issues/576#issuecomment-731253989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7UPS75ZAEBWSPY2KXILTDSQ2HELANCNFSM4T4LGC6A .

erickok commented 3 years ago

Yes, via the Help menu -> Send error report

frosty5689 commented 3 years ago

This is the error message from the logs that seems relevant

24467 -- Fri Nov 20 10:40:05 PST 2020 -- 3 -- ConnectionError exception: Deluge RPC Adapter must have SSL enabled 24468 -- Fri Nov 20 10:40:06 PST 2020 -- 3 -- ConnectionError exception: Deluge RPC Adapter must have SSL enabled 24469 -- Fri Nov 20 10:40:07 PST 2020 -- 3 -- ConnectionError exception: Deluge RPC Adapter must have SSL enabled 24470 -- Fri Nov 20 10:41:41 PST 2020 -- 3 -- ConnectionError exception: Deluge RPC Adapter must have SSL enabled

I tried enabling SSL but same error, after ticking allow all certs it works now. Wondering if this is Transdroid requiring SSL or Deluge? Since I'm connecting via IP its not a valid cert by any means. I could connect through the reverse proxy, but seems odd SSL is a must with Deluge 2 RPC.

On Fri., Nov. 20, 2020, 10:38 Eric Kok, notifications@github.com wrote:

Yes, via the Help menu -> Send error report

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erickok/transdroid/issues/576#issuecomment-731341846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7UPSYCFSCXW4KYSPLJR6DSQ2ZSPANCNFSM4T4LGC6A .

erickok commented 3 years ago

This is a Deluge RPC protocol requirement, as far as I remember. It does not have to be a valid certificate if (such as for local networking) you do not care about that.

frosty5689 commented 3 years ago

I guess this goes back to something from two years ago. Setup isn't clear. https://github.com/erickok/transdroid/issues/440 maybe mention SSL is required when Deluge RPC is selected? If not enabling it by default...

On Fri., Nov. 20, 2020, 10:50 Eric Kok, notifications@github.com wrote:

This is a Deluge RPC protocol requirement, as far as I remember. It does not have to be a valid certificate if (such as for local networking) you do not care about that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erickok/transdroid/issues/576#issuecomment-731347544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7UPS4TN5ZB6RJ4BOCRRKTSQ23ARANCNFSM4T4LGC6A .