Couldn't bind port 51413 on 192.168.1.xxx: Cannot assign requested address (net.c:371)

Bug #1415502 reported by q_i
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
transmission (Ubuntu)
Expired
Low
Unassigned

Bug Description

When transmission-deamon is started automatically during system boot it doesn't download any files. In log-file i see this message: "Couldn't bind port 51413 on 192.168.1.xxx: Cannot assign requested address (net.c:371)". When i restart transmission-deamon with "sudo service transmission-daemon stop" and "sudo service transmission-daemon start" transmission-deamon works correctly and in log-file i see other message: "Bound socket 11 to port 51413 on 192.168.1.xxx (net.c:379)".
I changed in /etc/init/transmission-daemon.conf string "start on (filesystem and net-device-up IFACE=lo)" to "start on (filesystem and static-network-up)" and now transmission-daemon can download files even if it starts during system boot.

Revision history for this message
Bachsau (bachsau) wrote :

A bug from 2015 and still "new". Nice – Here's a fix:
Edit the systemd unit file with `sudo systemctl edit --full transmission-daemon.service` and replace the line

> After=network.target

with the lines

> After=network-online.target
> Wants=network-online.target

With this, systemd should wait for the network to become fully available before starting the daemon.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

  apport-collect 1415502

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in transmission (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

Ideally that would be reported upstream on https://github.com/transmission/transmission

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for transmission (Ubuntu) because there has been no activity for 60 days.]

Changed in transmission (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.