Re: [Avogadro-Discuss] XTALOPT hangs if server connection lost

2015-08-17 Thread David Lonie
On Fri, Aug 14, 2015 at 4:35 PM, Cohen, Ronald rco...@carnegiescience.edu
wrote:

 I had fixed this in an earlier version but don't remember how.
 Sometimes the connection to the server or nameserver goes down (about
 once a day) and I see an error like:

 SSHConnectionLibSSH::isConnected(): server timeout.
 SSH error:  Failed to resolve hostname legion.rc.ucl.ac.uk (Name or
 service not known)
 Cannot connect to ssh server ucfb...@legion.rc.ucl.ac.uk:22
 Warning:  Cannot connect to ssh server


If you're having issues resolving hosts, there's not much that can be done
about that from the XtalOpt side of things. Might be VPN related?

Dave
--
___
Avogadro-Discuss mailing list
Avogadro-Discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-discuss


Re: [Avogadro-Discuss] XTALOPT hangs if server connection lost

2015-08-17 Thread Ronald Cohen
I can do it myself againi guess my changes from some years ago didn't 
stick.  What is needed is to loop with say 60 second sleeps after testing for 
success from ssh.  Even if a server or network is down for hours then xtalopt 
won't skip a beat and jobs will complete and be tallied from the server as soon 
as the network comes back.
Sincerely,

Ron


Sent from my iPad

 On Aug 17, 2015, at 9:41 AM, David Lonie david.lo...@kitware.com wrote:
 
 On Fri, Aug 14, 2015 at 4:35 PM, Cohen, Ronald rco...@carnegiescience.edu 
 wrote:
 I had fixed this in an earlier version but don't remember how.
 Sometimes the connection to the server or nameserver goes down (about
 once a day) and I see an error like:
 
 SSHConnectionLibSSH::isConnected(): server timeout.
 SSH error:  Failed to resolve hostname legion.rc.ucl.ac.uk (Name or
 service not known)
 Cannot connect to ssh server ucfb...@legion.rc.ucl.ac.uk:22
 Warning:  Cannot connect to ssh server
 
 If you're having issues resolving hosts, there's not much that can be done 
 about that from the XtalOpt side of things. Might be VPN related? 
 
 Dave
 --
 ___
 Avogadro-Discuss mailing list
 Avogadro-Discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/avogadro-discuss
--
___
Avogadro-Discuss mailing list
Avogadro-Discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-discuss