Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 29292 invoked from network); 13 Oct 2008 10:16:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 10:16:20 -0000 Received: (qmail 69424 invoked by uid 500); 13 Oct 2008 10:16:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 69382 invoked by uid 500); 13 Oct 2008 10:16:13 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 69364 invoked by uid 99); 13 Oct 2008 10:16:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 03:16:13 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davidcorley@gmail.com designates 74.125.92.149 as permitted sender) Received: from [74.125.92.149] (HELO qw-out-1920.google.com) (74.125.92.149) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 10:15:08 +0000 Received: by qw-out-1920.google.com with SMTP id 5so476887qwc.10 for ; Mon, 13 Oct 2008 03:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=syv6AXwITaAzGoNJzCsG3vhjirE7BcGDf80k54ClFp4=; b=FK3cmuQWioFnGrBPH9fEzXg/QP8Aqf8E0gbv10g+kqM1Nyr/yd/ZTcyUXRGW0Gnflb pfgw31Rw9ieMof7enhlZJjoJQB+0NlAXlH6UAfsx3WwtWdyccIWCTl67ClFFFIc1f8FZ LUty529neMv0+ar0/NryLgN0fhdUi9b07vn2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=S41t7kf0nETzA9n9ZWcEddjyu5cK8AyTmMdQxjTr2vVIP51q/uc4YeMAXp0Vv0VykL jWXxZlxWfeKn3TH4aAjwmS4ymHLVGc6v1017AmivrWr/fgufLOLykVHYgN+7Map9vWn3 u5NV+8xBaupJ7iGzciKuBB6lxptlwKEP5lc+k= Received: by 10.214.11.18 with SMTP id 18mr4426303qak.82.1223892944544; Mon, 13 Oct 2008 03:15:44 -0700 (PDT) Received: by 10.215.13.15 with HTTP; Mon, 13 Oct 2008 03:15:44 -0700 (PDT) Message-ID: <26c776bf0810130315o1532e11p61e8d86b8978ce76@mail.gmail.com> Date: Mon, 13 Oct 2008 11:15:44 +0100 From: Dave To: user@ant.apache.org Subject: Random connection resets using ssh task MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_88942_29074747.1223892944570" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_88942_29074747.1223892944570 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm seeing random disconnect errors when I use the ssh task.I've recently setup ssh with a windows server client logging into a windows server running cygwin sshd. There seems to be periodic connection issues. I can connect and execute tasks for example say 10 runs, then the next run suddenly has its connection reset? =========================================== BUILD FAILED com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset at com.jcraft.jsch.Session.connect(Session.java:485) at com.jcraft.jsch.Session.connect(Session.java:149) at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.java:212) at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java:158) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93) at org.apache.tools.ant.Main.runBuild(Main.java:743) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) ======================================================= It seems to be not-entirely random. I can connect for a series of runs, then am disconnected for a period of time before I can connect again for a series of runs. Perhaps it's got something to do with my sshd configuration? Can anyone help me with this? I'm running Ant 1.7.1 on JDK 1.4.2_18 on Windows 2K3 server standard. -- "A lot of people are afraid of heights. Not me, I'm afraid of widths." ------=_Part_88942_29074747.1223892944570--