dxq6888 commented on issue #12479: URL: https://github.com/apache/apisix/issues/12479#issuecomment-3143894901
> 1. Clone https://github.com/apache/apisix-docker > 2. Paste your config.yaml content into `example/apisix_conf/config.yaml` > 3. Start up with docker compose > 4. I only saw the error log of the failed connection to the apiserver, but not your error. > > ``` > 2025/08/01 07:39:11 [error] 65#65: *2084 [lua] informer_factory.lua:281: connect apiserver failed, apiserver.host: abc.123.ap-northeast-1.eks.amazonaws.com, apiserver.port: 443, message : handshake failed, context: ngx.timer > ``` At present, the testing is related to the host. I wrote EKS and TKE apiserver domain names, but the following error occurred. When I wrote the IP, there was no problem. I think this is a bug? ``` /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init failed to read local yaml config of apisix: invalid discovery kubernetes configuration: object matches none of the required ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
