alibaba/kt-connect

ERR Exit: pod kt-rectifier-xptse failed to start

Closed this issue · 2 comments

win10 下启动失败,没有日志可以看吗

E:\Software\kt-connect>ktctl connect --kubeconfig kubeconfig
5:41PM INF Using cluster context tp-user (esop-cluster)
5:41PM INF KtConnect 0.3.7 start at 33028 (windows amd64)
5:41PM INF Fetching cluster time ...
5:41PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM INF Fetching cluster time ...
5:42PM ERR Exit: pod kt-rectifier-xptse failed to start

自身电脑代理问题,已经可以正常下载镜像,但是启动还是失败

E:\Software\kt-connect>ktctl connect --kubeconfig config --debug
6:02PM DBG Background task log to C:\Users\youyu.tan\AppData\Local\Temp\kt-3848817156
6:02PM INF Using cluster context context-esop-cluster (esop-cluster)
6:02PM INF KtConnect 0.3.7 start at 20800 (windows amd64)
6:02PM DBG Rectify pod kt-rectifier-rjzcf created
6:02PM INF Fetching cluster time ...
6:02PM DBG Execute command [date +%s] in kt-rectifier-rjzcf:standalone
6:02PM DBG No time difference
6:02PM INF Using tun2socks mode
6:02PM DBG Find 1 kt pods
6:02PM DBG Private Key generated
6:02PM DBG Public key generated
6:02PM INF Successful create config map kt-connect-shadow-lhmth
6:02PM INF Deploying shadow pod kt-connect-shadow-lhmth in namespace default
6:02PM INF Waiting for pod kt-connect-shadow-lhmth ...
6:02PM INF Pod kt-connect-shadow-lhmth is ready
6:02PM DBG Using port 15922
6:02PM DBG Request port forward pod:22 -> local:15922 via https://192.168.57.31:26443
6:02PM INF Port forward local:15922 -> pod kt-connect-shadow-lhmth:22 established
6:02PM DBG Socks proxy interrupted error="listen tcp 127.0.0.1:2223: bind: An attempt was made to access a socket in a way forbidden by its access permissions."
6:02PM WRN Failed to setup socks proxy connection error="listen tcp 127.0.0.1:2223: bind: An attempt was made to access a socket in a way forbidden by its access permissions."
6:02PM ERR Exit: listen tcp 127.0.0.1:2223: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
6:02PM DBG Cleaning workspace
6:02PM INF Removed pid file C:\Users\youyu.tan/.kt/pid/connect-20800.pid
6:02PM DBG Received event "C:\\Users\\youyu.tan\\.kt\\pid\\connect-20800.pid": REMOVE
6:02PM INF Pid file was removed
6:02PM INF Removed key file C:\Users\youyu.tan/.kt/key/kt-connect-shadow-lhmth.key
6:02PM DBG Dropping hosts records ...
6:02PM DBG Task C:\Windows\system32\netsh.exe with args [netsh interface ipv4 show interfaces]
6:02PM DBG Task C:\Windows\system32\netsh.exe with args [netsh interface ipv4 show route store=persistent]
6:02PM INF Cleaning configmap kt-connect-shadow-lhmth
6:02PM INF Cleaning shadow pod kt-connect-shadow-lhmth

最后还是通过指定监听端口才可以正常启动服务,蛋碎一地

ktctl connect --kubeconfig config --debug --proxyPort 5645