fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Occasional exceptions...


From: Sergey Konozenko
Subject: Re: [Fab-user] Occasional exceptions...
Date: Fri, 29 Jan 2010 17:31:48 -0500

Eric,

Try inserting the following three lines into your ~/.ssh/config file:

ServerAliveInterval 300
ServerAliveCountMax 3
TCPKeepAlive yes

Let us know if this fixes the problem.

Sergey

On Fri, Jan 29, 2010 at 4:09 PM, Erik Wickstrom <address@hidden> wrote:
After my script runs for a few minutes, It will sometimes crash with this traceback:

% run: mkdir -p /home/linx/web/public_html;
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/fabric/main.py", line 419, in main
  File "/root/wp-deploy/fabfile.py", line 34, in deploy
    d.file_upload()
  File "/root/wp-deploy/fabfile.py", line 132, in file_upload
    run("mkdir -p %s;" % path)
  File "build/bdist.linux-x86_64/egg/fabric/network.py", line 382, in host_prompting_wrapper
  File "build/bdist.linux-x86_64/egg/fabric/operations.py", line 419, in run
  File "build/bdist.linux-x86_64/egg/paramiko/channel.py", line 212, in exec_command
  File "build/bdist.linux-x86_64/egg/paramiko/channel.py", line 1077, in _wait_for_event
paramiko.SSHException: Channel closed.
Disconnecting from server1... done.

Any idea what could be causing it?  I'm running Fabric 0.9.0

Thanks!
Erik

_______________________________________________
Fab-user mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/fab-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]