Opened 13 months ago

Last modified 2 months ago

#3337 new bug

listen ports syntax error

Reported by: spider Owned by:
Priority: minor Milestone: needs verified
Component: Core Version: 2.0.3
Keywords: Cc: darius@…

Description

--- preferencesmanager.py
+++ preferencesmanager.py
@@ -231,7 +231,7 @@
         self.core.apply_session_settings(
             {
                 'listen_system_port_fallback': self.config['listen_use_sys_port'],
-                'listen_interfaces': ''.join(interfaces),
+                'listen_interfaces': ','.join(interfaces),
             }
         )


Change History (2)

comment:1 Changed 2 months ago by Darius

This isn't a minor issue on FreeBSD - without this change deluge doesn't listen on any ports for torrents(!) and you see messages like:

13:07:04.863 [DEBUG   ][deluge.core.alertmanager      :130 ] listen_failed_alert: listening on 0.0.0.0:0 (device: 0.0.0.0:68900.0.0.0:68910.0.0.0:68920.0.0.0:68930.0.0.0:68940.0.0.0:68950.0.0.0:68960.0.0.0:68970.0.0.0:68980.0.0.0:6899) failed: [parse_address] [TCP] invalid port

etc..

comment:2 Changed 2 months ago by Darius

  • Cc darius@… added
Note: See TracTickets for help on using tickets.