1.1.9 deamon+1.2.0rc1 client=no connect

Suggest, post, or discuss plugins for Deluge
Post Reply
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

I'm running 1.1.9 deluged on gentoo and 1.2.0rc1 on windows 7 as the client. I can connect to the server via deluge console ui (the deamon runs on a headless machine) perfectly fine but the client says the server is not active and the logs are empty.

Code: Select all

> uname -a
Linux purplePidgin 2.6.27-gentoo-r8 #1 SMP Fri Feb 20 15:03:08 EST 2009 i686 Intel(R) Celeron(R) CPU 450 @ 2.20GHz GenuineIntel GNU/Linux

-> emerge -av deluge
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-p2p/deluge-1.1.9  USE="-gtk -libnotify" 0 kB

downloading works when i add the torrents manually via the console ui.

1.1.9 client works on other machines to connect, but for whatever reason that version would not run on my win7 box correctly (i would jsut get the empty window that would never load)

any help would be appreciated

Code: Select all

> deluge -u console
>>> connect localhost
 * connected to http://localhost:58846
>>> config
 * add_paused: False
 * allow_remote: True
 * auto_managed: True
 * autoadd_enable: False
 * autoadd_location: /home/ner0tic
 * compact_allocation: False
 * config_location: /home/ner0tic/.config/deluge
 * copy_torrent_file: False
 * daemon_port: 58846
 * dht: True
 * dont_count_slow_torrents: False
 * download_location: /downloads/Unsorted/Partials
 * enabled_plugins: ['Label', 'flexRSS', 'Blocklist']
 * enc_in_policy: 1
 * enc_level: 2
 * enc_out_policy: 1
 * enc_prefer_rc4: True
 * ignore_limits_on_local_network: True
 * info_sent: 0.0
 * listen_ports: [6881, 6891]
 * lsd: True
 * max_active_downloading: 4
 * max_active_limit: 6
 * max_active_seeding: 1
 * max_connections_global: 200
 * max_connections_per_second: 20
 * max_connections_per_torrent: -1
 * max_download_speed: -1.0
 * max_download_speed_per_torrent: -1
 * max_half_open_connections: 50
 * max_upload_slots_global: 4
 * max_upload_slots_per_torrent: 2
 * max_upload_speed: 10.0
 * max_upload_speed_per_torrent: 10
 * move_completed: True
 * move_completed_path: /downloads/Unsorted/Completed
 * natpmp: True
 * new_release_check: True
 * outgoing_ports: [0, 0]
 * peer_tos: 0x00
 * plugins_location: /home/ner0tic/.config/deluge/plugins
 * prioritize_first_last_pieces: False
 * proxies: {'peer': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'web_seed': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'tracker': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'dht': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}}
 * queue_new_to_top: False
 * random_outgoing_ports: True
 * random_port: True
 * rate_limit_ip_overhead: True
 * remove_seed_at_ratio: False
 * seed_time_limit: 100
 * seed_time_ratio_limit: 0.1
 * send_info: True
 * share_ratio_limit: 2.0
 * state_location: /home/ner0tic/.config/deluge/state
 * stop_seed_at_ratio: False
 * stop_seed_ratio: 2.0
 * torrentfiles_location: /home/ner0tic
 * upnp: True
 * utpex: True

Code: Select all

-> cat /etc/conf.d/deluged
# /etc/conf.d/deluged
# Change this to the user you want to run deluged as.
# You may specify a group too, after a colon
DELUGED_USER="ner0tic"
#DELUGED_USER="ner0tic"
DELUGEUI_START="false"
DELUGEUI_OPTS="-u web"
if you need anything else let me know.

Thank you!
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

update:
forgot this part which I'm sure is relevant:
conencting from the server to the server in console ui mode via the system's ip rather than by localhost

Code: Select all

-> deluge -u console
>>> connect 192.168.1.100
 * connected to http://192.168.1.100:58846
>>> config
>>> config -s allow_remote true
 * 'The core proxy is invalid.'
>>> config -s allow_remote "true"
 * 'The core proxy is invalid.'
I'm sure I'm just missing something basic..
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by gazpachoking »

1.1 branch and 1.2 branch use a different api... As far as I am aware, you should not be able to connect a 1.2 client to a 1.1 daemon at all.
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

gazpachoking wrote:1.1 branch and 1.2 branch use a different api... As far as I am aware, you should not be able to connect a 1.2 client to a 1.1 daemon at all.
a) thank you for your reply, I had a feeling this would be the case.. i'm patiently waiting for the new vers to be in portage or the overlays
b) i just realized i posted this in the plugins section by mistake. sorry for that.
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

update:
I created an ebuild and emerged 1.2.0 rc1

i logged in via console ui
and wanted to set the configs and set the remote connections config

and i got this

Code: Select all

>>> config
'dict' object has no attribute 'start_defer'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/ui/console/main.py", line 277, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
    return self._get_config(*args, **options)
    component.get("CoreConfig").start_defer.addCallback(on_get_config)
  File "/usr/lib/python2.6/site-packages/deluge/ui/coreconfig.py", line 68, in __getattr__
    return getattr(self.config, attr)
AttributeError: 'dict' object has no attribute 'start_defer'
when i exited the deluge on the server i saw this:

Code: Select all

-> deluge -u console
/usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by andar »

ner0tic wrote:update:
I created an ebuild and emerged 1.2.0 rc1

i logged in via console ui
and wanted to set the configs and set the remote connections config

and i got this

Code: Select all

>>> config
'dict' object has no attribute 'start_defer'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/ui/console/main.py", line 277, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
    return self._get_config(*args, **options)
    component.get("CoreConfig").start_defer.addCallback(on_get_config)
  File "/usr/lib/python2.6/site-packages/deluge/ui/coreconfig.py", line 68, in __getattr__
    return getattr(self.config, attr)
AttributeError: 'dict' object has no attribute 'start_defer'
when i exited the deluge on the server i saw this:

Code: Select all

-> deluge -u console
/usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
What version of twisted do you have installed?
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

andar wrote:
ner0tic wrote:update:
I created an ebuild and emerged 1.2.0 rc1

i logged in via console ui
and wanted to set the configs and set the remote connections config

and i got this

Code: Select all

>>> config
'dict' object has no attribute 'start_defer'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/ui/console/main.py", line 277, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
    return self._get_config(*args, **options)
    component.get("CoreConfig").start_defer.addCallback(on_get_config)
  File "/usr/lib/python2.6/site-packages/deluge/ui/coreconfig.py", line 68, in __getattr__
    return getattr(self.config, attr)
AttributeError: 'dict' object has no attribute 'start_defer'
when i exited the deluge on the server i saw this:

Code: Select all

-> deluge -u console
/usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
What version of twisted do you have installed?

Code: Select all

-> twistd --version
twistd (the Twisted daemon) 8.2.0
Copyright (c) 2001-2008 Twisted Matrix Laboratories.
See LICENSE for details.


at the time of the initial post i was running 8.1.0 i upgraded to see if it was a version issue, but i get the same occurrence with 8.2.0 as well.
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

sorry to keep bumping a thread thats in the wrong forum, but i figured id stay within my thread.

upgraded to rc2
deluge server seems to work now, but i still can't connect via the client.
i went in via console ui and set allow_remote to true restarted and still no dice...
i no longer get the twisted errors...

if i conect to locahost im fine, but even when i try to connect to the server (from teh server) via its ip i get this:

Code: Select all

>>> connect 192.168.1.102:58846
Failed to connect to 192.168.1.102:58846 with reason: Username does not exist
my username is the same as the user setup for the server...
any ideas?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by andar »

ner0tic wrote:sorry to keep bumping a thread thats in the wrong forum, but i figured id stay within my thread.

upgraded to rc2
deluge server seems to work now, but i still can't connect via the client.
i went in via console ui and set allow_remote to true restarted and still no dice...
i no longer get the twisted errors...

if i conect to locahost im fine, but even when i try to connect to the server (from teh server) via its ip i get this:

Code: Select all

>>> connect 192.168.1.102:58846
Failed to connect to 192.168.1.102:58846 with reason: Username does not exist
my username is the same as the user setup for the server...
any ideas?
You'll need to add your username and password to the connect command.

Code: Select all

Usage: connect <host[:port]> <username> <password>
ner0tic
Member
Member
Posts: 15
Joined: Fri Oct 23, 2009 8:39 pm

Re: 1.1.9 deamon+1.2.0rc1 client=no connect

Post by ner0tic »

seems to be working fine now although i keep losing connection to the deamon after about 15 seconds of being connected... not a big deal but slightly annoying.. the downloads still run and i can add torrents...
Post Reply