[GitHub] [apisix] yunfhu commented on issue #5775: request help: stream-proxy as mysql proxy not work

2021-12-12 Thread GitBox


yunfhu commented on issue #5775:
URL: https://github.com/apache/apisix/issues/5775#issuecomment-991911870


   inside the apisix pod,I use the telnet command to check the stream proxy 
route, it shows ok
   
   ```
   @MacBook-Pro APISIX % kubectl exec -it apisix-557f5f646f-r69z9 sh
   kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future 
version. Use kubectl exec [POD] -- [COMMAND] instead.
   sh-4.2# telnet localhost 9100
   Trying 127.0.0.1...
   Connected to localhost.
   Escape character is '^]'.
   J
   5.7.36@1->t-::kmLEXU'7Lmysql_native_passwordConne
   ```
   but when I use the nodeport to test proxy function, the connection was closed
   
   ```
   @MacBook-Pro ~ % telnet localhost 30100
   Trying ::1...
   Connected to localhost.
   Escape character is '^]'.
   Connection closed by foreign host.
   ```
   and here is the service information:
   
   ```
   NAMESPACE NAME TYPECLUSTER-IP   EXTERNAL-IP   
PORT(S)  AGE
   default   apisix   NodePort10.111.193.248   
9080:30080/TCP,9100:30100/TCP39m
   ```


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

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




[GitHub] [apisix] yunfhu commented on issue #5775: request help: stream-proxy as mysql proxy not work

2021-12-12 Thread GitBox


yunfhu commented on issue #5775:
URL: https://github.com/apache/apisix/issues/5775#issuecomment-992060431


   
   
   
   
   > @bisakhmondal
   > Could you check if MySQL can be proxied via APISIX? Thanks!
   pls read previous comments which described very clearly


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

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




[GitHub] [apisix] yunfhu commented on issue #5775: request help: stream-proxy as mysql proxy not work

2021-12-12 Thread GitBox


yunfhu commented on issue #5775:
URL: https://github.com/apache/apisix/issues/5775#issuecomment-992194387


   @bisakhmondal thanks for your advice, the access works now


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

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