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/10/18 08:31:06 UTC
[GitHub] [apisix] whioue opened a new issue #5267: request help: Small probability running error
whioue opened a new issue #5267:
URL: https://github.com/apache/apisix/issues/5267
### Issue description
我尝试自己开发了一个插件,运行在access阶段,配置好路由并开启此插件后,当同时触发调用几十次此路由(每次调用此路由时传递给后置接口的参数不同)会有少许几次请求报500错误,其他请求可正常执行插件并得到后置接口的响应,我尝试查看日志发现有报错,具体如下:
1.插件开发示例:

2.错误日志:

3.抛出问题处定位:

### Environment
- apisix version (cmd: `apisix version`): v2.8
- 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:
- the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
- luarocks version, if the issue is about installation (cmd: `luarocks --version`):
--
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] tzssangglass edited a comment on issue #5267: request help: Small probability running error
Posted by GitBox <gi...@apache.org>.
tzssangglass edited a comment on issue #5267:
URL: https://github.com/apache/apisix/issues/5267#issuecomment-945739519
1. This is code you wrote yourself, so I'll turn this issue into a discussion.
2. The information you provided is too little for me to reproduce.
--
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] tzssangglass commented on issue #5267: request help: Small probability running error
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5267:
URL: https://github.com/apache/apisix/issues/5267#issuecomment-945739519
1. This is code you wrote yourself, so I'll turn this discussion into a discussion.
2. The information you provided is too little for me to reproduce.
--
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] tzssangglass closed issue #5267: request help: Small probability running error
Posted by GitBox <gi...@apache.org>.
tzssangglass closed issue #5267:
URL: https://github.com/apache/apisix/issues/5267
--
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