liufeiguo commented on issue #8868: URL: https://github.com/apache/apisix/issues/8868#issuecomment-1436316453
> Could you try to use the `curl` command to reproduce the problem? **curl http://127.0.0.1:9080/apisix/admin/routes/1003 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "uri": "/testportal/*", "name": "testportal", "desc": "netauth管理端路由", "priority": 1, "upstream": { "nodes": [{ "host": "10.210.21.101", "port": 80, "weight": 1 }], "retries": 2, "timeout": { "connect": 9, "send": 3, "read": 3 }, "type": "roundrobin", "scheme": "http", "pass_host": "pass", "keepalive_pool": { "idle_timeout": 60, "requests": 1000, "size": 320 }, "retry_timeout": 2, "checks": { "active": { "timeout": 5, "http_path": "/test/test", "host": "10.210.21.113", "port": 9077, "healthy": { "interval": 2, "successes": 1 }, "unhealthy": { "interval": 1, "http_failures": 2 }, "req_headers": ["User-Agent: curl/7.29.0"] }, "passive": { "healthy": { "http_statuses": [200, 201], "successes": 3 }, "unhealthy": { "http_statuses": [500], "http_failures": 3, "tcp_failures": 3 } } } }, "labels": { "API_VERSION": "v1.0" }, "status": 1 }'** When I visit http://127.0.0.1:9080/testportal/ Corresponding active health check http://10.210.21.113:9077 The service did not receive any requests, and the active health check did not send messages to the specified path -- 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]
