help request: Some pods in APISIX are experiencing a "404 Route not found" exception
Description
there are 3 apisix pods:
$ kgp -n apisix
NAME READY STATUS RESTARTS AGE
apisix-64fb7dfbcc-j2k2s 1/1 Running 0 62m
apisix-64fb7dfbcc-pr5cq 1/1 Running 0 106m
apisix-64fb7dfbcc-ws6nv 1/1 Running 0 62m
apisix-dashboard-5c44f7854c-zq989 1/1 Running 0 98m
apisix-etcd-0 1/1 Running 0 5d4h
apisix-etcd-1 1/1 Running 0 5d4h
apisix-etcd-2 1/1 Running 0 5d4h
apisix-etcd-pre-upgrade-lk8cm 0/1 Completed 0 51m
apisix-ingress-controller-964cd865c-dfgfc 2/2 Running 0 22h
there is a HttpRoute:
Name: apisix-admin
Namespace: apisix
Labels: <none>
Annotations: <none>
API Version: gateway.networking.k8s.io/v1
Kind: HTTPRoute
Metadata:
Creation Timestamp: 2026-02-10T07:58:48Z
Generation: 3
Resource Version: 1770719073339663007
UID: ac34902c-df24-4bab-a7a8-93eda5bcca20
Spec:
Hostnames:
pdx-apisix-test.bblops.com
Parent Refs:
Group: gateway.networking.k8s.io
Kind: Gateway
Name: apisix
Namespace: apisix
Rules:
Backend Refs:
Group:
Kind: Service
Name: apisix-dashboard
Port: 9000
Weight: 1
Matches:
Path:
Type: PathPrefix
Value: /
when requests hit the apisix-64fb7dfbcc-j2k2s and apisix-64fb7dfbcc-pr5cq, it will work:
10.162.4.4 - - [10/Feb/2026:11:28:03 +0000] pdx-apisix-test.bblops.com "GET /apisix/admin/labels/route HTTP/1.1" 200 230 0.001 "https://pdx-apisix-test.bblops.com/routes/list" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 10.163.32.32:9000 200 0.001 "http://pdx-apisix-test.bblops.com"
10.162.4.4 - - [10/Feb/2026:11:28:03 +0000] pdx-apisix-test.bblops.com "GET /apisix/admin/routes?label=&page=1&page_size=10 HTTP/1.1" 200 438 0.001 "https://pdx-apisix-test.bblops.com/routes/list" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 10.163.32.32:9000 200 0.001 "http://pdx-apisix-test.bblops.com"
10.162.4.4 - - [10/Feb/2026:11:51:34 +0000] pdx-apisix-test.bblops.com "GET /routes/list HTTP/1.1" 200 2118 0.003 "https://pdx-apisix-test.bblops.com/user/logout?redirect=%2Fuser%2Flogout" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 10.163.32.32:9000 200 0.003 "http://pdx-apisix-test.bblops.com"
10.162.4.4 - - [10/Feb/2026:11:51:35 +0000] pdx-apisix-test.bblops.com "GET /apisix/admin/labels/route HTTP/1.1" 200 230 0.002 "https://pdx-apisix-test.bblops.com/routes/list" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 10.163.32.32:9000 200 0.002 "http://pdx-apisix-test.bblops.com"
10.162.4.4 - - [10/Feb/2026:11:51:35 +0000] pdx-apisix-test.bblops.com "GET /apisix/admin/routes?label=&page=1&page_size=10 HTTP/1.1" 200 438 0.001 "https://pdx-apisix-test.bblops.com/routes/list" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" 10.163.32.32:9000 200 0.001 "http://pdx-apisix-test.bblops.com"
but when reqeusts hit apisix-64fb7dfbcc-ws6nv, it will not work, the response is 404:
10.162.4.4 - - [10/Feb/2026:11:55:03 +0000] pdx-apisix-test.bblops.com "GET /routes/list HTTP/1.1" 404 47 0.000 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" - - - "http://pdx-apisix-test.bblops.com"
10.162.4.4 - - [10/Feb/2026:11:55:03 +0000] pdx-apisix-test.bblops.com "GET /routes/list HTTP/1.1" 404 47 0.000 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" - - - "http://pdx-apisix-test.bblops.com"
10.162.4.4 - - [10/Feb/2026:11:55:03 +0000] pdx-apisix-test.bblops.com "GET /routes/list HTTP/1.1" 404 47 0.000 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" - - - "http://pdx-apisix-test.bblops.com"
is this a bug?
Environment
- APISIX version (run
apisix version): 3.14.1 - apisix-ingress-controller: 2.0.1
- adc-server: 0.24.2
Thers is no problem with ApisixRoute and Ingress. I thought there are something wrong with HTTPRoute.
Hi @FIREcup, it appears that one of the pods failed to retrieve configuration correctly from etcd. Are there any error logs in the apisix-64fb7dfbcc-ws6nv pod?
Hi @FIREcup, it appears that one of the pods failed to retrieve configuration correctly from etcd. Are there any error logs in the
apisix-64fb7dfbcc-ws6nvpod?
I do not see any error logs. The issue has now been resolved. All pods are able to route traffic normally, and the problem cannot be stably reproduced. If I encounter this kind of abnormal situation again in the future, I will provide feedback accordingly.