I just upgraded from 1.0.6 to 1.0.7 and after restarting deluged (1.0.7) my active port has changed to something random, even though my preferences still show the correct port. After restarting deluged (1.0.7) a second it's listening on the correct port. I'm pretty sure I've seen the same thing happen on past upgrades. I believe the correct behaviour would be to have deluged preserve (or observe?) the port preferences from older versions when running the first time in a new version.
db
port preferences ignored on upgrade until daemon restarted
Re: port preferences ignored on upgrade until daemon restarted
Just upgraded to 1.1.0-RC2 and again found the daemon listening on the wrong port, even though I have the correct port set in the preferences.
db
Re: port preferences ignored on upgrade until daemon restarted
Deluge will sometimes pick a random port if the selected port is not available. It could be that another program has binded the port for listening..
Re: port preferences ignored on upgrade until daemon restarted
While that's true, it seems an unlikely coincidence that this would occur on something like 3 out of my last 4 upgrades. I could be wrong.andar wrote:Deluge will sometimes pick a random port if the selected port is not available. It could be that another program has binded the port for listening..
After I upgrade I usually restart the daemon thus:
Code: Select all
killall deluged && deluged
Last edited by clarknova on Fri Jan 09, 2009 2:39 pm, edited 1 time in total.
db
Re: port preferences ignored on upgrade until daemon restarted
wouldn't it be a timeout on the open tcp connection on the system?
It seems to me that open connection cannot be released and reused immediately.
It seems to me that open connection cannot be released and reused immediately.
Re: port preferences ignored on upgrade until daemon restarted
Perhaps, but then why doesn't it have a problem regrabbing the port when I do the same thing without upgrading? Does the system recognize the process asking for the same port and permit it, but doesn't recognize the process after an upgrade, and refuses to release the port to it?yawie wrote:It seems to me that open connection cannot be released and reused immediately.
db
Re: port preferences ignored on upgrade until daemon restarted
My OS is XP, I have TCP-port forwarded for DHT but do we need to do the same for Daemon port as well? appreciate any advise on the matter, thanks.Re: port preferences ignored on upgrade until daemon restarted
Postby clarknova on Wed Jan 07, 2009 12:36 am
Just upgraded to 1.1.0-RC2 and again found the daemon listening on the wrong port, even though I have the correct port set in the preferences.
Re: port preferences ignored on upgrade until daemon restarted
you need to port forward the listening port (Preferences->Network->Active Port).laupan wrote:My OS is XP, I have TCP-port forwarded for DHT but do we need to do the same for Daemon port as well? appreciate any advise on the matter, thanks.Re: port preferences ignored on upgrade until daemon restarted
Postby clarknova on Wed Jan 07, 2009 12:36 am
Just upgraded to 1.1.0-RC2 and again found the daemon listening on the wrong port, even though I have the correct port set in the preferences.
DHT uses UDP not TCP.
you don't need to port forward the daemon port.
Re: port preferences ignored on upgrade until daemon restarted
I just upgraded to 1.1.0 on the ubuntu client and server and did not observe this behaviour, i.e., my port preference was observed.
db