wxbty opened a new issue, #9608:
URL: https://github.com/apache/apisix/issues/9608

   ### Description
   
   When I use the guide of the document 
https://apisix.apache.org/docs/apisix/xrpc/ to proxy the redis protocol, the 
result cannot be obtained correctly.
   
![image](https://github.com/apache/apisix/assets/38374721/07e7012f-d841-4e9b-8567-d043b821b8ea)
   
   ```shell
   curl http://127.0.0.1:9180/apisix/admin/stream_routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "upstream": {
           "type": "none",
           "nodes": {
               "127.0.0.1:6379": 1
           }
       },
       "protocol": {
           "name": "redis",
           "conf": {
               "faults": [{
                   "commands": ["get", "ping"],
                   "delay": 5
               }]
           }
       }
   }
   '
   ```
   
   ```yaml
   xrpc:
     protocols:
       - name: redis
   ```
   
   
   ### Environment
   
   - APISIX version (run `apisix version`): master latest
   - Operating system (run `uname -a`): centos7
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 
openresty/1.21.4.1
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):  3.5.0
   - 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: notifications-unsubscr...@apisix.apache.org.apache.org

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

Reply via email to