githubxubin commented on issue #10907:
URL: https://github.com/apache/apisix/issues/10907#issuecomment-1926288220

   > ```shell
   > ```shell
   > curl` "http://127.0.0.1:9180/apisix/admin/routes?page=1&page_size=10"; -H 
'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X GET
   > ```
   > 
   > 
   >     
   >       
   >     
   > 
   >       
   >     
   > 
   >     
   >   
   > ```
   
   The same effect, or 404, my local development is also normal, is there a 
problem with what configuration, this is too strange 
   
   
![image](https://github.com/apache/apisix/assets/39228009/6aa79552-d591-4cbb-93bc-c3e32edea2f0)
   
   ```
   [root@localhost apisix-dashboard]# curl http://10.210.21.130:9080/status/ -v
   * About to connect() to 10.210.21.130 port 9080 (#0)
   *   Trying 10.210.21.130...
   * Connected to 10.210.21.130 (10.210.21.130) port 9080 (#0)
   > GET /status/ HTTP/1.1
   > User-Agent: curl/7.29.0
   > Host: 10.210.21.130:9080
   > Accept: */*
   > 
   < HTTP/1.1 404 Not Found
   < Date: Mon, 05 Feb 2024 06:00:39 GMT
   < Content-Type: text/plain; charset=utf-8
   < Transfer-Encoding: chunked
   < Connection: keep-alive
   < Server: APISIX/3.6.0
   < 
   {"error_msg":"404 Route Not Found"}
   * Connection #0 to host 10.210.21.130 left intact
   [root@localhost apisix-dashboard]# 
   
   ```
   
   ```
   [root@mysql5]# curl 
"http://127.0.0.1:9180/apisix/admin/routes?page=1&page_size=10"; -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X GET
   
{"total":2,"list":[{"value":{"name":"test","groupId":"1","openId":"","upstream":{"retries":0,"timeout":{"send":6,"connect":6,"read":6},"discovery_args":{"group_name":"","namespace_id":""},"type":"roundrobin","pass_host":"pass","keepalive_pool":{"idle_timeout":60,"requests":1000,"size":320},"nodes":[{"port":1001,"host":"10.210.21.105","weight":1}],"scheme":"http"},"create_time":1707104130,"id":"499247217815585478","uri":"/test/*","priority":1,"update_time":1707112682,"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"status":0},"createdIndex":132,"key":"/apisix/routes/499247217815585478","modifiedIndex":266},{"value":{"name":"test1","groupId":"","openId":"","upstream":{"scheme":"http","type":"roundrobin","pass_host":"pass","keepalive_pool":{"idle_timeout":60,"requests":1000,"size":320},"nodes":[{"port":2112,"host":"localhost","weight":1}],"timeout":{"send":6,"connect":6,"read":6}},"create_time":1707112686,"id":"499261571847946959","uri":"/status/*","update_time":1707
 
112821,"methods":["GET","POST","PUT"],"status":1},"createdIndex":267,"key":"/apisix/routes/499261571847946959","modifiedIndex":268}]}
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to