hozaifaaoud opened a new issue #4054:
URL: https://github.com/apache/apisix/issues/4054


   ### Issue description
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 2.4
   * OS (cmd: `uname -a`): #60-Ubuntu
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   * etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   * apisix-dashboard version, if have:
   
   Hi all,
   I am new to APISIX.
   I just trying to create a route to an API the is up and running on my local 
machine.
   the details of the route are :
   curl http://127.0.0.1:9080/apisix/admin/routes/2 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   {
       "uri": "/testrouting",
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "http://127.0.0.1:9090": 1
           }
       }
   }'
   this return that the route created successfully
   
   when I am trying to access the route using this link:
    curl http://127.0.0.1:9080/testrouting
   then this  appear 
   <html>
   <head><title>503 Service Temporarily Unavailable</title></head>
   <body>
   <center><h1>503 Service Temporarily Unavailable</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   So could you please help me?
   


-- 
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.

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


Reply via email to