Help and Support
Ask a question, report a problem, request a feature...
<<  Back To Forum

DHT:  error listening ... : Address not available

by NoCubit on 2015/10/02 12:22:35 PM    
Tried UPNP. It was producing events very simlar to below.
So I have made a static IP address and manually forwarded ports to the router.
However still no DHT working.
"DHT" tab changes between
Status: Started - unconfirmed incoming port
and
Status: Started - attempting to bind port

"Home" tab shows an ongoing cycle of
[7:41:29 PM]  DHT: stopped
[7:41:29 PM]  DHT: starting
[7:41:29 PM]  DHT: attempting to listen for UDP on 0.0.0.0:10815
[7:41:29 PM]  DHT: attempting to listen for UDP on :::10815
[7:41:30 PM]  DHT: UDP port bound OK.  Startup complete.
[7:41:33 PM]  error listening for incoming UDP connections: Address not available
[7:41:34 PM]  listening for incoming UDP connections on :::10815
[7:41:34 PM]  DHT: stopped

"DHT">"Event Log" shows ongoing cycle of
[8:03:21 PM]  stopped
[8:03:21 PM]  starting
[8:03:22 PM]  Attempting to listen for UDP on 0.0.0.0:10815
[8:03:22 PM]  Attempting to listen for UDP on :::10815
[8:03:22 PM]  Startup complete.
[8:03:23 PM]  IPv4 Node-gathering search started > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[8:03:23 PM]  IPv6 Node-gathering search started > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[8:03:25 PM]  Socket error: Base socket reset
[8:03:26 PM]  IPv4 Node-gathering search completed > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[8:03:26 PM]  IPv6 Node-gathering search completed > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[8:03:26 PM]  stopped
[8:03:26 PM]  starting


Have port 10815 forwarded on router.
Have checked that port 10815 is open.
Trackers and peers connecting, data transfering.
Approx 15 minutes of running Tixati has "Home" tab's "Incoming Connections":
Port 10815
Status Listening/OK
Received 1
Negotiating 0
Placed 1

Assistance will be received gratefully.
by Pete on 2015/10/03 11:11:01 AM    
Try setting separate incoming ports for peers and DHT along with adequate port forwarding. It shouldn't matter but solved my (different) problem. Wouldn't hurt to try.
by Pete on 2015/10/05 07:17:14 PM    
Separate incoming port for DHT is no longer available in 2.17 alpha2.
by Guest on 2015/10/06 12:34:48 PM    
OP here

Have tried your suggestion Pete. It has not got DHT working. Though it's now clear that the TCP/UDP port for peer connections is working. Thanks for trying.
Have also tried the Youtube "fix" of running the client as Admin. No luck there either.
I'm guessing that "Socket error: Address not available" is pointing at something. But Google search is strangely quiet on exactly what.
Suggestions and free advice requested.


Currrent DHT > Event log
[9:06:31 PM]  stopped
[9:06:31 PM]  starting
[9:06:32 PM]  Attempting to listen for UDP on 0.0.0.0:10816
[9:06:32 PM]  Attempting to listen for UDP on :::10816
[9:06:32 PM]  Startup complete.
[9:06:32 PM]  IPv4 Node-gathering search started > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:32 PM]  IPv6 Node-gathering search started > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:34 PM]  Requesting nodes from x.x.x.x:57658 ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:34 PM]  Requesting nodes from x.x.x.x:14663 ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:34 PM]  Requesting nodes from 2001:x:x:x:x:x:x:x:51415 ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:34 PM]  Requesting nodes from 2001:x:x:x:x:x:x:x:51413 ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:36 PM]  Socket error: Address not available
[9:06:36 PM]  IPv4 Node-gathering search completed > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:36 PM]  IPv6 Node-gathering search completed > ABC123AB ABC123AB ABC123AB ABC123AB ABC123AB
[9:06:36 PM]  stopped
[9:06:36 PM]  starting
by Guest on 2015/10/06 12:37:39 PM    
OP here again.

Forgot to mention that I have rolled back to version 2.12. However DHT problem persists. So it is not the latest version that is a problem.
by Guest on 2015/10/07 12:50:53 AM    
Try the alpha. there has been DHT work done i think.

http://testing.tixati.com
by Guest on 2015/10/07 03:02:08 AM    
try going into the settings > Network > Connections page

3/4 of the way down look for "Network mode" settings

set this to "IPv4 only"

and make sure the other settings on that page are default... the Local IPv4 address and Local IPv6 address need to be blank.

The error you've been having means what it says, the address it's trying to listen on (either 0.0.0.0:port or [::]:port) are not being allowed by the operating system, for some strange reason.  If you have some oddball AV or firewall maybe that could do it?
by Guest on 2015/10/07 03:11:06 AM    
you could also try, on the command line:
netstat -n -a

and maybe there is another program using your port?

You tried changing to a different port number?
by Guest on 2015/10/18 01:55:37 AM    
OP here.

DHT running well on latest version.

Thanks to everyone for their help and thanks to the Tixati coder for the latest version.




This web site is powered by Super Simple Server