PlasticJonbenetDoll opened a new issue, #11051: URL: https://github.com/apache/apisix/issues/11051
### Description Hi, I have an issue. My rout: curl "http://127.0.0.1:9180/apisix/admin/routes/8" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d ' { "methods": ["POST"], "uri": "/api/v1/generateToken", "upstream": { "type": "roundrobin", "scheme": "https", "pass_host": "rewrite", "upstream_host": "xxx.pp.prod", "nodes": { "xxx.pp.prod": 1 } } }' When I do simple curl to upstream, it works fine: curl -v --location 'http://xxx.pp.prod/api/v1/generateToken' \ --header 'Content-Type: application/json' \ --data '{ "username": "USER", "password": "PASSWORD" }' But if I do request using apisix, it returns 503 * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 9080 (#0) > POST /api/v1/generateToken HTTP/1.1 > Host: 127.0.0.1:9080 > User-Agent: curl/7.61.1 > Accept: */* > Content-Type: application/json > Content-Length: 182 > * upload completely sent off: 182 out of 182 bytes < HTTP/1.1 503 Service Temporarily Unavailable < Date: Fri, 15 Mar 2024 10:38:47 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 269 < Connection: keep-alive < Server: APISIX/3.6.0 What can be the reason for this? ### Environment - APISIX version (run `apisix version`): 3.6 - Operating system (run `uname -a`): Linux Redhat - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - 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`): -- 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]
