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

WSL 环境下 Ktconnect 连接以后,无法访问外网 #429

Open
albertclass opened this issue Apr 27, 2023 · 1 comment
Open

WSL 环境下 Ktconnect 连接以后,无法访问外网 #429

albertclass opened this issue Apr 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@albertclass
Copy link

Describe the bug
通过ktconnect连接到集群后,无法访问外部网络。
有以下日志输出
7:21PM WRN Failed to lookup default.exp-tas.com. (1) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:44912->127.0.0.1:20951: i/o timeout" [60/314]
7:21PM WRN Failed to lookup default.exp-tas.com. (1) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:33858->127.0.0.1:20951: i/o timeout"
7:21PM WRN Failed to lookup default.exp-tas.com. (28) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:33870->127.0.0.1:20951: i/o timeout"
7:21PM WRN Failed to lookup default.exp-tas.com. (1) in dns (172.18.0.1:53) error="read udp 172.18.9.36:57270->172.18.0.1:53: i/o timeout"
7:21PM WRN Failed to lookup default.exp-tas.com. (28) in dns (172.18.0.1:53) error="read udp 172.18.9.36:45300->172.18.0.1:53: i/o timeout"
7:21PM WRN Failed to lookup default.exp-tas.com. (1) in dns (172.18.0.1:53) error="read udp 172.18.9.36:37595->172.18.0.1:53: i/o timeout"
7:21PM WRN Failed to lookup default.exp-tas.com. (28) in dns (172.18.0.1:53) error="read udp 172.18.9.36:52881->172.18.0.1:53: i/o timeout"
7:21PM WRN Failed to lookup mobile.events.data.microsoft.com. (28) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:33886->127.0.0.1:20951: i/o timeout"
7:21PM WRN Failed to lookup mobile.events.data.microsoft.com. (1) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:33902->127.0.0.1:20951: i/o timeout"
7:21PM WRN Failed to lookup mobile.events.data.microsoft.com. (28) in dns (172.18.0.1:53) error="read udp 172.18.9.36:45545->172.18.0.1:53: i/o timeout"
7:21PM WRN Failed to lookup mobile.events.data.microsoft.com. (1) in dns (172.18.0.1:53) error="read udp 172.18.9.36:46577->172.18.0.1:53: i/o timeout"
7:22PM WRN Failed to lookup default.exp-tas.com. (1) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:49926->127.0.0.1:20951: i/o timeout"
7:22PM WRN Failed to lookup default.exp-tas.com. (28) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:49932->127.0.0.1:20951: i/o timeout"
7:22PM WRN Failed to lookup default.exp-tas.com. (1) in dns (172.18.0.1:53) error="read udp 172.18.9.36:47969->172.18.0.1:53: i/o timeout"
7:22PM WRN Failed to lookup default.exp-tas.com. (28) in dns (172.18.0.1:53) error="read udp 172.18.9.36:58784->172.18.0.1:53: i/o timeout"
7:22PM WRN Failed to lookup westus-0.in.applicationinsights.azure.com. (28) in dns (127.0.0.1:20951) error="read tcp 127.0.0.1:49942->127.0.0.1:20951: i/o timeout"

Environment (please complete the following information):

  • OS: Windows 11, WSL2, Debian 11
  • Kubernetes [e.g. 1.25.2]
  • KT Version [e.g. 0.3.7]
@albertclass albertclass added the enhancement New feature or request label Apr 27, 2023
@albertclass
Copy link
Author

已定位到该问题是由于在WSL环境下,文件句柄限制为了1000个,使用ulimit -f 增加句柄上限到32767后问题解决。

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

No branches or pull requests

2 participants