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.52k stars 230 forks source link

Auto Mesh配置成功后,从本地回写的http报文都无法正常回写,kt-router报499错误 #348

Open gyy028lucky opened 2 years ago

gyy028lucky commented 2 years ago

Describe the bug A clear and concise description of what the bug is. 0.3.6版本 ktctl.exe mesh vr-cms-auth-server --expose 8080:80

Log please add -d to debug log router的日志如下: /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2022/08/09 05:59:46 [notice] 1#1: using the "epoll" event method 2022/08/09 05:59:46 [notice] 1#1: nginx/1.21.6 2022/08/09 05:59:46 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) 2022/08/09 05:59:46 [notice] 1#1: OS: Linux 5.18.9-1.el7.elrepo.x86_64 2022/08/09 05:59:46 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2022/08/09 05:59:46 [notice] 1#1: start worker processes 2022/08/09 05:59:46 [notice] 1#1: start worker process 21 2022/08/09 05:59:46 [notice] 1#1: start worker process 22 2022/08/09 05:59:46 [notice] 1#1: start worker process 23 2022/08/09 05:59:46 [notice] 1#1: start worker process 24 2022/08/09 05:59:46 [notice] 1#1: start worker process 25 2022/08/09 05:59:46 [notice] 1#1: start worker process 26 2022/08/09 05:59:46 [notice] 1#1: start worker process 27 2022/08/09 05:59:46 [notice] 1#1: start worker process 28 2022/08/09 05:59:52 [notice] 1#1: signal 1 (SIGHUP) received from 29, reconfiguring 2022/08/09 05:59:52 [notice] 1#1: reconfiguring 2022/08/09 05:59:52 [notice] 1#1: using the "epoll" event method 2022/08/09 05:59:52 [notice] 1#1: start worker processes 2022/08/09 05:59:52 [notice] 1#1: start worker process 39 2022/08/09 05:59:52 [notice] 1#1: start worker process 40 2022/08/09 05:59:52 [notice] 1#1: start worker process 41 2022/08/09 05:59:52 [notice] 1#1: start worker process 42 2022/08/09 05:59:52 [notice] 1#1: start worker process 43 2022/08/09 05:59:52 [notice] 1#1: start worker process 44 2022/08/09 05:59:52 [notice] 1#1: start worker process 45 2022/08/09 05:59:52 [notice] 1#1: start worker process 46 2022/08/09 05:59:52 [notice] 25#25: gracefully shutting down 2022/08/09 05:59:52 [notice] 24#24: gracefully shutting down 2022/08/09 05:59:52 [notice] 21#21: gracefully shutting down 2022/08/09 05:59:52 [notice] 28#28: gracefully shutting down 2022/08/09 05:59:52 [notice] 26#26: gracefully shutting down 2022/08/09 05:59:52 [notice] 24#24: exiting 2022/08/09 05:59:52 [notice] 28#28: exiting 2022/08/09 05:59:52 [notice] 21#21: exiting 2022/08/09 05:59:52 [notice] 25#25: exiting 2022/08/09 05:59:52 [notice] 26#26: exiting 2022/08/09 05:59:52 [notice] 28#28: exit 2022/08/09 05:59:52 [notice] 24#24: exit 2022/08/09 05:59:52 [notice] 21#21: exit 2022/08/09 05:59:52 [notice] 26#26: exit 2022/08/09 05:59:52 [notice] 25#25: exit 2022/08/09 05:59:52 [notice] 27#27: gracefully shutting down 2022/08/09 05:59:52 [notice] 23#23: gracefully shutting down 2022/08/09 05:59:52 [notice] 27#27: exiting 2022/08/09 05:59:52 [notice] 23#23: exiting 2022/08/09 05:59:52 [notice] 22#22: gracefully shutting down 2022/08/09 05:59:52 [notice] 22#22: exiting 2022/08/09 05:59:52 [notice] 22#22: exit 2022/08/09 05:59:52 [notice] 27#27: exit 2022/08/09 05:59:52 [notice] 23#23: exit 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 27 2022/08/09 05:59:52 [notice] 1#1: worker process 23 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: worker process 27 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: signal 29 (SIGIO) received 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 23 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 24 2022/08/09 05:59:52 [notice] 1#1: worker process 24 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: signal 29 (SIGIO) received 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 22 2022/08/09 05:59:52 [notice] 1#1: worker process 22 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: signal 29 (SIGIO) received 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 28 2022/08/09 05:59:52 [notice] 1#1: worker process 28 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: signal 29 (SIGIO) received 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 26 2022/08/09 05:59:52 [notice] 1#1: worker process 21 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: worker process 26 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: signal 29 (SIGIO) received 2022/08/09 05:59:52 [notice] 1#1: signal 17 (SIGCHLD) received from 25 2022/08/09 05:59:52 [notice] 1#1: worker process 25 exited with code 0 2022/08/09 05:59:52 [notice] 1#1: signal 29 (SIGIO) received 10.42.7.81 - - [09/Aug/2022:06:01:21 +0000] "POST /oauth/token HTTP/1.1" 499 0 "-" "-" "192.168.99.19, 10.42.3.0" Environment (please complete the following information):

gyy028lucky commented 2 years ago

"POST /oauth/token HTTP/1.1" 499 0 "-" "-" "172.21.42.41"