Opened 4 years ago

Closed 3 years ago

#3337 closed bug (Fixed)

listen ports syntax error

Reported by: spider Owned by:
Priority: minor Milestone: 2.0.4
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 (3)

comment:1 Changed 3 years 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 3 years ago by Darius

  • Cc darius@… added

comment:3 Changed 3 years ago by Cas

  • Milestone changed from needs verified to 2.0.4
  • Resolution set to Fixed
  • Status changed from new to closed

Seems like I made a typo for that settings, thanks for reporting, pushed a fix to develop: [092d07b68]

Note: See TracTickets for help on using tickets.