bug: failed to fetch service configuration by id
- Dominant language
- Lua
- Stars
- 17.1k
- Forks
- 2.9k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 63
Description
### Current Behavior
use apisix 3.16.0, This is my route config:
{
"uri": "/s-demo-00000094/v1/chat/completions",
"name": "s-demo-00000094-Doubao-Seed-2.0-lite-多模态",
"methods": [
"POST"
],
"plugins": {
"regex_uri": [
"/(.*)",
"/$1"
]
}
},
"service_id": "930532405059735552",
"labels": {
"s-demo-00000094": "s-demo-00000094"
},
"enable_websocket": true,
"status": 1
}
servie id is "930532405059735552", but I request a route,error.log wite "failed to fetch service configuration by id 886261104200253440", this is not route servie id, follow is error.log:
2026/06/12 16:41:07 [error] 49#49: *1958536 [lua] radixtree_host_uri.lua:63: push_host_router(): failed to fetch service configuration by id: 886261104200253440, client: 10.118.10.96, server: _, request: "POST /s-demo-00000094/v1/chat/completions HTTP/1.1", host: "10.118.10.76", request_id:
### Expected Behavior
two sever id is same, and not error
### Error Logs
_No response_
### Steps to Reproduce
create a service and route, route refercen a service, then request route, look error.log.
### Environment
- APISIX version (run `apisix version`): 3.16.0
- Operating system (run `uname -a`): Linux FVAIHB-AIGN691 4.19.90-23.48.v2101.ky10.x86_64 #1 SMP Tue Jun 4 20:02:42 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: nginx/1.20.2
- 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`):
Contributor guide
Assessment
This issue has not been assessed yet.