phpdave commented on issue #11205: URL: https://github.com/apache/apisix/issues/11205#issuecomment-2081517035
> curl -i "http://127.0.0.1:9180/apisix/admin/routes" -X PUT -d ' > { > "id": "getting-started-ip", > "uri": "/ip", > "upstream": { > "type": "roundrobin", > "nodes": { > "httpbin.org:80": 1 > } > } > }' Yes direct connections to http://httpbin.org/ work but connections through APISIX with a route to httpbin.org:80 doesnt work http://127.0.0.1:9080/ip. > I cannot reproduce either. The HTTP port with httpbin.org should work. When you create the route, did it create successfully with a 201 response code? > > Sometimes the etcd nodes take a couple seconds to be ready and if you happen to be creating routes during then, the route is not created. I just recreated the situation using the documentation ```sh curl -sL https://run.api7.ai/apisix/quickstart | sh curl -i "http://127.0.0.1:9180/apisix/admin/routes" -X PUT -d ' { "id": "getting-started-ip", "uri": "/ip", "upstream": { "type": "roundrobin", "nodes": { "httpbin.org:80": 1 } } }' curl "http://127.0.0.1:9080/ip" ```  -- 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]
