zlhgo opened a new issue #6184:
URL: https://github.com/apache/apisix/issues/6184


   ### Issue description
   
   Occasionally appear
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):  2.11.0
   - OS (cmd: `uname -a`): Linux stable-apisix-gateway-5956d8b7-gns25 
4.19.91-24.1.al7.x86_64 #1 SMP Wed Jul 21 17:40:23 CST 2021 x86_64 x86_64 
x86_64 GNU/Linux
   
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   nginx version: openresty/1.19.9.1
   built by gcc 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) 
   built with OpenSSL 1.1.1l  24 Aug 2021
   TLS SNI support enabled
   configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 
-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include 
-I/usr/local/openresty/openssl/include' --add-module=../ngx_devel_kit-0.3.1 
--add-module=../echo-nginx-module-0.62 --add-module=../xss-nginx-module-0.06 
--add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.32 
--add-module=../form-input-nginx-module-0.12 
--add-module=../encrypted-session-nginx-module-0.08 
--add-module=../srcache-nginx-module-0.32 --add-module=../ngx_lua-0.10.20 
--add-module=../ngx_lua_upstream-0.07 
--add-module=../headers-more-nginx-module-0.33 
--add-module=../array-var-nginx-module-0.05 
--add-module=../memc-nginx-module-0.19 --add-module=../redis2-nginx-module-0.15 
--add-module=../redis-nginx-module-0.3.7 
--add-module=../rds-json-nginx-module-0.15 
--add-module=../rds-csv-nginx-module-0.09 --add-module=../ngx_stream_lua-0.0.10 
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib 
-L/usr/local/openresty/pcre/
 lib -L/usr/local/openresty/openssl/lib 
-Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' 
--with-pcre --with-compat --with-file-aio --with-http_addition_module 
--with-http_auth_request_module --with-http_dav_module --with-http_flv_module 
--with-http_geoip_module=dynamic --with-http_gunzip_module 
--with-http_gzip_static_module --with-http_image_filter_module=dynamic 
--with-http_mp4_module --with-http_random_index_module 
--with-http_realip_module --with-http_secure_link_module 
--with-http_slice_module --with-http_ssl_module --with-http_stub_status_module 
--with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic 
--with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-pcre-jit 
--with-sha1-asm --with-stream --with-stream_ssl_module --with-threads 
--with-stream --with-stream_ssl_preread_module
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 3.5
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`): 3.7.0
   
   
   ### Steps to reproduce
   
   Can't be reproduced
   
   ### Actual result
   
   #
   
   ### Error log
   
   balancer.lua:187: attempt to index local 'up_conf' (a nil value)
   stack traceback:
           /usr/local/apisix/apisix/balancer.lua:187: in function 'pick_server'
           /usr/local/apisix/apisix/balancer.lua:325: in function 'run'
           /usr/local/apisix/apisix/init.lua:739: in function 
'http_balancer_phase'
           balancer_by_lua:2: in main chunk while connecting to upstream, 
client: 110.155.11.10, server: _, request: "POST /sa.php?project=****** 
HTTP/1.1", host: "******"
   
   ### Expected result
   
   _No response_


-- 
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]


Reply via email to