Random Active Port
Posted: Wed Dec 16, 2015 3:23 pm
I know this has been discussed to death here but even after reading all the threads that I thought were relevant, my problem persists.
Every time deluge starts up it chooses a random active port number. The active port works fine as long as I create a rule for it in UFW or disable UFW.
My network preferences are:
Incoming Ports >> Use Random Ports is unchecked. From 50000 to 50009
Outgoing Ports >> Use Random Ports is unchecked. From 50010 to 50019
With netstat I have made sure no other app or service is using these 20 ports.
This is what my log file looks like:
As far as I can tell, deluge has some problem binding to a port and then just asks the system to give it a random port. Why? How can I correct this?
I am on Ubuntu 14.04.3 LTS running deluge 1.3.6.
Please help.
Every time deluge starts up it chooses a random active port number. The active port works fine as long as I create a rule for it in UFW or disable UFW.
My network preferences are:
Incoming Ports >> Use Random Ports is unchecked. From 50000 to 50009
Outgoing Ports >> Use Random Ports is unchecked. From 50010 to 50019
With netstat I have made sure no other app or service is using these 20 ports.
This is what my log file looks like:
Code: Select all
[WARNING ] 14:57:49 gtkui:187 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[ERROR ] 14:57:50 config:371
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 369, in load
self.__config.update(pickle.loads(data))
EOFError
[WARNING ] 14:57:50 config:372 Unable to load config file: /home/sirhindi/.config/deluge/hostlist.conf.1.2
[ERROR ] 14:57:50 component:118 [Failure instance: Traceback: <type 'exceptions.RuntimeError'>: Invalid argument
/usr/lib/python2.7/dist-packages/deluge/ui/client.py:432:__init__
/usr/lib/python2.7/dist-packages/deluge/core/daemon.py:161:__init__
/usr/lib/python2.7/dist-packages/deluge/component.py:296:start
/usr/lib/python2.7/dist-packages/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:160:start
/usr/lib/python2.7/dist-packages/deluge/config.py:312:register_set_function
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:254:_on_set_listen_ports
]
[WARNING ] 14:57:50 pluginmanagerbase:134 Cannot enable already enabled plugin WebUi
[ERROR ] 14:57:50 component:118 [Failure instance: Traceback: <type 'exceptions.RuntimeError'>: Invalid argument
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:429:_continueFiring
/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py:348:_on_reactor_start
/usr/lib/python2.7/dist-packages/deluge/component.py:296:start
/usr/lib/python2.7/dist-packages/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:160:start
/usr/lib/python2.7/dist-packages/deluge/config.py:312:register_set_function
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:254:_on_set_listen_ports
]
I am on Ubuntu 14.04.3 LTS running deluge 1.3.6.
Please help.