You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/24 06:10:19 UTC
[GitHub] [apisix] mr3chen opened a new issue #3655: bug: example-plugin 把 control_api 改成api ,访问还是报路由找不到
mr3chen opened a new issue #3655:
URL: https://github.com/apache/apisix/issues/3655
### Issue description
### 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 `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
* apisix-dashboard version, if have:
### Minimal test code / Steps to reproduce the issue
1. example-plugin 把 control_api 改成api ,访问还是报路由找不到
2.
3.
### What's the actual result? (including assertion message & call stack if applicable)
### What's the expected result?
curl -L -X GET 'http://127.0.0.1:9080/v1/plugin/example-plugin/hello' 不是返回404
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #3655: bug: example-plugin 把 control_api 改成api ,访问还是报路由找不到
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3655:
URL: https://github.com/apache/apisix/issues/3655#issuecomment-784831583
example-plugin is disabled by default:
https://github.com/apache/apisix/blob/728df41e1682da8d4cd615a613a938e275a4d085/conf/config-default.yaml#L232
And you use the wrong port for control-api.
https://github.com/apache/apisix/blob/728df41e1682da8d4cd615a613a938e275a4d085/conf/config-default.yaml#L129-L131
It should be 9090.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #3655: bug: example-plugin 把 control_api 改成api ,访问还是报路由找不到
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3655:
URL: https://github.com/apache/apisix/issues/3655
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org