socks5-server icon indicating copy to clipboard operation
socks5-server copied to clipboard

Socks server can become unresponsive after a while

Open C-Pro opened this issue 5 years ago • 0 comments

At least mine definitely was. Logs are full of this stuff when I try to connect:

2019/12/25 10:45:49 [ERR] socks: Failed to handle request: Connect to 2001:xxx:4e8:f004::b:443 failed: dial tcp [2001:xxx:4e8:f004::b]:443: connect: cannot assign requested address
2019/12/25 10:45:49 [ERR] socks: Failed to handle request: Connect to 2001:xxx:4e8:f004::b:443 failed: dial tcp [2001:xxx:4e8:f004::b]:443: connect: cannot assign requested address
2019/12/25 10:45:51 [ERR] socks: Failed to handle request: Connect to 2001:xxx:4e8:f004::b:443 failed: dial tcp [2001:xxx:4e8:f004::b]:443: connect: cannot assign requested address
2019/12/25 10:45:51 [ERR] socks: Failed to handle request: Connect to 2001:xxx:4e8:f004::b:443 failed: dial tcp [2001:xxx:4e8:f004::b]:443: connect: cannot assign requested address

Looks like if we reached the limit of open file descriptors or something. It can mean we do not cleanup them properly of fast enough.

C-Pro avatar Jan 27 '20 23:01 C-Pro