[GitHub] [apisix] tzssangglass commented on issue #8093: help request: when i use wss to connect socket.io ,i get error
tzssangglass commented on issue #8093: URL: https://github.com/apache/apisix/issues/8093#issuecomment-1286540518 I investigated a bit and found some differences by grabbing the packets without looking deeper. I saw this: https://socket.io/docs/v4/#what-socketio-is-not -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] membphis commented on a diff in pull request #8130: perf: simple setup upstream
membphis commented on code in PR #8130: URL: https://github.com/apache/apisix/pull/8130#discussion_r1001431875 ## apisix/plugins/ai.lua: ## @@ -100,33 +108,120 @@ local function gen_get_cache_key_func(route_flags) end +local function ai_upstream() +core.log.info("enable sample upstream") +end + + +local pool_opt = { pool_size = 320 } +local function ai_balancer_run(route) +local server = route.value.upstream.nodes[1] +if enable_keepalive then +local ok, err = balancer.set_current_peer(server.host, server.port or 80, pool_opt) +if not ok then +core.log.error("failed to set server peer [", server.host, ":", + server.port, "] err: ", err) +return ok, err +end +balancer.enable_keepalive(60, 1000) +else +balancer.set_current_peer(server.host, server.port or 80) +end +end + local function routes_analyze(routes) -- TODO: need to add a option in config.yaml to enable this feature(default is true) -local route_flags = core.table.new(0, 2) +local route_flags = core.table.new(0, 5) +local route_up_flags = core.table.new(0, 8) for _, route in ipairs(routes) do -if route.methods then -route_flags["methods"] = true -end +if type(route) == "table" then Review Comment: we can change it to a better style, which is simpler: ```lua local route_flags = {} for _, route in ipairs(routes) do for key, value in pairs(route.value) do -- collect route flags if key == "host" or key = "hosts" then route_flags["host"] = true elseif key == "remote_addr" or key = "remote_addrs" then route_flags["remote_addr"] = true else route_flags[key] = true end -- ... ... end end ``` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on a diff in pull request #2641: fix:ant-table unable to request(#2613)
Baoyuantop commented on code in PR #2641: URL: https://github.com/apache/apisix-dashboard/pull/2641#discussion_r1001431476 ## web/cypress/e2e/rest/pluginTemplate-create-edit-delete-plugin-template.cy.js: ## @@ -48,7 +48,12 @@ context('Create Configure and Delete PluginTemplate', () => { cy.visit('/'); cy.contains('Route').click(); cy.get(selector.empty).should('be.visible'); -cy.contains('Advanced').should('be.visible').click(); +cy.contains('Advanced') + .should('be.visible') + .click() + .then(() => { +cy.contains('Advanced').trigger('mouseover'); Review Comment: Are these sections 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander commented on a diff in pull request #8130: perf: simple setup upstream
spacewander commented on code in PR #8130: URL: https://github.com/apache/apisix/pull/8130#discussion_r1001420302 ## apisix/plugins/ai.lua: ## @@ -100,33 +108,120 @@ local function gen_get_cache_key_func(route_flags) end +local function ai_upstream() +core.log.info("enable sample upstream") +end + + +local pool_opt = { pool_size = 320 } +local function ai_balancer_run(route) +local server = route.value.upstream.nodes[1] +if enable_keepalive then +local ok, err = balancer.set_current_peer(server.host, server.port or 80, pool_opt) +if not ok then +core.log.error("failed to set server peer [", server.host, ":", + server.port, "] err: ", err) +return ok, err +end +balancer.enable_keepalive(60, 1000) Review Comment: Why don't we use the keepalive configured in the yaml? ## apisix/plugins/ai.lua: ## @@ -138,6 +233,27 @@ local function routes_analyze(routes) router.router_http.match = orig_router_match end end + +if not route_flags["service"] +and not route_flags["service_id"] +and not route_flags["upstream_id"] +and not route_flags["enable_websocket"] +and not route_flags["plugins"] +and not route_up_flags["has_domain"] +and route_up_flags["pass_host"] +and route_up_flags["scheme"] +and not route_up_flags["checks"] +and not route_up_flags["retries"] +and not route_up_flags["timeout"] +and not route_up_flags["timeout"] +and not route_up_flags["keepalive"] then Review Comment: Is it possible to use allow list instead of a pile of deny list? ## apisix/plugins/ai.lua: ## @@ -100,33 +108,120 @@ local function gen_get_cache_key_func(route_flags) end +local function ai_upstream() +core.log.info("enable sample upstream") +end + + +local pool_opt = { pool_size = 320 } +local function ai_balancer_run(route) +local server = route.value.upstream.nodes[1] +if enable_keepalive then +local ok, err = balancer.set_current_peer(server.host, server.port or 80, pool_opt) +if not ok then +core.log.error("failed to set server peer [", server.host, ":", + server.port, "] err: ", err) +return ok, err +end +balancer.enable_keepalive(60, 1000) +else +balancer.set_current_peer(server.host, server.port or 80) +end Review Comment: We can move: ``` if enable_keepalive then ``` to here? Like: ``` if enable_keepalive then balancer.enable_keepalive(60, 1000) ``` ## apisix/plugins/ai.lua: ## @@ -138,6 +233,27 @@ local function routes_analyze(routes) router.router_http.match = orig_router_match end end + +if not route_flags["service"] +and not route_flags["service_id"] +and not route_flags["upstream_id"] +and not route_flags["enable_websocket"] +and not route_flags["plugins"] +and not route_up_flags["has_domain"] +and route_up_flags["pass_host"] +and route_up_flags["scheme"] +and not route_up_flags["checks"] +and not route_up_flags["retries"] +and not route_up_flags["timeout"] +and not route_up_flags["timeout"] Review Comment: Repeated condition? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] SkyeYoung commented on issue #2649: [Bug]: When creating a route, the search service input box cannot be customized.
SkyeYoung commented on issue #2649: URL: https://github.com/apache/apisix-dashboard/issues/2649#issuecomment-1286514350 @wangchuaichuai What are you saying? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Nobilta opened a new issue, #8142: if apisix can support etcd cluster or multy etcd address roundrobin?
Nobilta opened a new issue, #8142: URL: https://github.com/apache/apisix/issues/8142 ### Description In Apisix 2.9,i find some code about multy etcd address roundrobin in resty.etcd file,but it can't be used.When i update to 2.15,i can't find this module.I try to config multy etcd address,but apisix will always to watch first health etcd,though these ips belong to one cluster of etcd.I hope my etcd cluster can have balance work load,how i can write my apisix's config yaml ? or what should i do to reach this aim? ### Environment - APISIX version (run `apisix version`):2.9/2.15 -- 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-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on a diff in pull request #8130: perf: simple setup upstream
tzssangglass commented on code in PR #8130: URL: https://github.com/apache/apisix/pull/8130#discussion_r1001407694 ## apisix/plugins/ai.lua: ## @@ -100,33 +108,120 @@ local function gen_get_cache_key_func(route_flags) end +local function ai_upstream() +core.log.info("enable sample upstream") +end + + +local pool_opt = { pool_size = 320 } +local function ai_balancer_run(route) +local server = route.value.upstream.nodes[1] +if enable_keepalive then +local ok, err = balancer.set_current_peer(server.host, server.port or 80, pool_opt) +if not ok then +core.log.error("failed to set server peer [", server.host, ":", + server.port, "] err: ", err) +return ok, err +end +balancer.enable_keepalive(60, 1000) +else +balancer.set_current_peer(server.host, server.port or 80) +end +end + local function routes_analyze(routes) -- TODO: need to add a option in config.yaml to enable this feature(default is true) Review Comment: next PR fix it. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] membphis commented on a diff in pull request #8130: perf: simple setup upstream
membphis commented on code in PR #8130: URL: https://github.com/apache/apisix/pull/8130#discussion_r1001391139 ## apisix/plugins/ai.lua: ## @@ -100,33 +108,120 @@ local function gen_get_cache_key_func(route_flags) end +local function ai_upstream() +core.log.info("enable sample upstream") +end + + +local pool_opt = { pool_size = 320 } +local function ai_balancer_run(route) +local server = route.value.upstream.nodes[1] +if enable_keepalive then +local ok, err = balancer.set_current_peer(server.host, server.port or 80, pool_opt) +if not ok then +core.log.error("failed to set server peer [", server.host, ":", + server.port, "] err: ", err) +return ok, err +end +balancer.enable_keepalive(60, 1000) +else +balancer.set_current_peer(server.host, server.port or 80) +end +end + local function routes_analyze(routes) -- TODO: need to add a option in config.yaml to enable this feature(default is true) Review Comment: I think we can remove this line now -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] liu871009243 commented on issue #8134: help request: restart apisix, then route 404
liu871009243 commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1286505675 > it has been fixed by https://github.com/apache/apisix/pull/5558, and released in APISIX v2.12.0, pls upgrade your APISIX's version. we are using version 2.13.1,if downgrading APISIX to v2.12.0,I fear of creating new problems. Is there any other solution? before deploying the apisix cluster, we have deployed stand-alone apisix and etcd without basic auth in a virtual machine. it is running normally, even if restart apisix. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] lifeblood opened a new issue, #8141: help request: How to setup http_upgrade on apisix dashboard
lifeblood opened a new issue, #8141: URL: https://github.com/apache/apisix/issues/8141 ### Description if ($http_upgrade !~* ^WebSocket$) { return 404; } ### Environment - APISIX version (run `apisix version`): - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - 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: notifications-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander merged pull request #8115: docs: specify function return value
spacewander merged PR #8115: URL: https://github.com/apache/apisix/pull/8115 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix] branch master updated (36974604e -> ecdc20952)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git from 36974604e chore: don't implement "server_version" twice (#8131) add ecdc20952 docs: specify function return value (#8115) No new revisions were added by this update. Summary of changes: CODE_STYLE.md | 18 ++ 1 file changed, 18 insertions(+)
[GitHub] [apisix] lifeblood opened a new issue, #8140: 2022/10/21 13:43:28 [warn] 7883#7883: *11042335 [lua] real-ip.lua:147: phase_func(): missing real addressbug:
lifeblood opened a new issue, #8140: URL: https://github.com/apache/apisix/issues/8140 ### Current Behavior 2022/10/21 13:43:28 [warn] 7883#7883: *11042335 [lua] real-ip.lua:147: phase_func(): missing real address ### Expected Behavior 2022/10/21 13:43:28 [warn] 7883#7883: *11042335 [lua] real-ip.lua:147: phase_func(): missing real address ### Error Logs 2022/10/21 13:43:28 [warn] 7883#7883: *11042335 [lua] real-ip.lua:147: phase_func(): missing real address ### Steps to Reproduce 2022/10/21 13:43:28 [warn] 7883#7883: *11042335 [lua] real-ip.lua:147: phase_func(): missing real address ### Environment - APISIX version (run `apisix version`): 2.15 - Operating system (run `uname -a`):Linux 6.0.1-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Oct 10 10:32:48 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):built by gcc 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) built with OpenSSL 1.1.1n 15 Mar 2022 TLS SNI support enabled configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -DAPISIX_BASE_VER=1.21.4.1.2 -DNGX_HTTP_GRPC_CLI_ENGINE_PATH=/usr/local/openresty/libgrpc_engine.so -DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl111/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.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.32 --add-module=../ngx_lua-0.10.21 --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.9 --add-module=../ngx_stream_lua-0.0.11 --with-ld-opt='-Wl,-rpath,/usr/l ocal/openresty/luajit/lib -Wl,-rpath,/usr/local/openresty/wasmtime-c-api/lib -L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl111/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl111/lib' --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../mod_dubbo-1.0.2 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../ngx_multi_upstream_module-1.1.1 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../apisix-nginx-module-1.10.0 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../apisix-nginx-module-1.10.0/src/stream --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../apisix-nginx-module-1.10.0/src/meta --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../wasm-nginx-module-0.6.3 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../lua-var-nginx-module-v0.5.3 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../grpc-client-nginx-module-v0.2.2 --with-poll_module --with-pcre-jit -- with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_v2_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_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-threads --with-compat --with-stream --with-http_ssl_module - 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: notifications-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] ZonePG opened a new pull request, #8139: docs: protect-api.md typo, remove redundant braces.
ZonePG opened a new pull request, #8139: URL: https://github.com/apache/apisix/pull/8139 remove redundant braces. ### Description Fixes # (issue) ### Checklist - [x] I have explained the need for this PR and the problem it solves - [ ] I have explained the changes or the new features added to this PR - [ ] I have added tests corresponding to this change - [ ] I have updated the documentation to reflect this change - [ ] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix] branch master updated: chore: don't implement "server_version" twice (#8131)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git The following commit(s) were added to refs/heads/master by this push: new 36974604e chore: don't implement "server_version" twice (#8131) 36974604e is described below commit 36974604eef6645c8dd59e630a523a687819fdb5 Author: 罗泽轩 AuthorDate: Fri Oct 21 13:41:02 2022 +0800 chore: don't implement "server_version" twice (#8131) --- apisix/core/config_etcd.lua | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/apisix/core/config_etcd.lua b/apisix/core/config_etcd.lua index e432b05d9..80d6d23e2 100644 --- a/apisix/core/config_etcd.lua +++ b/apisix/core/config_etcd.lua @@ -716,32 +716,17 @@ function _M.fetch_created_obj(key) end -local function read_etcd_version(etcd_cli) -if not etcd_cli then -return nil, "not inited" -end - -local data, err = etcd_cli:version() -if not data then -return nil, err -end - -local body = data.body -if type(body) ~= "table" then -return nil, "failed to read response body when try to fetch etcd " -.. "version" -end - -return body -end - - function _M.server_version(self) if not self.running then return nil, "stopped" end -return read_etcd_version(self.etcd_cli) +local res, err = etcd_apisix.server_version() +if not res then +return nil, err +end + +return res.body end
[GitHub] [apisix] spacewander merged pull request #8131: chore: don't implement "server_version" twice
spacewander merged PR #8131: URL: https://github.com/apache/apisix/pull/8131 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] wangchuaichuai commented on issue #2649: [Bug]: When creating a route, the search service input box cannot be customized.
wangchuaichuai commented on issue #2649: URL: https://github.com/apache/apisix-dashboard/issues/2649#issuecomment-1286473994 1 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8132: help request: about add a route then all requst return 404 error
tzssangglass commented on issue #8132: URL: https://github.com/apache/apisix/issues/8132#issuecomment-1286457851 I observed that you added several routes with uri `/*`. You can adjust the logging level in apisix and restart again, and see if the route hit by the 404 request is the expected route. > when I add the rule , all request will return 404, Are you saying that the admin API will also 404? If possible, please provide minimal replication use cases. I need to know. 1. what was the route in etcd before the 404 2. what routing configuration was added and then APISIX suddenly returned all 404 3. what is the test request 4. the APISIX configuration file so I can reproduce it in my local. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-helm-chart] tao12345666333 opened a new pull request, #378: fix: extensions API Group RBAC
tao12345666333 opened a new pull request, #378: URL: https://github.com/apache/apisix-helm-chart/pull/378 Signed-off-by: Jintao Zhang -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-website] branch master updated: docs:Added cover image for Fault Injection Testing (#1368)
This is an automated email from the ASF dual-hosted git repository. yilinzeng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-website.git The following commit(s) were added to refs/heads/master by this push: new e49d34e001d docs:Added cover image for Fault Injection Testing (#1368) e49d34e001d is described below commit e49d34e001d65e17e5d64496b5f67b6c4f2041ff Author: Bhavya Tewari <55613637+bhavyat-...@users.noreply.github.com> AuthorDate: Fri Oct 21 10:03:38 2022 +0530 docs:Added cover image for Fault Injection Testing (#1368) --- blog/en/blog/2022/08/28/fault-injection-testing-with-api-gateway.md | 1 + 1 file changed, 1 insertion(+) diff --git a/blog/en/blog/2022/08/28/fault-injection-testing-with-api-gateway.md b/blog/en/blog/2022/08/28/fault-injection-testing-with-api-gateway.md index 0a6a6d402ca..8928b4b188b 100644 --- a/blog/en/blog/2022/08/28/fault-injection-testing-with-api-gateway.md +++ b/blog/en/blog/2022/08/28/fault-injection-testing-with-api-gateway.md @@ -13,6 +13,7 @@ keywords: - Microservices description: The blog post describes how Apache APISIX is useful for testing the robustness and resilience of microservices APIs. Throughout the post, we also get to know the types of possible failure injections with the Fault Injection Plugin. tags: [Case Studies] +image: https://static.apiseven.com/2022/10/20/6350b3f63a715.png --- > 💁 This blog post describes how an **API Gateway** like [Apache > APISIX](https://apisix.apache.org/) is useful for testing the robustness and > resilience of microservices APIs.
[GitHub] [apisix-website] yzeng25 merged pull request #1368: docs: Added cover image for Fault Injection Testing
yzeng25 merged PR #1368: URL: https://github.com/apache/apisix-website/pull/1368 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] wangfeng22 closed issue #8126: help request: I got a lot of SSL_do_handshake() failed errors
wangfeng22 closed issue #8126: help request: I got a lot of SSL_do_handshake() failed errors URL: https://github.com/apache/apisix/issues/8126 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] wangfeng22 commented on issue #8126: help request: I got a lot of SSL_do_handshake() failed errors
wangfeng22 commented on issue #8126: URL: https://github.com/apache/apisix/issues/8126#issuecomment-1286433003 > Ok, I get it. I will close this issue. Thank you very much. @tzssangglass @tokers -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] vavikast commented on issue #8132: help request: about add a route then all requst return 404 error
vavikast commented on issue #8132: URL: https://github.com/apache/apisix/issues/8132#issuecomment-1286431608 when I add the rule , all request will return 404, not only the proxy domain, it's mean the apisix can't handle any request just return 404. I can get response from the upstream direct connection。 I find apisix memory increase,so i suspect apisix endless loop。 what should i do next -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass closed issue #8138: apisix中lua resty etcd出现的问题
tzssangglass closed issue #8138: apisix中lua resty etcd出现的问题 URL: https://github.com/apache/apisix/issues/8138 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8138: apisix中lua resty etcd出现的问题
tzssangglass commented on issue #8138: URL: https://github.com/apache/apisix/issues/8138#issuecomment-1286430060 I know the problem, let's fix it in the original issue. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8134: help request: restart apisix, then route 404
tzssangglass commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1286425360 > I also encountered this problem, temporarily found that the load configration in init stage is {}. > apisix 2.13.0 openresty 1.19.1.1 etcd 3.5.x If you are using version 2.13, then it should be something else, please open a new issue and describe your problem in detail. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8134: help request: restart apisix, then route 404
tzssangglass commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1286424996 > For additional, we deployed an etcd cluster, and enable basic auth. > And we deployed two apisix: apisix1 and apisix2 with LB. > restart apisix1, apisix1 route 404, but apisix2 run normally. restart apisix2, then apisix2 route 404. > we open the route in dashboard, and save it, both apisix1 and apisix2 run normally. it has been fixed by #5558, and released in APISIX v2.12.0, pls upgrade your APISIX's 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8132: help request: about add a route then all requst return 404 error
tzssangglass commented on issue #8132: URL: https://github.com/apache/apisix/issues/8132#issuecomment-1286422141 From your logs and accordingly, the 404 is returned upstream, not from APISIX. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8111: When creating consumer or route using apisix admin-api, array property in plugin is changed to object property
tzssangglass commented on issue #8111: URL: https://github.com/apache/apisix/issues/8111#issuecomment-1286420758 @zhanhengLu which version of APISIX did you use? we have fix by #6383 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8126: help request: I got a lot of SSL_do_handshake() failed errors
tzssangglass commented on issue #8126: URL: https://github.com/apache/apisix/issues/8126#issuecomment-1286418483 > Some of `TLSv1 TLSv1.1 TLSv1.2` have Security vulnerabilities, so my upstream cancel some of them. try to add ```yaml nginx_config: http_server_location_configuration_snippet: | proxy_ssl_protocols TLSv1.2 TLSv1.3; ``` to `config.yaml`, `proxy_ssl_protocols` used to specified protocols for handshake with upstream, ref: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ssl_protocols -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tcgdy0201 commented on issue #8136: help request: If I use Keycloak as my identity server,what is the different between authz-keycloak and openid-connect?
tcgdy0201 commented on issue #8136: URL: https://github.com/apache/apisix/issues/8136#issuecomment-1286414946 > thanks a lot! -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] juzhiyuan commented on issue #7377: bug: requests with Istio mTLS enabled fail with connection termination
juzhiyuan commented on issue #7377: URL: https://github.com/apache/apisix/issues/7377#issuecomment-1286412622 Hi Team, @svilenvul @marziman To better resolve this issue, may I know if there have any updates on your side? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8137: help request: Is it supported quic/http2/websocket?
tzssangglass commented on issue #8137: URL: https://github.com/apache/apisix/issues/8137#issuecomment-1286406697 support http2 and websocket, don't support quic, read more: #6403 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] yuqiquan opened a new issue, #8138: apisix中lua resty etcd出现的问题
yuqiquan opened a new issue, #8138: URL: https://github.com/apache/apisix/issues/8138 ### Description 我写了个测试插件 testetcd.lua `local ngx = ngx local core = require("apisix.core") local schema = { type = "object", properties = { key = { type = "string" }, } } local plugin_name = "testetcd" local _M = { version = 0.1, priority = 70, name = plugin_name, schema = schema, } function _M.check_schema(conf, schema_type) return core.schema.check(schema, conf) end function _M.init() end function _M.destroy() end function _M.rewrite(conf, ctx) end function _M.access(conf, ctx) local key = conf["key"] local etcd_cli, prefix, err = core.etcd.new() if not etcd_cli then core.log.warn("create etcd_cli failed, error --- > " , err) return end -- in etcd v2, get could implicitly turn into readdir -- while in v3, we need to do it explicitly local res, err = etcd_cli:readdir(key) if not res then core.log.warn("read etcd value failed, key --- > " , key) return end core.log.warn(core.json.encode(res.body)) end function _M.body_filter(conf, ctx) end function _M.delayed_body_filter(conf, ctx) end return _M ` 然后在路由中配置该插件 作用就是访问该路由 ,会在日志中打印etcd中 key为 /testetcd 的value值, 先用命令行 etcdctl put /testetcd hahahah赋值 然后访问 打印出如下信息 使用etcdctl get /testetcd 可以获取到 ### Environment - APISIX version (run `apisix version`): - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - 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: notifications-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] moonming commented on a diff in pull request #1367: docs: GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比
moonming commented on code in PR #1367: URL: https://github.com/apache/apisix-website/pull/1367#discussion_r1001301556 ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -54,73 +60,65 @@ Tau T2A VM 有多种预定义的 VM 形状,每个 VM 最多 48 个 vCPU,每 ![Dpsv5 和 Epsv5 VM](https://static.apiseven.com/2022/blog/0812/3.png) -## 三大云厂商 ARM 服务器性能测试 +### Oracle Cloud Infrastructure Ampere A1 Compute + +2021 年 5 月底,甲骨文发布了首款以 Arm 为基础的运算产品:OCI Ampere A1 Compute。该产品将可以在 Oracle 云端基础设施 (Oracle Cloud Infrastructure, 以下简称 OCI) 上运行,主要机型是:VM.Standard.A1.Flex(以下简称 OCI A1),其CPU 核心和内存都可以灵活配置。 + +为了支持 OCI 中的新 Ampere A1 Compute 实例, Oracle 创建了一个 [Arm 开发人员生态系统](https://blogs.oracle.com/cloud-infrastructure/oracle-makes-building-applications-on-ampere-a1-compute-instances-easy),使开发人员能够在 OCI Arm 实例上无缝转换、构建和运行应用程序。此外,Oracle 已与 Ampere Computing、Arm、GitLab、Jenkins 等公司合作,以加速 Arm 开发者生态系统。Arm 处理器已从移动设备发展为云端服务器,为开发人员提供工具和平台,以过渡、构建和运行基于 Arm 的工作负载。 + -在本文中,我们将通过测试单核心性能来反映各服务器的整体性能。这里选取网络 IO 密集型的 API 网关 Apache APISIX,分别在 AWS c7g.large、GCP t2a-standard-2 和 Azure D2ps v5(属于 Dpsv5 系列,双核 CPU)三款机型上绑定单个 CPU 核心进行压力测试,并通过 QPS 和响应延迟两个指标来分析服务器的性能。 +## 四大云厂商 ARM 服务器性能测试 -[Apache APISIX](https://github.com/apache/apisix) 是一个云原生、高性能、可扩展的 API 网关。基于 NGNIX + LuaJIT 和 etcd,APISIX 与传统 API 网关相比,具有动态路由和插件热加载特性,特别适合云原生架构下的 API 管理。 +介绍完以上四大服务器,接下来我们将通过测试单核心性能来反映各服务器的整体性能。这里选取网络 IO 密集型的 API 网关 Apache APISIX,分别在 AWS c7g.large、GCP t2a-standard-2、Azure D2ps v5(属于 Dpsv5 系列,双核 CPU)和 OCI A1 四款机型上绑定单个 CPU 核心进行压力测试,并通过 QPS 和响应延迟两个指标来分析服务器的性能。 Review Comment: ```suggestion 下面我们将通过测试单核心性能来反映各云厂商 Arm 服务器的整体性能。这里选取网络 IO 密集型的 API 网关 Apache APISIX,分别在 AWS c7g.large、GCP t2a-standard-2、Azure D2ps v5(属于 Dpsv5 系列,双核 CPU)和 OCI A1 四款机型上绑定单个 CPU 核心进行压力测试,并通过 QPS 和响应延迟两个指标来分析服务器的性能。 ``` ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -14,37 +14,43 @@ keywords: - ARM - Azure - AWS +- Oracle - Google - Apache APISIX -description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +- description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 tags: [Ecosystem] --- -> 本文使用 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +> 本文使用 Apache APISIX 来比较 GCP、AWS、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 ## 背景 -ARM 架构属于 [RISC 设计家族](https://en.wikipedia.org/wiki/Reduced_instruction_set_computer)。RISC 微处理器架构设计使用一组高度优化的指令,使小型处理器能够有效地处理复杂的任务。 +ARM 架构属于 [RISC(Reduced instruction set computer)设计家族](https://en.wikipedia.org/wiki/Reduced_instruction_set_computer),RISC 微处理器架构设计通过使用一组高度优化的指令,使小型处理器能够有效地处理复杂的任务。ARM 架构被广泛地使用在许多嵌入式系统设计中,已成为全球最大的计算机生态系统和移动设备的基石,由于它功耗低、成本低、效能高以及许可灵活,许多专家视其为云计算的未来。因此,以 AWS(Amazon Web Services)、GCP(Google Cloud Platform)、Azure(Microsoft Azure)和 Oracle 为首的主流云厂商都陆续推出了 ARM 架构的服务器,本文将选取这几个厂商的服务器进行性能测试。首先让我们了解下这四大厂商及其产品。 -ARM 已成为全球最大的计算机生态系统和移动设备的基石,以其低功耗、灵活的许可和低成本等特点,被许多专家认为是云计算的未来。因此,以 AWS、Google Cloud Platform(GCP) 和 Azure 为首的主流云厂商都陆续推出了 ARM 架构的服务器。其中 AWS 更是早在 2018 年就推出了第一款基于 ARM 架构的服务器处理器 AWS Graviton。 +## 四大云厂商 ARM 服务器 Review Comment: ```suggestion ## 云厂商 ARM 服务器介绍 ``` ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -54,73 +60,65 @@ Tau T2A VM 有多种预定义的 VM 形状,每个 VM 最多 48 个 vCPU,每 ![Dpsv5 和 Epsv5 VM](https://static.apiseven.com/2022/blog/0812/3.png) -## 三大云厂商 ARM 服务器性能测试 +### Oracle Cloud Infrastructure Ampere A1 Compute + +2021 年 5 月底,甲骨文发布了首款以 Arm 为基础的运算产品:OCI Ampere A1 Compute。该产品将可以在 Oracle 云端基础设施 (Oracle Cloud Infrastructure, 以下简称 OCI) 上运行,主要机型是:VM.Standard.A1.Flex(以下简称 OCI A1),其CPU 核心和内存都可以灵活配置。 + +为了支持 OCI 中的新 Ampere A1 Compute 实例, Oracle 创建了一个 [Arm 开发人员生态系统](https://blogs.oracle.com/cloud-infrastructure/oracle-makes-building-applications-on-ampere-a1-compute-instances-easy),使开发人员能够在 OCI Arm 实例上无缝转换、构建和运行应用程序。此外,Oracle 已与 Ampere Computing、Arm、GitLab、Jenkins 等公司合作,以加速 Arm 开发者生态系统。Arm 处理器已从移动设备发展为云端服务器,为开发人员提供工具和平台,以过渡、构建和运行基于 Arm 的工作负载。 + -在本文中,我们将通过测试单核心性能来反映各服务器的整体性能。这里选取网络 IO 密集型的 API 网关 Apache APISIX,分别在 AWS c7g.large、GCP t2a-standard-2 和 Azure D2ps v5(属于 Dpsv5 系列,双核 CPU)三款机型上绑定单个 CPU 核心进行压力测试,并通过 QPS 和响应延迟两个指标来分析服务器的性能。 +## 四大云厂商 ARM 服务器性能测试 Review Comment: ```suggestion ## 云厂商 ARM 服务器性能测试 ``` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] liyebing opened a new issue, #8137: help request: Is it supported quic/http2?
liyebing opened a new issue, #8137: URL: https://github.com/apache/apisix/issues/8137 ### Description Is apisix supported quic/http2? ### Environment - APISIX version (run `apisix version`): - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - 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: notifications-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] veithly commented on a diff in pull request #2647: feat:Configure plug-ins to support this feature
veithly commented on code in PR #2647: URL: https://github.com/apache/apisix-dashboard/pull/2647#discussion_r1001295036 ## web/.eslintrc.js: ## @@ -15,13 +15,38 @@ * limitations under the License. */ module.exports = { - extends: [require.resolve('@umijs/fabric/dist/eslint')], + extends: [ +require.resolve('@umijs/fabric/dist/eslint'), +'plugin:import/errors', +'plugin:import/warnings', + ], + plugins: ['simple-import-sort'], globals: { ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true, page: true, REACT_APP_ENV: true, }, rules: { '@typescript-eslint/naming-convention': 'off', +'import/no-unresolved': [2, { ignore: ['^@/', '^umi/', '^@@/'] }], +'sort-imports': 'off', +'import/order': 'off', Review Comment: Avoid conflict and according to simple-import-sort. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] veithly commented on a diff in pull request #2647: feat:Configure plug-ins to support this feature
veithly commented on code in PR #2647: URL: https://github.com/apache/apisix-dashboard/pull/2647#discussion_r1001294722 ## web/package.json: ## @@ -68,6 +68,8 @@ "classnames": "^2.2.6", "dayjs": "1.8.28", "dotenv": "^16.0.1", +"eslint-plugin-import": "^2.26.0", +"eslint-plugin-simple-import-sort": "^8.0.0", Review Comment: Because I think it can auto fix import order problem.I try to use only eslint-plugin-import but no work. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on pull request #1367: docs: GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比
juzhiyuan commented on PR #1367: URL: https://github.com/apache/apisix-website/pull/1367#issuecomment-1286368053 Hi, please check the lint error https://github.com/apache/apisix-website/actions/runs/3294150868/jobs/5431380148 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on a diff in pull request #1367: docs: GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比
juzhiyuan commented on code in PR #1367: URL: https://github.com/apache/apisix-website/pull/1367#discussion_r1001281303 ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -14,37 +14,43 @@ keywords: - ARM - Azure - AWS +- Oracle - Google - Apache APISIX -description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +- description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 tags: [Ecosystem] --- -> 本文使用 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +> 本文使用 Apache APISIX 来比较 GCP、AWS、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 ## 背景 -ARM 架构属于 [RISC 设计家族](https://en.wikipedia.org/wiki/Reduced_instruction_set_computer)。RISC 微处理器架构设计使用一组高度优化的指令,使小型处理器能够有效地处理复杂的任务。 +ARM 架构属于 [RISC(Reduced instruction set computer)设计家族](https://en.wikipedia.org/wiki/Reduced_instruction_set_computer),RISC 微处理器架构设计通过使用一组高度优化的指令,使小型处理器能够有效地处理复杂的任务。ARM 架构被广泛地使用在许多嵌入式系统设计中,已成为全球最大的计算机生态系统和移动设备的基石,由于它功耗低、成本低、效能高以及许可灵活,许多专家视其为云计算的未来。因此,以 AWS(Amazon Web Services)、GCP(Google Cloud Platform)、Azure(Microsoft Azure)和 Oracle 为首的主流云厂商都陆续推出了 ARM 架构的服务器,本文将选取这几个厂商的服务器进行性能测试。首先让我们了解下这四大厂商及其产品。 -ARM 已成为全球最大的计算机生态系统和移动设备的基石,以其低功耗、灵活的许可和低成本等特点,被许多专家认为是云计算的未来。因此,以 AWS、Google Cloud Platform(GCP) 和 Azure 为首的主流云厂商都陆续推出了 ARM 架构的服务器。其中 AWS 更是早在 2018 年就推出了第一款基于 ARM 架构的服务器处理器 AWS Graviton。 +## 四大云厂商 ARM 服务器 ### AWS Graviton -AWS Graviton 是 AWS 于 2018 年发布的基于 ARM 架构的一系列服务器处理器,第一代 AWS Graviton 处理器采用定制芯片和 64 位 Neoverse 内核。 +自2018年起,经历四年的发展,AWS Graviton 已经发展到第三代,AWS 设计的 AWS Graviton 处理器为 Amazon EC2 中运行的云工作负载提供最佳性价比。这三代处理器的特征如下: -AWS Graviton2 于 2020 年发布,与第一代 AWS Graviton 处理器相比,AWS Graviton2 处理器在性能和功能方面实现了重大飞跃。性能提升 7 倍、计算核心数量达到 4 倍、缓存达到 2 倍、内存速度提升 5 倍等等。 +- AWS Graviton1 处理器采用定制芯片和 64 位 Neoverse 内核。 +- AWS Graviton2 处理器基于 Graviton2 的实例支持广泛的通用型、突发型、计算优化型、内存优化型、存储优化型和加速计算型工作负载,包括应用程序服务器、微服务、高性能计算 (HPC)、基于 CPU 的机器学习 (ML) 推理、视频编码、电子设计自动化、游戏、开源数据库和内å存中的缓存。同时为提供一站式服务体验,许多 AWS 服务也支持基于 Graviton2 的实例。 Review Comment: ```suggestion - AWS Graviton2 处理器基于 Graviton2 的实例支持广泛的通用型、突发型、计算优化型、内存优化型、存储优化型和加速计算型工作负载,包括应用程序服务器、微服务、高性能计算 (HPC)、基于 CPU 的机器学习 (ML) 推理、视频编码、电子设计自动化、游戏、开源数据库和内存中的缓存。同时为提供一站式服务体验,许多 AWS 服务也支持基于 Graviton2 的实例。 ``` ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -1,5 +1,5 @@ --- -title: "GCP、AWS 和 Azure ARM 架构服务器性能测试对比" +title: "GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比" Review Comment: How about using Oracle? ```suggestion title: "GCP、AWS、Azure 和 Oracle ARM 架构服务器性能测试对比" ``` ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -14,37 +14,43 @@ keywords: - ARM - Azure - AWS +- Oracle - Google - Apache APISIX -description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +- description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 Review Comment: ```suggestion - description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 、Azure 和 Oracle ARM 架构服务器在网络 IO 密集型场景下的性能。 ``` ## blog/zh/blog/2022/08/12/arm-performance-google-aws-azure-with-apisix.md: ## @@ -14,37 +14,43 @@ keywords: - ARM - Azure - AWS +- Oracle - Google - Apache APISIX -description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +- description: 本文使用 API 网关 Apache APISIX 来比较 GCP、AWS 、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 tags: [Ecosystem] --- -> 本文使用 Apache APISIX 来比较 GCP、AWS 和 Azure ARM 架构服务器在网络 IO 密集型场景下的性能。 +> 本文使用 Apache APISIX 来比较 GCP、AWS、Azure 和 OCI ARM 架构服务器在网络 IO 密集型场景下的性能。 ## 背景 -ARM 架构属于 [RISC 设计家族](https://en.wikipedia.org/wiki/Reduced_instruction_set_computer)。RISC 微处理器架构设计使用一组高度优化的指令,使小型处理器能够有效地处理复杂的任务。 +ARM 架构属于 [RISC(Reduced instruction set computer)设计家族](https://en.wikipedia.org/wiki/Reduced_instruction_set_computer),RISC 微处理器架构设计通过使用一组高度优化的指令,使小型处理器能够有效地处理复杂的任务。ARM 架构被广泛地使用在许多嵌入式系统设计中,已成为全球最大的计算机生态系统和移动设备的基石,由于它功耗低、成本低、效能高以及许可灵活,许多专家视其为云计算的未来。因此,以 AWS(Amazon Web Services)、GCP(Google Cloud Platform)、Azure(Microsoft Azure)和 Oracle 为首的主流云厂商都陆续推出了 ARM 架构的服务器,本文将选取这几个厂商的服务器进行性能测试。首先让我们了解下这四大厂商及其产品。 -ARM 已成为全球最大的计算机生态系统和移动设备的基石,以其低功耗、灵活的许可和低成本等特点,被许多专家认为是云计算的未来。因此,以 AWS、Google Cloud Platform(GCP) 和 Azure 为首的主流云厂商都陆续推出了 ARM 架构的服务器。其中 AWS 更是早在 2018 年就推出了第一款基于 ARM 架构的服务器处理器 AWS Graviton。 +## 四大云厂商 ARM 服务器 ### AWS Graviton -AWS Graviton 是 AWS 于 2018 年发布的基于 ARM 架构的一系列服务器处理器,第一代 AWS Graviton 处理器采用定制芯片和 64 位 Neoverse 内核。 +自2018年起,经历四年的发展,AWS Graviton 已经发展到第三代,AWS 设计的 AWS Graviton 处理器为 Amazon EC2 中运行的云工作负载提供最佳性价比。这三代处理器的特征如下: -AWS Graviton2 于 2020 年发布,与第一代 AWS Graviton 处理器相比,AWS Graviton2 处理器在性能和功能方面实现了重大飞跃。性能提升 7 倍、计算核心数量达到 4 倍、缓存达到 2 倍、内存速度提升 5 倍等等。 +- AWS Graviton1 处理器采用定制芯片和 64 位 Neoverse 内核。 +- AWS Graviton2 处理器基于 Graviton2 的实例支持广泛的通用型、突发型、计算优化型、内存优化型、存储优化型和加速计算型工作负载,包括应用程序服务器、微服务、高性能计算 (HPC)、基于 CPU 的机器学习 (ML) 推理、视频编码、电子设计自动化、游戏、开源数据库和内å存中的缓存。同时为提供一站式服务体验,许多 AWS
[GitHub] [apisix] wangfeng22 commented on issue #8126: help request: I got a lot of SSL_do_handshake() failed errors
wangfeng22 commented on issue #8126: URL: https://github.com/apache/apisix/issues/8126#issuecomment-1286366593 > > > Which TLS version are you trying to use? Also, please check apisix config.yaml to know the supported TLS versions. > > > > > > This is my openssl version. > > ``` > > openssl version > > OpenSSL 1.0.2k-fips 26 Jan 2017 > > ``` > > > > > > > > > > > > > > > > > > > > > > > > I use the config-default.yaml configuration. > > ``` > > ssl_protocols: TLSv1.2 TLSv1.3 > > ssl_ciphers: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384 > > ssl_session_tickets: false # disable ssl_session_tickets by default for 'ssl_session_tickets' would make Perfect Forward Secrecy useless. > > ``` > > Oops. I didn't notice it's a TLS handshaking error with upstream. The default SSL protocol APISIX uses to communicate with upstream is `TLSv1 TLSv1.1 TLSv1.2`. Please make sure if your upstream service doesn't support some of them. So should I change `ssl_protocols: TLSv1.2 TLSv1.3` to `ssl_protocols: TLSv1 TLSv1.1 TLSv1.2` ? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] liu871009243 commented on issue #8134: help request: restart apisix, then route 404
liu871009243 commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1286361573 our `disable_sync_configuration_during_start` option is false. For additional, we deployed an etcd cluster, and enable basic auth. And we deployed two apisix: apisix1 and apisix2 with LB. restart apisix1, apisix1 route 404, but apisix2 run normally. restart apisix2, then apisix2 route 404. we open the route in dashboard, and save it, both apisix1 and apisix2 run normally. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] guoqqqi opened a new issue, #2649: [Bug]: When creating a route, the search service input box cannot be customized.
guoqqqi opened a new issue, #2649: URL: https://github.com/apache/apisix-dashboard/issues/2649 ### Issue description When creating a route, the search service input box cannot be customized. ![image](https://user-images.githubusercontent.com/72343596/197092552-6210eaec-b403-4dbe-9955-af72f743d0c0.png) ### Expected behavior Supports entering the name of the service you want to select ### How to Reproduce 1. Visit create route page 2. Click the service input 3. Type any character 4. You can see the error ### Screenshots ![image](https://user-images.githubusercontent.com/72343596/197092824-5630892a-3571-43da-ada1-def9decf755c.png) ### Environment - apisix version (cmd: `apisix version`): - OS (cmd: `uname -a`): - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): - etcd version, if have (cmd: run `etcd --version`): - apisix-dashboard version, if have: - Browser version, if have: ### 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-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] ipanocloud commented on issue #2609: 无法使用高级匹配条件创建路由
ipanocloud commented on issue #2609: URL: https://github.com/apache/apisix-dashboard/issues/2609#issuecomment-1286353073 me too, dashboard version 2.13.0 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on pull request #2641: fix:ant-table unable to request(#2613)
Baoyuantop commented on PR #2641: URL: https://github.com/apache/apisix-dashboard/pull/2641#issuecomment-1286352781 Hi @Huanghaiting, the frontend E2E tests are not very stable, so if there is an error, but it is verified locally by you, please let us know to help you re-run it. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-helm-chart] maaiika opened a new issue, #377: helm中如何更新crd
maaiika opened a new issue, #377: URL: https://github.com/apache/apisix-helm-chart/issues/377 从0.11.0更新到0.11.1后crd资源未更新, 创建ApisixRoute时有如下报错。 ```code W1020 17:13:04.353671 1 reflector.go:424] pkg/mod/k8s.io/client-go@v0.25.1/tools/cache/reflector.go:169: failed to list *v2.ApisixConsumer: the server could not find the requested resource (get apisixconsumers.apisix.apache.org) E1020 17:13:04.353735 1 reflector.go:140] pkg/mod/k8s.io/client-go@v0.25.1/tools/cache/reflector.go:169: Failed to watch *v2.ApisixConsumer: failed to list *v2.ApisixConsumer: the server could not find the requested resource (get apisixconsumers.apisix.apache.org) ``` crd资源是不是需要手动更新 -- 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-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] lovepocky commented on pull request #8135: fix(plugin/oidc): return userinfo when use_jwks is true
lovepocky commented on PR #8135: URL: https://github.com/apache/apisix/pull/8135#issuecomment-1286350014 Thank you, i will try that later -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on a diff in pull request #2647: feat:Configure plug-ins to support this feature
Baoyuantop commented on code in PR #2647: URL: https://github.com/apache/apisix-dashboard/pull/2647#discussion_r1001272492 ## web/package.json: ## @@ -68,6 +68,8 @@ "classnames": "^2.2.6", "dayjs": "1.8.28", "dotenv": "^16.0.1", +"eslint-plugin-import": "^2.26.0", +"eslint-plugin-simple-import-sort": "^8.0.0", Review Comment: Are both of these required? I think `eslint-plugin-import` is enough ## web/.eslintrc.js: ## @@ -15,13 +15,38 @@ * limitations under the License. */ module.exports = { - extends: [require.resolve('@umijs/fabric/dist/eslint')], + extends: [ +require.resolve('@umijs/fabric/dist/eslint'), +'plugin:import/errors', +'plugin:import/warnings', + ], + plugins: ['simple-import-sort'], globals: { ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true, page: true, REACT_APP_ENV: true, }, rules: { '@typescript-eslint/naming-convention': 'off', +'import/no-unresolved': [2, { ignore: ['^@/', '^umi/', '^@@/'] }], +'sort-imports': 'off', +'import/order': 'off', Review Comment: Why turn it off? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] codecov-commenter commented on pull request #2647: feat:Configure plug-ins to support this feature
codecov-commenter commented on PR #2647: URL: https://github.com/apache/apisix-dashboard/pull/2647#issuecomment-1286345853 # [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2647?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report > Merging [#2647](https://codecov.io/gh/apache/apisix-dashboard/pull/2647?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (b05fc5c) into [master](https://codecov.io/gh/apache/apisix-dashboard/commit/7cbdc482f741276ddd80ecaec41ee78598d18b55?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (7cbdc48) will **decrease** coverage by `8.51%`. > The diff coverage is `100.00%`. ```diff @@Coverage Diff @@ ## master#2647 +/- ## == - Coverage 76.49% 67.98% -8.52% == Files 139 39 -100 Lines3748 1040-2708 Branches 872 268 -604 == - Hits 2867 707-2160 + Misses881 333 -548 ``` | Flag | Coverage Δ | | |---|---|---| | frontend-e2e-test | `67.98% <100.00%> (-8.52%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/apache/apisix-dashboard/pull/2647?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | | |---|---|---| | [web/src/components/Plugin/PluginDetail.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1BsdWdpbi9QbHVnaW5EZXRhaWwudHN4) | `64.48% <100.00%> (-10.93%)` | :arrow_down: | | [web/src/helpers.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9oZWxwZXJzLnRzeA==) | `19.67% <0.00%> (-60.66%)` | :arrow_down: | | [web/src/components/RightContent/AvatarDropdown.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1JpZ2h0Q29udGVudC9BdmF0YXJEcm9wZG93bi50c3g=) | `50.00% <0.00%> (-32.15%)` | :arrow_down: | | [web/src/components/PanelSection/index.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1BhbmVsU2VjdGlvbi9pbmRleC50c3g=) | `75.00% <0.00%> (-25.00%)` | :arrow_down: | | [...b/src/components/Plugin/UI/referer-restriction.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1BsdWdpbi9VSS9yZWZlcmVyLXJlc3RyaWN0aW9uLnRzeA==) | `69.69% <0.00%> (-21.22%)` | :arrow_down: | | [web/src/pages/Consumer/List.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9wYWdlcy9Db25zdW1lci9MaXN0LnRzeA==) | `73.17% <0.00%> (-19.52%)` | :arrow_down: | | [web/src/components/Plugin/PluginPage.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1BsdWdpbi9QbHVnaW5QYWdlLnRzeA==) | `82.00% <0.00%> (-17.00%)` | :arrow_down: | | [web/src/components/ActionBar/ActionBar.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2647/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL0FjdGlvbkJhci9BY3Rpb25CYXIudHN4) | `69.23% <0.00%> (-15.39%)` | :arrow_down: | | [web/src/app.tsx](https://c
[GitHub] [apisix] monkeyDluffy6017 commented on pull request #8135: fix(plugin/oidc): return userinfo when use_jwks is true
monkeyDluffy6017 commented on PR #8135: URL: https://github.com/apache/apisix/pull/8135#issuecomment-1286345124 @lovepocky use this command to run openidc test env `docker run -p 8090:8080 -p 8443:8443 --restart unless-stopped -d --env="KEYCLOAK_USER=admin" --env="KEYCLOAK_PASSWORD=123456" sshniro/keycloak-apisix:1.0.0`, and add the test case to `openid-connect.t` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-website] branch master updated: testing contributor workshop redirect link (#1369)
This is an automated email from the ASF dual-hosted git repository. sylviasu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-website.git The following commit(s) were added to refs/heads/master by this push: new a51432b1d44 testing contributor workshop redirect link (#1369) a51432b1d44 is described below commit a51432b1d44450c06fd555bb7d513c787859f2f4 Author: Nasasira <72880754+nas-as...@users.noreply.github.com> AuthorDate: Fri Oct 21 04:31:35 2022 +0300 testing contributor workshop redirect link (#1369) --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 7ee7e3b3b7b..c20c380ed73 100644 --- a/.htaccess +++ b/.htaccess @@ -38,6 +38,8 @@ Redirect 302 "/twitter" "https://twitter.com/ApacheAPISIX"; Redirect 302 "/youtube" "https://www.youtube.com/channel/UCgPD18cMhOg5rmPVnQhAC8g"; Redirect 302 "/slack" "https://join.slack.com/t/the-asf/shared_invite/zt-1g9ghsrol-v4hkkV8uKbGrDqRuPEq7fg"; Redirect 302 "/community-meeting-signup" "https://docs.google.com/forms/d/1wK1AqUIFfXDveNolqZmlwKOcJN1aGq8G9rfYmtHdB0I/"; +Redirect 302 "/contributor-workshop-signup" "https://docs.google.com/forms/d/1LUER3R9-aFsUm7MhjVd_CM1xAGnkuWIe62prFH5aqAE/"; + Redirect 301 "/docs/apisix/install" "/docs/apisix/how-to-build/" Redirect 301 "/docs/apisix/architecture-design/plugin/" "/docs/apisix/architecture-design/plugin-config/"
[GitHub] [apisix-website] SylviaBABY merged pull request #1369: Adding contributor workshop redirect link
SylviaBABY merged PR #1369: URL: https://github.com/apache/apisix-website/pull/1369 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1159: request help: How to coordinate work between multiple ingress-controller pods.
github-actions[bot] commented on issue #1159: URL: https://github.com/apache/apisix-ingress-controller/issues/1159#issuecomment-1286342562 This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the d...@apisix.apache.org list. Thank you for your contributions. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1171: request help: How many settings resync_interval are appropriate?
github-actions[bot] commented on issue #1171: URL: https://github.com/apache/apisix-ingress-controller/issues/1171#issuecomment-1286342587 This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the d...@apisix.apache.org list. Thank you for your contributions. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] guoqqqi commented on a diff in pull request #2641: fix:ant-table unable to request(#2613)
guoqqqi commented on code in PR #2641: URL: https://github.com/apache/apisix-dashboard/pull/2641#discussion_r1001267993 ## web/cypress/e2e/rest/pluginTemplate-create-edit-delete-plugin-template.cy.js: ## @@ -48,7 +48,9 @@ context('Create Configure and Delete PluginTemplate', () => { cy.visit('/'); cy.contains('Route').click(); cy.get(selector.empty).should('be.visible'); -cy.contains('Advanced').should('be.visible').click(); +cy.contains('Advanced').trigger('mouseover'); +cy.wait(50); Review Comment: We should avoid abusing wait, and use some should assertions to ensure that the tests are stable. ## web/cypress/e2e/rest/pluginTemplate-create-plugin-template-with-route.cy.js: ## @@ -56,7 +56,9 @@ context('Create PluginTemplate Binding To Route', () => { cy.visit('/'); cy.contains('Route').click(); cy.get(selector.empty).should('be.visible'); -cy.contains('Advanced').should('be.visible').click(); +cy.contains('Advanced').trigger('mouseover'); +cy.wait(50); Review Comment: ditto ## web/cypress/e2e/rest/upstream-create_and_edit_upstream_with_no_nodes.cy.js: ## @@ -61,9 +61,8 @@ context('Create and Delete Upstream', () => { cy.get(selector.nameSelector).type(data.upstreamName); cy.contains('Search').click(); cy.contains(data.upstreamName).siblings().contains('Configure').click(); - cy.get(selector.upstreamNodeMinus0).should('not.exist'); -cy.contains('button', 'Next').should('not.be.disabled').click(); +cy.contains('button', 'Next').should('not.be.disabled').wait(10).click(); Review Comment: ditto -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] ipanocloud opened a new issue, #2648: bug: Manual configuration is selected when the dashboard routing configuration plugin is clicked, and there is no plugin_config_id nod
ipanocloud opened a new issue, #2648: URL: https://github.com/apache/apisix-dashboard/issues/2648 ### Current Behavior dashboad create route and manual select plugin config ### Expected Behavior _No response_ ### Error Logs _No response_ ### Steps to Reproduce 1.create route 2.manual select plugin config 3.submit ### Environment - APISIX version (run `apisix version`): 2.15.0 - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.5.0 - APISIX Dashboard version, if relevant: 2.13.0 - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): ` { "uri": "/map-service/api/*", "name": "out-route-map-service", "desc": "地图路由", "methods": [ "GET", "POST" ], "hosts": [ "www.test.com" ], "service_id": "409256655683847112", "labels": { "API_VERSION": "V1", "Out": "MapService" }, "status": 1 } ` -- 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-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8134: help request: restart apisix, then route 404
tokers commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1286341188 > Init stage? Did you enable the option: `disable_sync_configuration_during_start`? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8134: help request: restart apisix, then route 404
tokers commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1286340972 > when restart apisix, error.log outputs: > > ``` > 2022/10/20 17:22:40 [warn] 28536#28536: *224 [lua] jwt-laqu.lua:18: jwt-laqu, ngx_time:1666257760, context: ngx.timer > 2022/10/20 17:22:40 [warn] 28531#28531: *223 [lua] plugin.lua:223: load_stream(): new plugins: {"ip-restriction":true,"limit-conn":true,"mqtt-proxy":true}, context: ngx.timer > 2022/10/20 17:22:40 [warn] 28536#28536: *224 [lua] plugin.lua:223: load_stream(): new plugins: {"ip-restriction":true,"limit-conn":true,"mqtt-proxy":true}, context: ngx.timer > 2022/10/20 17:22:40 [warn] 28530#28530: *225 [lua] jwt-laqu.lua:18: jwt-laqu, ngx_time:1666257760, context: ngx.timer > 2022/10/20 17:22:40 [warn] 28530#28530: *225 [lua] plugin.lua:223: load_stream(): new plugins: {"ip-restriction":true,"limit-conn":true,"mqtt-proxy":true}, context: ngx.timer > 2022/10/20 17:22:40 [warn] 28530#28530: *225 [lua] init.lua:297: sync_local_conf_to_etcd(): sync local conf to etcd, context: ngx.timer > ``` > > when i access the route, no log new in the error.log. and when i open the route in dashboard, and save it, the route get right. and when i access it, log get right Nothing is suspicious. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] guoqqqi closed issue #2615: CI failing in latest master branch
guoqqqi closed issue #2615: CI failing in latest master branch URL: https://github.com/apache/apisix-dashboard/issues/2615 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8126: help request: I got a lot of SSL_do_handshake() failed errors
tokers commented on issue #8126: URL: https://github.com/apache/apisix/issues/8126#issuecomment-1286340294 > > Which TLS version are you trying to use? Also, please check apisix config.yaml to know the supported TLS versions. > > This is my openssl version. > > ``` > openssl version > OpenSSL 1.0.2k-fips 26 Jan 2017 > ``` > > I use the config-default.yaml configuration. > > ``` > ssl_protocols: TLSv1.2 TLSv1.3 > ssl_ciphers: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384 > ssl_session_tickets: false # disable ssl_session_tickets by default for 'ssl_session_tickets' would make Perfect Forward Secrecy useless. > ``` Oops. I didn't notice it's a TLS handshaking error with upstream. The default SSL protocol APISIX uses to communicate with upstream is `TLSv1 TLSv1.1 TLSv1.2`. Please make sure if your upstream service doesn't support some of them. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?
tzssangglass commented on issue #205: URL: https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1286339550 > Additionally, > When I call apisix gw using resttemplate, the returned result is fine, but the custom filter doesn't seem to work. > on the other way, When i call apisix gw directly, the custom filter works fine. It looks like the resttemplate sends a different request than the one sent by the direct call. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?
tzssangglass commented on issue #205: URL: https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1286339056 > Since the url is /* in my router settings, the custom filter works once in the /test2 call, and the custom filter works once more in the redirected /test call, so is it logged twice in total?? If you are saying that a redirect request occurred on the client side, then yes, APISIX processed the request twice and the java plugin runner will also process it twice. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] mscb402 commented on issue #8136: help request: If I use Keycloak as my identity server,what is the different between authz-keycloak and openid-connect?
mscb402 commented on issue #8136: URL: https://github.com/apache/apisix/issues/8136#issuecomment-1286336177 OpenID Connect is an authentication protocol based on the OAuth 2.0. Many authentication providers implement this protocol. You can use this plugin to connect with them. Like Keycloak, Ory Hydra, Okta, Auth0, etc And the authz-keycloak plugin is only for Keycloak. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-helm-chart] branch master updated: docs: How to install Apache APISIX running in standalone mode? (#366)
This is an automated email from the ASF dual-hosted git repository. zhangjintao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git The following commit(s) were added to refs/heads/master by this push: new 0680ab1 docs: How to install Apache APISIX running in standalone mode? (#366) 0680ab1 is described below commit 0680ab1d91103865669fcf3a01df305c56c1727a Author: oil欧呦 <2228586...@qq.com> AuthorDate: Fri Oct 21 06:51:10 2022 +0800 docs: How to install Apache APISIX running in standalone mode? (#366) --- docs/en/latest/FAQ.md | 262 +- 1 file changed, 261 insertions(+), 1 deletion(-) diff --git a/docs/en/latest/FAQ.md b/docs/en/latest/FAQ.md index 568528b..d53192a 100644 --- a/docs/en/latest/FAQ.md +++ b/docs/en/latest/FAQ.md @@ -21,6 +21,9 @@ title: FAQ # --> +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + ### How to install APISIX only? The Charts will install ETCD `3.4.14` by default. If you want to install Apache APISIX only, please set `etcd.enabled=false` and set `etcd.host={http://your_etcd_address:2379}`. @@ -34,6 +37,263 @@ helm install apisix apisix/apisix \ --set etcd.host={http://etcd_node_1:2379\,http://etcd_node_2:2379} ``` +### How to install Apache APISIX running in standalone mode? + +Helm chart does not provide a direct way to deploy Apache APISIX running in standalone mode. You can install it in the following manner. + +Create a `deploy.yaml` with the following content. + + + + + +```yaml +# deploy.yaml +kind: ConfigMap +apiVersion: v1 +metadata: + name: apisix-gw-config.yaml +data: + config.yaml: | +deployment: + role: data_plane + role_data_plane: +config_provider: yaml +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: apisix.yaml +data: + apisix.yaml: | +routes: + - +uri: /hi +upstream: + nodes: +"127.0.0.1:1980": 1 + type: roundrobin +#END +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: apisix-deployment +spec: + replicas: 1 + selector: +matchLabels: + app: apisix-deployment + strategy: +rollingUpdate: + maxSurge: 50% + maxUnavailable: 1 +type: RollingUpdate + template: +metadata: + labels: +app: apisix-deployment +spec: + terminationGracePeriodSeconds: 0 + containers: +- livenessProbe: +failureThreshold: 3 +initialDelaySeconds: 1 +periodSeconds: 2 +successThreshold: 1 +tcpSocket: + port: 9080 +timeoutSeconds: 2 + readinessProbe: +failureThreshold: 3 +initialDelaySeconds: 1 +periodSeconds: 2 +successThreshold: 1 +tcpSocket: + port: 9080 +timeoutSeconds: 2 + image: "apache/apisix:2.99.0-centos" + imagePullPolicy: IfNotPresent + name: apisix-deployment + # Create a soft link to link the apisix.yaml file in the mount directory to /usr/local/apisix/conf/apisix.yaml. + command: ["sh", "-c","ln -s /apisix-config/apisix.yaml /usr/local/apisix/conf/apisix.yaml && /docker-entrypoint.sh docker-start"] + ports: +- containerPort: 9080 + name: "http" + protocol: "TCP" +- containerPort: 9443 + name: "https" + protocol: "TCP" + + volumeMounts: +- mountPath: /usr/local/apisix/conf/config.yaml + name: apisix-config-yaml-configmap + subPath: config.yaml +# configMap directory mounts +- mountPath: /apisix-config + name: apisix-admin + volumes: +- configMap: +name: apisix-gw-config.yaml + name: apisix-config-yaml-configmap +- configMap: +name: apisix.yaml + name: apisix-admin +--- +apiVersion: v1 +kind: Service +metadata: + name: apisix-service +spec: + selector: +app: apisix-deployment + ports: +- name: http + port: 9080 + protocol: TCP + targetPort: 9080 +- name: https + port: 9443 + protocol: TCP + targetPort: 9443 + type: NodePort +``` + + + + + +```yaml +# deploy.yaml +kind: ConfigMap +apiVersion: v1 +metadata: + name: apisix-gw-config.yaml +data: + config.yaml: | +apisix: + enable_admin: false + config_center: yaml +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: apisix.yaml +data: + apisix.yaml: | +routes: + - +uri: /hi +upstream: + nodes: +"127.0.0.1:1980": 1 + type: roundrobin +#END +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: apisix-deployment +spec: + replicas: 1 + selector: +matchLabels: + app: apisix-deployment + strategy: +roll
[GitHub] [apisix-helm-chart] tao12345666333 merged pull request #366: docs: How to install Apache APISIX running in standalone mode?
tao12345666333 merged PR #366: URL: https://github.com/apache/apisix-helm-chart/pull/366 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] netlify[bot] commented on pull request #1369: Adding contributor workshop redirect link
netlify[bot] commented on PR #1369: URL: https://github.com/apache/apisix-website/pull/1369#issuecomment-1286213530 ### 👷 Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| |🔨 Latest commit | d825a04058d57f1f89cd01de92e3bf61da108039 | |🔍 Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/6351c73abbb73b00084f7f1d | -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Nas-asira opened a new pull request, #1369: Adding contributor workshop redirect link
Nas-asira opened a new pull request, #1369: URL: https://github.com/apache/apisix-website/pull/1369 Fixes: #[Add issue number here] Changes: Screenshots of the change: -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] ChaojuWang commented on issue #2628: Upload certificate path error
ChaojuWang commented on issue #2628: URL: https://github.com/apache/apisix-dashboard/issues/2628#issuecomment-1286128777 Same promblem here. My apisix image version is "apache/apisix:2.99.0-debian" baseed on the compose file from https://github.com/apache/apisix-docker/blob/master/example/docker-compose.yml -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] BhavyaT-135 commented on issue #1245: [Docs]: Need thumbnail pictures for the blogs
BhavyaT-135 commented on issue #1245: URL: https://github.com/apache/apisix-website/issues/1245#issuecomment-1285998852 Created a PR addressing the same. 😊 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] netlify[bot] commented on pull request #1368: docs: Added cover image for Fault Injection Testing
netlify[bot] commented on PR #1368: URL: https://github.com/apache/apisix-website/pull/1368#issuecomment-1285995700 ### 👷 Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| |🔨 Latest commit | 1e8a461a59d9c7750d6fa54e6c7172ff7d0bf0d7 | |🔍 Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/635198af57966c0008edb1c0 | -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] BhavyaT-135 opened a new pull request, #1368: docs: Added cover image for Fault Injection Testing
BhavyaT-135 opened a new pull request, #1368: URL: https://github.com/apache/apisix-website/pull/1368 With reference to: https://github.com/apache/apisix-website/issues/1245 Changes: Added cover image for the blog "Fault Injection Testing with API Gateway". -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on a diff in pull request #8130: perf: simple setup upstream
tzssangglass commented on code in PR #8130: URL: https://github.com/apache/apisix/pull/8130#discussion_r1000837369 ## t/debug/dynamic-hook.t: ## @@ -405,7 +405,8 @@ hook_test: # module and function list, name: hook_test "uri": "/hello", "upstream": { "nodes": { -"127.0.0.1:1980": 1 +"127.0.0.1:1980": 1, Review Comment: done -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-java-plugin-runner] Cheol-Soon-Choi commented on issue #205: request help: Custom filter performed twice?
Cheol-Soon-Choi commented on issue #205: URL: https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1285680144 > can you provide more info about this? my demo project git: https://github.com/Cheol-Soon-Choi/demo_runner I think it's because of my project config. that project is also logged twice. ![123](https://user-images.githubusercontent.com/79562672/196982394-9a372033-5e1c-4fb9-a3e0-ec6c14a545d4.PNG) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] panpingyuan commented on issue #8134: help request: restart apisix, then route 404
panpingyuan commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1285654669 I also encountered this problem, temporarily found that the load configration in init stage is {}. apisix 2.13.0 openresty 1.19.1.1 etcd 3.5.x -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] panpingyuan commented on issue #8134: help request: restart apisix, then route 404
panpingyuan commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1285645572 I also encountered this problem, temporarily found that the load configration in init stage is {}. apisix 2.13.0 openresty 1.19.1.1 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] wangfeng22 commented on issue #8126: help request: I got a lot of SSL_do_handshake() failed errors
wangfeng22 commented on issue #8126: URL: https://github.com/apache/apisix/issues/8126#issuecomment-1285558496 > Which TLS version are you trying to use? Also, please check apisix config.yaml to know the supported TLS versions. I use the config-default.yaml configuration. ``` ssl_protocols: TLSv1.2 TLSv1.3 ssl_ciphers: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384 ssl_session_tickets: false # disable ssl_session_tickets by default for 'ssl_session_tickets' would make Perfect Forward Secrecy useless. ``` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] gubarba commented on issue #7470: feat: I want to specify multi xxx.yaml or a conf dir (like nginx include instruction) for apisix router config, can apisix support this by providing
gubarba commented on issue #7470: URL: https://github.com/apache/apisix/issues/7470#issuecomment-1285558166 Indeed, IMHO standalone mode cuts out the flexibility that the default mode carries when managing multiple sources of routes configuration ( multiple teams mantaining multiple CRDs defined routes ) without the need of an external tool. I'm trying to undersand whether i should try to use standalone mode, but managing a single configmap to configure many websites and projects routes doesn't seem a nice way to go . Since i'm not willing to operate the ETCD Cluster that the control plane depends on ( I'm on EKS and can't use the cluster's ETCD, so I have to manage my own ), this would enable scaling the configuration managent on multiple teams scenarios, without the operational overhead of managing the ETCD cluster or other configuration centers ( Consul, etc) and sticking to kubernetes core features, such as configmaps and volumeMounts. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?
tzssangglass commented on issue #205: URL: https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1285538373 > request > apisix + apisix runner(include custom filter) > my Backend Service A > my Backend Service B. > and Service A redirect to service B. can you provide more info about this? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] tomtiao commented on pull request #2639: feat(route): make front-end adapt `route` v3 api modification
tomtiao commented on PR #2639: URL: https://github.com/apache/apisix-dashboard/pull/2639#issuecomment-1285530936 > Hello, @tomtiao Do you have any questions for the CI? I wonder if we could turn off the tests. 😂 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] gubarba commented on issue #7470: feat: I want to specify multi xxx.yaml or a conf dir (like nginx include instruction) for apisix router config, can apisix support this by providing
gubarba commented on issue #7470: URL: https://github.com/apache/apisix/issues/7470#issuecomment-1285529586 Indeed, IMHO standalone mode cuts out the flexibility that the default mode carries when managing multiple sources of routes configuration ( multiple teams mantaining multiple CRDs defined routes ).I'm trying to undersand whether i should try to use standalone mode, since i'm not willing to operate the ETCD Cluster that the control plane depends on -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8117: router can't support location @xxx ?
tzssangglass commented on issue #8117: URL: https://github.com/apache/apisix/issues/8117#issuecomment-1285525033 > How to get the node information of an existing upstream to add to up_conf?For example, get the nodes information in my test upstream "upstream-test-a" and add it to the variable up_conf. `ctx.matched_upstream`, you can dump ctx by `ngx.log(ngx.WARN, "ctx : ", require("inspect")(ctx, {depth = 2}))`, and search info in ctx. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8118: help request: The upstream route selection affects the next request
tzssangglass commented on issue #8118: URL: https://github.com/apache/apisix/issues/8118#issuecomment-1285508116 ok -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass closed issue #8118: help request: The upstream route selection affects the next request
tzssangglass closed issue #8118: help request: The upstream route selection affects the next request URL: https://github.com/apache/apisix/issues/8118 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] membphis commented on a diff in pull request #8130: perf: simple setup upstream
membphis commented on code in PR #8130: URL: https://github.com/apache/apisix/pull/8130#discussion_r1000589930 ## t/debug/dynamic-hook.t: ## @@ -405,7 +405,8 @@ hook_test: # module and function list, name: hook_test "uri": "/hello", "upstream": { "nodes": { -"127.0.0.1:1980": 1 +"127.0.0.1:1980": 1, Review Comment: why do we need to change this? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] ipanocloud commented on issue #8108: bug: Manual configuration is selected when the dashboard routing configuration plugin is clicked, and there is no plugin_config_id node in the ro
ipanocloud commented on issue #8108: URL: https://github.com/apache/apisix/issues/8108#issuecomment-1285488225 > I wasn't able to reproduce this problem either, on APISIX Dashboard 2.13. 太兴奋了,终于验证了一个必现的。 1.创建路由并且绑定服务时,选择已经创建的插件模板,提交后json数据无 "plugin_config_id"属性 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] ipanocloud commented on issue #8108: bug: Manual configuration is selected when the dashboard routing configuration plugin is clicked, and there is no plugin_config_id node in the ro
ipanocloud commented on issue #8108: URL: https://github.com/apache/apisix/issues/8108#issuecomment-1285488609 > I wasn't able to reproduce this problem either, on APISIX Dashboard 2.13. 太兴奋了,终于验证了一个必现的。 1.创建路由并且绑定服务时,选择已经创建的插件模板,提交后json数据无 "plugin_config_id"属性 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] veithly opened a new pull request, #2647: feat:Configure plug-ins to support this feature
veithly opened a new pull request, #2647: URL: https://github.com/apache/apisix-dashboard/pull/2647 Please answer these questions before submitting a pull request, **or your PR will get closed**. **Why submit this pull request?** - [ ] Bugfix - [ *] New feature provided - [ ] Improve performance - [ ] Backport patches **What changes will this PR take into?** I try to configure the two plug-ins to format the import and export. **Related issues** fix/resolve #2646 **Checklist:** - [ *] Did you explain what problem does this PR solve? Or what new features have been added? - [ ] Have you added corresponding test cases? - [ ] Have you modified the corresponding document? - [* ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Bigwen-1 commented on issue #8118: help request: The upstream route selection affects the next request
Bigwen-1 commented on issue #8118: URL: https://github.com/apache/apisix/issues/8118#issuecomment-1285402688 Hi, I have a good news to tell you that I solved this problem in the way you said today. Thank you again. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-java-plugin-runner] Cheol-Soon-Choi commented on issue #205: request help: Custom filter performed twice?
Cheol-Soon-Choi commented on issue #205: URL: https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1285392279 > When you request APISIX once, output `TWICE?` twice? yes.. Need more information? Redirect doesn't seem to matter. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] YuanYingdong opened a new pull request, #1398: docs: fix typo
YuanYingdong opened a new pull request, #1398: URL: https://github.com/apache/apisix-ingress-controller/pull/1398 ### Type of change: - [ ] Bugfix - [ ] New feature provided - [ ] Improve performance - [ ] Backport patches ### What this PR does / why we need it: ### Pre-submission checklist: * [ ] Did you explain what problem does this PR solve? Or what new features have been added? * [ ] Have you added corresponding test cases? * [ ] Have you modified the corresponding document? * [ ] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix-ingress-controller#community) first** -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] codecov-commenter commented on pull request #1380: chore(deps): bump k8s.io/api from 0.25.1 to 0.25.3
codecov-commenter commented on PR #1380: URL: https://github.com/apache/apisix-ingress-controller/pull/1380#issuecomment-1285315736 # [Codecov](https://codecov.io/gh/apache/apisix-ingress-controller/pull/1380?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report > Merging [#1380](https://codecov.io/gh/apache/apisix-ingress-controller/pull/1380?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (4a56f14) into [master](https://codecov.io/gh/apache/apisix-ingress-controller/commit/7a89a0a9792691167dad0b5556c95966d18bc455?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (7a89a0a) will **not change** coverage. > The diff coverage is `n/a`. > :exclamation: Current head 4a56f14 differs from pull request most recent head 373ccc7. Consider uploading reports for the commit 373ccc7 to get more accurate results ```diff @@ Coverage Diff @@ ## master#1380 +/- ## === Coverage 40.47% 40.47% === Files 78 78 Lines7076 7076 === Hits 2864 2864 Misses 3897 3897 Partials 315 315 ``` :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Yilialinn commented on pull request #1367: docs: GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比
Yilialinn commented on PR #1367: URL: https://github.com/apache/apisix-website/pull/1367#issuecomment-1285285541 @juzhiyuan @moonming @EmilyKeer 请各位帮忙review,谢谢! -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tcgdy0201 opened a new issue, #8136: help request: If I use Keycloak as my identity server,what is the different between authz-keycloak and openid-connect?
tcgdy0201 opened a new issue, #8136: URL: https://github.com/apache/apisix/issues/8136 ### Description Hi Sir/Madam: May I have you some minutes to help me with the question below. I have deployed keycloak as my identity server, besides I also used 'openid-connect' plugin to add authentication for my apis. It works. Today, I find another plugin as 'authz-keycloak' which seems similar as 'openid-connection'. So i get confused. So I rasied this issue, what is the difference between these two plugins (`authz-keycloak` and `openid-connect`) and what is the scenario for those. Thank you for your kind help in advance. Best regards ### Environment not relevant -- 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-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] netlify[bot] commented on pull request #1367: docs: GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比
netlify[bot] commented on PR #1367: URL: https://github.com/apache/apisix-website/pull/1367#issuecomment-1285281099 ### 👷 Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| |🔨 Latest commit | 993388d21afa9b6fb9d852921eaf829b2a1e41b6 | |🔍 Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/63511eef42ecec000838762c | -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Yilialinn opened a new pull request, #1367: docs: GCP、AWS、Azure 和 OCI ARM 架构服务器性能测试对比
Yilialinn opened a new pull request, #1367: URL: https://github.com/apache/apisix-website/pull/1367 Fixes: #[Add issue number here] Changes: Screenshots of the change: -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] liu871009243 commented on issue #8134: help request: restart apisix, then route 404
liu871009243 commented on issue #8134: URL: https://github.com/apache/apisix/issues/8134#issuecomment-1285269226 when restart apisix, error.log outputs: ` 2022/10/20 17:22:40 [warn] 28536#28536: *224 [lua] jwt-laqu.lua:18: jwt-laqu, ngx_time:1666257760, context: ngx.timer 2022/10/20 17:22:40 [warn] 28531#28531: *223 [lua] plugin.lua:223: load_stream(): new plugins: {"ip-restriction":true,"limit-conn":true,"mqtt-proxy":true}, context: ngx.timer 2022/10/20 17:22:40 [warn] 28536#28536: *224 [lua] plugin.lua:223: load_stream(): new plugins: {"ip-restriction":true,"limit-conn":true,"mqtt-proxy":true}, context: ngx.timer 2022/10/20 17:22:40 [warn] 28530#28530: *225 [lua] jwt-laqu.lua:18: jwt-laqu, ngx_time:1666257760, context: ngx.timer 2022/10/20 17:22:40 [warn] 28530#28530: *225 [lua] plugin.lua:223: load_stream(): new plugins: {"ip-restriction":true,"limit-conn":true,"mqtt-proxy":true}, context: ngx.timer 2022/10/20 17:22:40 [warn] 28530#28530: *225 [lua] init.lua:297: sync_local_conf_to_etcd(): sync local conf to etcd, context: ngx.timer` when i access the route, no log new in the error.log. and when i open the route in dashboard, and save it, the route get right. and when i access it, log get right -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] github-actions[bot] commented on pull request #7748: docs: refactor Plugin Development
github-actions[bot] commented on PR #7748: URL: https://github.com/apache/apisix/pull/7748#issuecomment-1285267454 This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the d...@apisix.apache.org list. Thank you for your contributions. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] lucamaf commented on issue #2586: Why is there still this problem,grafana cannot be displayed
lucamaf commented on issue #2586: URL: https://github.com/apache/apisix-dashboard/issues/2586#issuecomment-1285253003 not documented, facing the same bug -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] monkeyDluffy6017 commented on pull request #8135: fix(plugin/oidc): return userinfo when use_jwks is true
monkeyDluffy6017 commented on PR #8135: URL: https://github.com/apache/apisix/pull/8135#issuecomment-1285251977 Test case is needed -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org