You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "9268 (via GitHub)" <gi...@apache.org> on 2025/12/31 07:00:36 UTC

[I] Discovery Args are droped when edit upstream [apisix-dashboard]

9268 opened a new issue, #3270:
URL: https://github.com/apache/apisix-dashboard/issues/3270

   ### Issue description
   
   when add or edit upstream,Discovery Args are droped without sending to server
   ![Image](https://github.com/user-attachments/assets/a92b7e97-091f-42de-83d5-08069bb05864)
   
   ### Expected behavior
   
   Discovery Args send and saved
   
   ### How to Reproduce
   
   1. add any upstream
   2. set Service Discovery info
   3. save
   ![Image](https://github.com/user-attachments/assets/a92b7e97-091f-42de-83d5-08069bb05864)
   
   ### Screenshots
   
   _No response_
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): 3.14.1
   - OS (cmd: `uname -a`): 3.10.0-693.21.1.std7a.el7.0.x86_64 #1 SMP Mon Apr 9 01:47:10 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 
   nginx version: openresty/1.27.1.2
   built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
   built with OpenSSL 3.5.4 30 Sep 2025
   TLS SNI support enabled
   configure arguments: --prefix=/home/work/app/apisix_preview/openresty/nginx --with-cc-opt='-O2 -DNGX_LUA_ABORT_AT_PANIC -I /home/work/app/apisix_preview/openresty/pcre/include -I /home/work/app/apisix_preview/openresty/openssl/include -I /home/work/app/apisix_preview/openresty/zlib/include' --add-module=../ngx_devel_kit-0.3.3 --add-module=../echo-nginx-module-0.63 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.33 --add-module=../ngx_lua-0.10.28 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.37 --add-module=../array-var-nginx-module-0.06 --add-module=../memc-nginx-module-0.20 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.9 --add-module=../ngx_stream_lua-0.0.16 --with-ld-opt='-Wl,-rpath,/home/work/app/apisix_preview/
 openresty/luajit/lib -L/home/work/app/apisix_preview/openresty/pcre/lib -L/home/work/app/apisix_preview/openresty/openssl/lib -L/home/work/app/apisix_preview/openresty/zlib/lib -Wl,-rpath,/home/work/app/apisix_preview/openresty/pcre/lib:/home/work/app/apisix_preview/openresty/openssl/lib:/home/work/app/apisix_preview/openresty/zlib/lib' --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-file-aio --with-poll_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_v2_module --with-http_v3_module --with-http_stub_status_module --with-http_realip_module --with-http_addition_module --with-http_auth_request_module --with-http_secure_link_module --with-http_random_index_module --with-http_gzip_static_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_slice_module --with-threads --with-compat --with-pcre-jit --with-http_ssl_module --wi
 th-cc='ccache gcc -fdiagnostics-color=always' --add-module=/tmp/src/build_space/tengine-3.1.0/modules/ngx_debug_conn --add-module=/tmp/src/build_space/tengine-3.1.0/modules/ngx_debug_timer --add-module=/tmp/src/build_space/tengine-3.1.0/modules/ngx_slab_stat --add-module=/tmp/src/ngx_multi_upstream_module-1.3.2 --add-module=/tmp/src/apisix-nginx-module-1.19.3 --add-module=/tmp/src/apisix-nginx-module-1.19.3/src/stream --add-module=/tmp/src/apisix-nginx-module-1.19.3/src/meta --add-module=/tmp/src/lua-var-nginx-module-v0.5.3 --add-module=/tmp/src/lua-resty-events-0.2.0 --with-stream
   - etcd version, if have (cmd: run `etcd --version`):3.4.14	
   - apisix-dashboard version, if have: 39be363cdbc5395d3163572c532be95f3dbad03a
   - Browser version, if have:  Microsoft Edge 版本 142.0.3595.94 (正式版本) (64 位)
   
   
   ### Additional context
   
   _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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Discovery Args are droped when edit upstream [apisix-dashboard]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #3270:
URL: https://github.com/apache/apisix-dashboard/issues/3270#issuecomment-3894575646

   Duplicate of #3269 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Discovery Args are droped when edit upstream [apisix-dashboard]

Posted by "DSingh0304 (via GitHub)" <gi...@apache.org>.
DSingh0304 commented on issue #3270:
URL: https://github.com/apache/apisix-dashboard/issues/3270#issuecomment-3705004379

   This has the same root cause as the empty plugin config issue. The `fast-clean` library removes empty objects (`{}`) by default, which drops `discovery_args` before sending to the server. Working on a fix.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Discovery Args are droped when edit upstream [apisix-dashboard]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #3270: Discovery Args are droped  when edit upstream
URL: https://github.com/apache/apisix-dashboard/issues/3270


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org