You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/05 00:44:11 UTC

[GitHub] [apisix] rmGFW commented on issue #5172: request help: 404 Route Not Found

rmGFW commented on issue #5172:
URL: https://github.com/apache/apisix/issues/5172#issuecomment-933967377


   > Show the reproduction steps in text form.
   
   curl 'https://apisix-dashboard.xxxx.com/apisix/admin/upstreams' \
     -H 'Connection: keep-alive' \
     -H 'Pragma: no-cache' \
     -H 'Cache-Control: no-cache' \
     -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' \
     -H 'Accept: application/json' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -H 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MzMzMjUyNzYsImlhdCI6MTYzMzMyMTY3Niwic3ViIjoiY2FjaGUtbWlzc2luZyJ9.-QrzMcwLtJZ0tj8jOZVfsKsZ76D6V_YOx3hyW4T2riA' \
     -H 'sec-ch-ua-mobile: ?0' \
     -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36' \
     -H 'sec-ch-ua-platform: "macOS"' \
     -H 'Origin: https://apisix-dashboard.xxxx.com' \
     -H 'Sec-Fetch-Site: same-origin' \
     -H 'Sec-Fetch-Mode: cors' \
     -H 'Sec-Fetch-Dest: empty' \
     -H 'Referer: https://apisix-dashboard.xxxx.com/upstream/create' \
     -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,ru;q=0.7' \
     --data-raw '{"name":"nginx-file-server","type":"roundrobin","pass_host":"pass","scheme":"http","timeout":{"connect":6,"send":6,"read":6},"keepalive_pool":{"size":320,"idle_timeout":60,"requests":1000},"nodes":{"nginx-file-server:80":100}}' \
     --compressed
   
   curl 'https://apisix-dashboard.xxxx.com/apisix/admin/routes' \
     -H 'Connection: keep-alive' \
     -H 'Pragma: no-cache' \
     -H 'Cache-Control: no-cache' \
     -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' \
     -H 'Accept: application/json' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -H 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MzMzMjUyNzYsImlhdCI6MTYzMzMyMTY3Niwic3ViIjoiY2FjaGUtbWlzc2luZyJ9.-QrzMcwLtJZ0tj8jOZVfsKsZ76D6V_YOx3hyW4T2riA' \
     -H 'sec-ch-ua-mobile: ?0' \
     -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36' \
     -H 'sec-ch-ua-platform: "macOS"' \
     -H 'Origin: https://apisix-dashboard.xxxx.com' \
     -H 'Sec-Fetch-Site: same-origin' \
     -H 'Sec-Fetch-Mode: cors' \
     -H 'Sec-Fetch-Dest: empty' \
     -H 'Referer: https://apisix-dashboard.xxxx.com/routes/create' \
     -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,ru;q=0.7' \
     --data-raw '{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","CONNECT","TRACE"],"priority":0,"name":"nginx-file-server","desc":"","status":1,"labels":{},"uri":"/*","host":"file.xxxx.com","upstream_id":"375461592688494131"}' \
     --compressed
   
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org