You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "paineZhang (via GitHub)" <gi...@apache.org> on 2025/12/17 09:44:24 UTC
[I] bug: attempt to index upvalue 'local_conf' [apisix]
paineZhang opened a new issue, #12818:
URL: https://github.com/apache/apisix/issues/12818
### Current Behavior
runtime error .
### Expected Behavior
no error
### Error Logs
2025/12/17 16:17:30 [error] 6951#6951: *231764939 lua entry thread aborted: runtime error: /usr/local/apisix/apisix/init.lua:689: attempt to index upvalue 'local_conf' (a nil value)
stack traceback:
coroutine 0:
/usr/local/apisix/apisix/init.lua: in function 'http_access_phase'
access_by_lua(nginx.conf:359):2: in main chunk, client: 10.52.9.112, server: _, request: "GET /laamsp/v1/basemap/img/2/2/1.png?token=test1234567 HTTP/1.1", host: "10.8.0.151:9080", referrer: "http://10.0.82.206:4610/low-altitude-resources/airspace/airspace-management"
### Steps to Reproduce
1. run apisix via the docker image
2. create same routes with the admin api
3. batch request
### Environment
- APISIX version (run `apisix version`): 3.14.1-debian image
- Operating system (run `uname -a`): ubuntu 24.04
- 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.11
- APISIX Dashboard version, if relevant: 3.14.1-debian
- Plugin runner version, for issues related to plugin runners: apisix-python-plugin-runner 0.2.0
- 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-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3667921190
Hi @paineZhang, can you add route configuration and your request example to your reproduction steps? The current description is too simplistic to reproduce your error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3669024498
Hi @paineZhang, you used ext-plugin-pre-req to execute the external plugin mx-traffic-split. Please provide the corresponding code or ensure the logic is correct.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "paineZhang (via GitHub)" <gi...@apache.org>.
paineZhang closed issue #12818: bug: attempt to index upvalue 'local_conf'
URL: https://github.com/apache/apisix/issues/12818
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "paineZhang (via GitHub)" <gi...@apache.org>.
paineZhang commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3737201686
Hi @Baoyuantop .
I have discovered the reason. The program runs in a container with limited resources. The setting of memory cache exceeds the memory size limit of the container. When the problem occurs, the memory is basically exhausted.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3737368554
Thank you for the clarification @paineZhang . So this is a resource limitation issue rather than an APISIX 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
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "paineZhang (via GitHub)" <gi...@apache.org>.
paineZhang commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3737483301
> Thank you for the clarification [@paineZhang](https://github.com/paineZhang) . So this is a resource limitation issue rather than an APISIX bug?
After setting a larger memory size limit. It has been running for a long time without any further issues. So, it should be a problem of resource constraints.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "paineZhang (via GitHub)" <gi...@apache.org>.
paineZhang commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3669279756
> Hi [@paineZhang](https://github.com/paineZhang), you used ext-plugin-pre-req to execute the external plugin mx-traffic-split. Please provide the corresponding code or ensure the logic is correct.
@Baoyuantop
Additional information:
After running the service continuously for several days, this problem occurred. The problem disappeared after restarting.
mx-traffic-split:
<!-- Failed to upload "mx-traffic-split.py" -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: attempt to index upvalue 'local_conf' [apisix]
Posted by "paineZhang (via GitHub)" <gi...@apache.org>.
paineZhang commented on issue #12818:
URL: https://github.com/apache/apisix/issues/12818#issuecomment-3668505054
> Hi [@paineZhang](https://github.com/paineZhang), can you add route configuration and your request example to your reproduction steps? The current description is too simplistic to reproduce your error.您好,能否在您的复现步骤中添加路由配置和您的请求示例?当前描述过于简单,无法复现您的错误。
--
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