yunfhu opened a new issue #5775:
URL: https://github.com/apache/apisix/issues/5775


   ### Issue description
   
   I checked the route config, found auto filled the schema with "http",is that 
lead to the proxy not work?
   `curl http://127.0.0.1:30080/apisix/admin/stream_routes -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X GET  | python -mjson.tool
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                    Dload  Upload   Total   Spent    Left  Speed
   100   399    0   399    0     0  57000      0 --:--:-- --:--:-- --:--:-- 
57000
   {
       "action": "get",
       "count": 1,
       "node": {
           "dir": true,
           "key": "/apisix/stream_routes",
           "nodes": [
               {
                   "createdIndex": 21164,
                   "key": "/apisix/stream_routes/1",
                   "modifiedIndex": 21164,
                   "value": {
                       "create_time": 1639291584,
                       "id": "1",
                       "server_addr": "10.1.2.177",
                       "server_port": 9100,
                       "update_time": 1639291584,
                       "upstream": {
                           "hash_on": "vars",
                           "nodes": {
                               "10.1.2.171:3306": 1
                           },
                           "pass_host": "pass",
                           "scheme": "http",
                           "type": "roundrobin"
                       }
                   }
               }
           ]
       }
   }`
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - 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:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `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]


Reply via email to