Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udp2tcp cannot establish a new connection after the first request. #35

Open
kristoftorok opened this issue Feb 4, 2023 · 2 comments
Open

Comments

@kristoftorok
Copy link

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

@kristoftorok
Copy link
Author

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

@nooproblem
Copy link

nooproblem commented Aug 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants