Skip to content
Snippets Groups Projects
Commit eb3eb0ff authored by Chris Hines's avatar Chris Hines
Browse files

bind on ipv4 not 6

parent dc12d6e4
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!45Test,!44Dev
Pipeline #11915 failed
......@@ -452,9 +452,13 @@ class Ssh:
sess.pids.append(tunnel_p.pid)
logger.debug('tunnel created with pid {}'.format(tunnel_p.pid))
try:
tunnel_p.wait(timeout=3)
(stdout,stderr) = tunnel_p.communicate()
logger.error('tunnel process exited {} {}'.format(stdout,stderr))
#tunnel_p.wait(timeout=3)
import time
time.sleep(3)
tunnel_p.poll()
if tunnel_p.returncode != None
(stdout,stderr) = tunnel_p.communicate()
logger.error('tunnel process exited {} {} {}'.format(tunnel_p.returncode, stdout, stderr))
except subprocess.TimeoutExpired:
pass
return localport, [tunnel_p.pid]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment