You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "zhangxin-github (via GitHub)" <gi...@apache.org> on 2023/01/29 07:27:53 UTC
[GitHub] [apisix-docker] zhangxin-github opened a new issue, #415: 路由配置中关闭插件无法生效
zhangxin-github opened a new issue, #415:
URL: https://github.com/apache/apisix-docker/issues/415
`{
"uri": "/index.html",
"name": "web1",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE",
"PURGE"
],
"plugins": {
"hmac-auth": {
"disable": true
},
"proxy-rewrite": {
"uri": "/web1"
}
},
"upstream_id": "445336888039965385",
"labels": {
"API_VERSION": "v1"
},
"status": 1
}`
在路由配置中已经关闭了hamc插件,但是请求时还是会调用hmac:
`2023/01/29 07:24:22 [warn] 55#55: *744503 [lua] hmac-auth.lua:430: phase_func(): client request can't be validated: access key or signature missing, client: 172.24.0.1, server: _, request: "GET /index.html?name=james&age=36 HTTP/1.1", host: "192.168.10.1:9080"
2023/01/29 07:24:22 [warn] 55#55: *744503 [lua] plugin.lua:1098: run_plugin(): hmac-auth exits with http status code 401, client: 172.24.0.1, server: _, request: "GET /index.html?name=james&age=36 HTTP/1.1", host: "192.168.10.1:9080"`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] tokers commented on issue #415: 路由配置中关闭插件无法生效
Posted by "tokers (via GitHub)" <gi...@apache.org>.
tokers commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1407608992
The information you provided is not sufficient. Please let us know:
1. the APISIX version number;
2. how did you configure the route, plugin and disable the plugin
3. How did you reproduce the case
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] tokers commented on issue #415: 路由配置中关闭插件无法生效
Posted by "tokers (via GitHub)" <gi...@apache.org>.
tokers commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1408240435
@bzp2010 Is this due to the incompatibility between APISIX and dashboard?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] Baoyuantop commented on issue #415: 路由配置中关闭插件无法生效
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1424250895
Please provide your docker-compose file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] zhangxin-github commented on issue #415: 路由配置中关闭插件无法生效
Posted by "zhangxin-github (via GitHub)" <gi...@apache.org>.
zhangxin-github commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1422421756
有没有大佬可以回答下啊?到底是我使用的不对,还是程序有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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] zhangxin-github commented on issue #415: 路由配置中关闭插件无法生效
Posted by "zhangxin-github (via GitHub)" <gi...@apache.org>.
zhangxin-github commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1408031807
Thank you. Sorry, English is not good. Please allow me to use Chinese。
1.通过https://github.com/apache/apisix-docker.git获取最新版本,上传example目录到服务器,通过docker-compose up运行。
2.通过http://192.168.10.1:9000/dashboard控制台界面操作,创建了上游http://192.168.10.1:9081/web1,并配置了路由,在没有启用插件时,可以通过http://192.168.10.1:9080/api/web1正常访问路由配置正常。
3.在路由配置界面先启用hmac插件后再关闭插件,访问http://192.168.10.1:9080/api/web1,就会出现上面的日志发现hamc插件仍作用。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] github-actions[bot] commented on issue #415: 路由配置中关闭插件无法生效
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1465146429
This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks 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 dev@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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] github-actions[bot] commented on issue #415: 路由配置中关闭插件无法生效
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #415:
URL: https://github.com/apache/apisix-docker/issues/415#issuecomment-1484049801
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] github-actions[bot] closed issue #415: 路由配置中关闭插件无法生效
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #415: 路由配置中关闭插件无法生效
URL: https://github.com/apache/apisix-docker/issues/415
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org