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 2022/05/25 04:00:22 UTC

[GitHub] [apisix] jamesislebron opened a new issue, #7123: help request: stream_proxy seems not work

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

   ### Description
   
    **apisix verison: 2.11
    config.yaml:**
   
   <img width="953" alt="image" src="https://user-images.githubusercontent.com/20439714/170175612-b860a693-68ad-4e6e-8b64-956f5056b8f5.png">
   
   **well,when I proxy 9100 to a http service like this:**
   
   <img width="489" alt="image" src="https://user-images.githubusercontent.com/20439714/170175739-8afa6c73-5885-41c5-82d9-d5fc930e10ac.png">
   <img width="689" alt="image" src="https://user-images.githubusercontent.com/20439714/170175758-abb4e466-2936-41b6-a9cc-4b8e723371f0.png">
   
   **it works:**
   
   <img width="544" alt="image" src="https://user-images.githubusercontent.com/20439714/170176062-873c443f-210a-43d0-8e5a-920d991e77ba.png">
   
   **But when I proxy 9100 to a ssh service,it seems doesn't work:**
   
   <img width="326" alt="image" src="https://user-images.githubusercontent.com/20439714/170176364-eb25a8e2-6bb8-496b-9634-53ca2f5b08b8.png">
   
   <img width="799" alt="image" src="https://user-images.githubusercontent.com/20439714/170176338-fbdf61ba-56b9-4f9d-8a96-caee3494c41a.png">
   
   
   ### Environment
   
   - APISIX version (2.11):
   - Operating system (centos 7):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - 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-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix] tzssangglass commented on issue #7123: help request: stream_proxy seems not work

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7123:
URL: https://github.com/apache/apisix/issues/7123#issuecomment-1136816171

   > **Is the stream_route upstream scheme "http" cause this failure ?**
   
   Then you can try setting
   
   ```yaml
   stream_proxy:
     only: true
   ```
   
   to proxy only stream requests.


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


[GitHub] [apisix] tzssangglass commented on issue #7123: help request: stream_proxy seems not work

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7123:
URL: https://github.com/apache/apisix/issues/7123#issuecomment-1136770540

   Can you use nginx or openresty to verify that the proxy telnet is available?
   
   From the logs you gave, it looks like the connection was established, but was closed for other reasons.


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


[GitHub] [apisix] Chever-John commented on issue #7123: help request: stream_proxy seems not work

Posted by GitBox <gi...@apache.org>.
Chever-John commented on issue #7123:
URL: https://github.com/apache/apisix/issues/7123#issuecomment-1177986868

   @jamesislebron Hello, if you can, can you please tell me your configuration command? I don't think this is a detailed description(official doc).


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


[GitHub] [apisix] jamesislebron commented on issue #7123: help request: stream_proxy seems not work

Posted by GitBox <gi...@apache.org>.
jamesislebron commented on issue #7123:
URL: https://github.com/apache/apisix/issues/7123#issuecomment-1136901719

   > 
   
   Em...
   
   Well I try to change to another tcp upstream service without setting update and It works.
   
   Maybe there is another error in my first failure example.
   
   Thanks a lot !


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


[GitHub] [apisix] jamesislebron closed issue #7123: help request: stream_proxy seems not work

Posted by GitBox <gi...@apache.org>.
jamesislebron closed issue #7123: help request: stream_proxy seems not work
URL: https://github.com/apache/apisix/issues/7123


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


[GitHub] [apisix] jamesislebron commented on issue #7123: help request: stream_proxy seems not work

Posted by GitBox <gi...@apache.org>.
jamesislebron commented on issue #7123:
URL: https://github.com/apache/apisix/issues/7123#issuecomment-1136790447

   > 
   **I have try to use nginx and it works;**
   
   **With my first example:**
   
   <img width="846" alt="image" src="https://user-images.githubusercontent.com/20439714/170194659-5480dce5-7db9-47da-a291-d2566a1a65cf.png">
   
   **It seems that  the config proxy http service sucess, while tcp service failed.**
   
   **Is the stream_route upstream scheme "http" cause this failure ?**
   
   <img width="443" alt="image" src="https://user-images.githubusercontent.com/20439714/170195207-b94796ce-4716-483e-8bec-c29fc6ad7b82.png">
   


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