zjc1750514326 opened a new issue, #11528: URL: https://github.com/apache/apisix/issues/11528
### Description I has do as https://apisix.apache.org/zh/docs/apisix/3.2/discovery/nacos/, ``` discovery: nacos: host: - "http://${username}:${password}@101.32.56.94:8848" fetch_interval: 30 # default 30 sec weight: 100 # default 100 timeout: connect: 2000 # default 2000 ms send: 2000 # default 2000 ms read: 5000 # default 5000 ms ``` and then restart apisix,config upstream and route. but i request is error: ``` <html> <head> <title>503 Service Temporarily Unavailable</title> </head> <body> <center> <h1>503 Service Temporarily Unavailable</h1> </center> <hr> <center>openresty</center> <p><em>Powered by <a href="https://apisix.apache.org/">APISIX</a>.</em></p> </body> </html> ``` i found when i request. /usr/local/apisix/error.log has some error msg: ``` 2024/08/26 19:44:13 [warn] 4175#4175: *3377 [lua] real-ip.lua:147: phase_func(): missing real address, client: 122.9.57.41, server: _, request: "GET /saas_plat/api/echo HTTP/1.1", host: 2024/08/26 19:44:13 [error] 4175#4175: *3377 [lua] init.lua:486: handle_upstream(): failed to set upstream: discovery nacos is uninitialized, client: 122.9.57.41, server: _, request: "GET /saas_plat/api/echo HTTP/1.1", host: ``` but i do not know how to solute this problem. Can you please help me. ### Environment - APISIX version (run `apisix version`): /usr/local/openresty//luajit/bin/luajit /usr/local/apisix/apisix/cli/apisix.lua version 3.2.0 - Operating system (run `uname -a`): Linux nxcloud-test 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.21.4.1 built by gcc 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) built with OpenSSL 1.1.1s 1 Nov 2022 TLS SNI support enabled - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- 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]
