[ 
https://issues.apache.org/jira/browse/AIRFLOW-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054509#comment-17054509
 ] 

ASF GitHub Bot commented on AIRFLOW-6494:
-----------------------------------------

stale[bot] commented on pull request #7088: [WIP][AIRFLOW-6494] SSH host_proxy 
has to be fresh
URL: https://github.com/apache/airflow/pull/7088
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> SSH host_proxy has to be fresh
> ------------------------------
>
>                 Key: AIRFLOW-6494
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6494
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.10.1, 2.0.0
>            Reporter: Jianchao Yang
>            Priority: Major
>
> AIRFLOW-1762 moved `host_proxy` in contrib/hooks/ssh_hook.py to __init__, 
> which causes the proxy socket to be closed whenever the SSH client is 
> closed—which happens every time when exiting `with get_conn() as client`.
> The inconsistency between SSH Client and ProxyCommand's lifecycles would 
> result in "Broken Pipe" error (because the proxy socket has already been 
> closed!) when the same hook instance is used multiple time (often needed in 
> some custom operators).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to