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

Fix the connection between server and tracker when using WSL2 #17349

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

gaoren002
Copy link

There is a bug when we use WSL2 or other virtual machine in NAT mode as host, the host can find the device easily, but when device respond to the host, it will lose the device ip address, in this case, host will just try to find a IP that is used for visiting from virtual machine(e,g, WSL2, 172.xxx.xxx.xxx) to physical host, this IP cannot be used to visit device, this will make the server in device print"no incoming connections ", because the host cannot find the device

To fix the bug, I just pass the real IP of device to host,which can solve this problem. But this fix need Internet to get device IP, I wonder if there is a better way.
image

@gaoren002
Copy link
Author

https://discuss.tvm.apache.org/t/lots-of-key-mismatches-when-autotuning-with-rpc/3180
This bug remains for a long time, can anyone help to fix it?
@tqchen

@tqchen
Copy link
Member

tqchen commented Oct 30, 2024

@Hzfengsy do u mind take a look?

@Hzfengsy
Copy link
Member

Thanks for pinging me. However, I'm not familiar with Windows and WSL. I'm afraid that I'm not able to review this one

@gaoren002
Copy link
Author

Thanks for pinging me. However, I'm not familiar with Windows and WSL. I'm afraid that I'm not able to review this one

actually Any VM could encouter this problem

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

Successfully merging this pull request may close these issues.

3 participants