Menu

#546 Areca resets connection to SFTP server

areca-3.11
open
nobody
None
1
2014-09-18
2014-08-09
No

I get the following exception when I test a SFTP connection to my Ubuntu server:
14-08-09 16:58 - ERROR - AbstractProxy.resetClient() - Client reset because of the following error.
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
at com.jcraft.jsch.Session.connect(Session.java:504)
at com.jcraft.jsch.Session.connect(Session.java:154)
at com.myJava.file.driver.remote.sftp.jsch.SFTPProxy.connect(SFTPProxy.java:230)
at com.application.areca.impl.policy.AbstractRemoteFileSystemPolicy.validateExtended(AbstractRemoteFileSystemPolicy.java:141)
at com.application.areca.impl.policy.AbstractRemoteFileSystemPolicy.validate(AbstractRemoteFileSystemPolicy.java:89)
at com.application.areca.launcher.gui.SFTPEditionWindow.testSFTP(SFTPEditionWindow.java:565)
at com.application.areca.launcher.gui.SFTPEditionWindow$9$1.run(SFTPEditionWindow.java:511)
at java.lang.Thread.run(Unknown Source)

When I look with Wireshark I see that the SSH-connection is set up and that the client (Areca) resets the connection. This all takes about 6 seconds.

With psftp (Putty's SFTP client) I managed to connect to the same server and upload some files.

I use version 7.4.7 of Areca and Java runtime 1.8.0-b132.

Any idea about what causes this problem?

Kind regards,

Sander

Discussion

  • Sander Kooijmans

    Today I tried SFTP from another computer. And now it works. The other computer has Java 6 installed instead of Java 8.

    How does Areca choose the Java runtime? On my computer Java 6 and Java 8 are installed. I have tried changing JAVA_HOME and PATH to make them point to Java 6, but still Areca uses Java 8. I do not like to uninstall Java 8 since I need it for my work.

     
  • Adam Walczak

    Adam Walczak - 2014-09-18

    I have the same problem on Java 7 (build 1.7.0_45-b18).
    Only one jvm installed on my Windows 7.

     

Log in to post a comment.