udp-over-tcp icon indicating copy to clipboard operation
udp-over-tcp copied to clipboard

udp2tcp cannot establish a new connection after the first request.

Open kristoftorok opened this issue 2 years ago • 2 comments

After the first UDP request, udp2tcp is still active and running in the background but not accepting any more requests.

kristoftorok avatar Feb 04 '23 22:02 kristoftorok

The first two are the request and the response which works. But then there is no answer.

Debug doesn't really show anything.

I'm not familiar with rust but from the code it looks like udp2tcp closes the listener after the first response.

Screenshot from 2023-02-05 00-15-15

kristoftorok avatar Feb 04 '23 23:02 kristoftorok

I am having a similar issue, tried with both nodelay enabled and disabled, same result, does anyone have any idea what might be causing it? Debug logs below, after which udp2tcp stops listening:

[2023-08-22T19:37:32Z DEBUG udp_over_tcp::tcp_options] SO_RCVBUF: 131072 [2023-08-22T19:37:32Z DEBUG udp_over_tcp::tcp_options] SO_SNDBUF: 16384 [2023-08-22T19:37:32Z DEBUG udp_over_tcp::tcp_options] SO_MARK: 0 [2023-08-22T19:37:32Z INFO udp_over_tcp::udp2tcp] Listening on 0.0.0.0:53/UDP [2023-08-22T19:37:37Z INFO udp_over_tcp::udp2tcp] Incoming connection from 127.0.0.1:49433/UDP [2023-08-22T19:37:37Z INFO udp_over_tcp::udp2tcp] Connecting to 100.93.47.50:6000/TCP [2023-08-22T19:37:37Z INFO udp_over_tcp::udp2tcp] Connected to 100.93.47.50:6000/TCP [2023-08-22T19:37:37Z DEBUG udp_over_tcp::tcp_options] TCP_NODELAY: false

nooproblem avatar Aug 22 '23 19:08 nooproblem