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

   ### Current Behavior
   
   if i setting two or more upstream(mysql)  to stream tcp, connect failed
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   apisix 3.2
   
   curl http://127.0.0.1:9180/apisix/admin/stream_routes/1 -H 'X-API-KEY:key' 
-X PUT -d '
   {
       "upstream": {
           "nodes": [
                   {"host": "ip-1", "port": 3306, "weight": 1},
                   {"host": "ip-2", "port": 3306, "weight": 1}
           ],
           "type": "roundrobin"
       }
   }
   
   mysql connect failed  if tow upstream, setting one upstream connect
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.2
   Operating system (run uname -a): 3.10.0-1160.59.1.el7.x86_64
   OpenResty / Nginx version (run openresty -V or nginx -V):
   etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 
3.4.0
   APISIX Dashboard version, if relevant: 3.0.0
   Plugin runner version, for issues related to plugin runners:
   LuaRocks version, for installation issues (run luarocks --version): 2.3.0
   


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