alibaba / kt-connect

A toolkit for Integrating with your kubernetes dev environment more efficiently
https://alibaba.github.io/kt-connect/#/
GNU General Public License v3.0
1.51k stars 230 forks source link

connect 模式下出现代理失败,即连接k8s集群内部的服务,出现服务找不到 #396

Open sky2v opened 1 year ago

sky2v commented 1 year ago

Describe the bug connect 模式 1.出现代理失败,即连接k8s集群内部的服务,出现服务找不到 2.同k8s集群的rancher 管理网址无法打开

Log please add -d to debug log

Handling connection for 59819 Handling connection for 59819 time="2023-01-31T13:32:56+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:56+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:58+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:58+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:32:59+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:53115->ff02::1:3:5355: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:02+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:04+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:04+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:04+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." Handling connection for 59819 time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:56840->ff02::1:3:5355: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::ea29:2f4b:6dfe:289:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:60074->ff02::1:3:5355: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:64918->ff02::1:3:5355: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" time="2023-01-31T13:33:11+08:00" level=warning msg="[STACK] udp forwarder request fe80::92af:72ee:b7a9:5145:5353->ff02::fb:5353: network is unreachable" Handling connection for 59819 time="2023-01-31T13:33:14+08:00" level=warning msg="[TCP] dial 172.16.1.11:443: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:14+08:00" level=warning msg="[TCP] dial 172.16.1.11:443: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." Handling connection for 59819 Handling connection for 59819 time="2023-01-31T13:33:25+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:25+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.2.8:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] dial 10.42.4.44:9092: connect to 127.0.0.1:2223: dial tcp 127.0.0.1:2223: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] read tcp 10.42.4.44:9092: connection reset by peer" time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] read tcp 10.42.1.98:9092: connection reset by peer" time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] read tcp 10.42.3.231:9092: connection reset by peer" time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] read tcp 10.42.2.8:9092: connection reset by peer" time="2023-01-31T13:33:28+08:00" level=warning msg="[TCP] read tcp 10.42.0.222:9092: connection reset by peer"

Environment (please complete the following information):

Additional context Add any other context about the problem here.