-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help request: about add a route then all requst return 404 error #8132
Comments
From your logs and accordingly, the 404 is returned form upstream, not from APISIX. |
when I add the rule , all request will return 404, not only the proxy domain, it's mean the apisix can't handle any request just return 404. I can get response from the upstream direct connection。 |
I observed that you added several routes with uri
Are you saying that the admin API will also 404? If possible, please provide minimal replication use cases. I need to know.
so I can reproduce it in my local. |
I deploy anoth one, but i can't reproduce it. |
Thanks for tzssangglass, The key to solve problem is the fix : #7466, I upgrade the apisix to 15.0, It's fine . |
Description
Hello I'm Very newbie into API Gateway. I install apisix and apisix controller in kubernetes, but I use apisix controller only
install dashbord, mostly I use apisix + consul。now my apisix is ok until add a rule ,the rule local_proxy other domain,like that.
location /scrm-organization-api {
proxy_pass http://xxx,yyyy.com;
}
then you can use the local_proxy,but after a minutes . all request will return 404. include the dashboard,apisix-admin.
but the apisix logs only print 404, I can't get userful log .
the apisix can't use, but it look like ok, and the alway print the log.
this is ok :
when add a rule :
after a minutes
all reuqest will 404.
Environment
apisix version
): 2.14.1uname -a
): ID=alpine VERSION_ID=3.14.6openresty -V
ornginx -V
): openresty/1.19.9.1curl http://127.0.0.1:9090/v1/server_info
): 3.4.18luarocks --version
): 3.8.0apisix ingress-apisix 1 2022-06-27 12:05:12.308797023 +0800 CST deployed apisix-0.10.0 2.14.1
The text was updated successfully, but these errors were encountered: