Hi DTaylor,
What I wanted to test is whether you are able to connect to the remote server from the machine where your CloverETL Server is installed (in order to rule out the possibility of blocking by firewall). Can you please try this?
Thanks.
Hi DTaylor,
What I wanted to test is whether you are able to connect to the remote server from the machine where your CloverETL Server is installed (in order to rule out the possibility of blocking by firewall). Can you please try this?
Thanks.
I installed FileZilla on the virtual machine where the CloverETL Server is installed and was able to connect to the SFTP site just fine with the key file.
Hello DTaylor,
Thank you for all your testing. I have another one for you if I may:
The logging is enabled until CloverETL Server is restarted. If you wanted to disable it without restart, please let me know and we will prepare similar graph for this task.
By the way, if you have troubles with upload of some file types, please zip them into one package and upload the zip.
Thanks for your cooperation.
Okay, here’s the log file.
Thanks. The log file unfortunately does not contain any explanation of the unsuccessful login. Key authentication is tried as the first option but it fails without any error message.
Could you please send an information about:
And could you please try to install CloverETL Designer on the same machine as CloverETL Server is installed? Just for the purpose of this test, then you can delete it. Is this new Designer instance able to connect to SFTP?
I can try to install the designer, but that will take a while as I will have to set up the database connections and the Clover projects to run the graph and I’ve already burned quite a bit of time trying to figure this issue out, so I’m dealing with other priorities now. I’ve connected to SFTP from this server before, just never with certificate authentication. It’s always been username and password with our other SFTP connections. I’ll get back to you later after I’ve been able to install the designer.
That would be great, thanks.
Ad 3) and 4) The different versions of Java may be the cause this issue. If there were some changes or improvements between versions 6 and 7 in this matter, it would explain why you are able to connect using Designer with Java 7 and unable to connect with Server using Java 6. If it is possible, try to run Server with exactly the same version of Java as your Designer uses.
Regards,
If I wanted to update the Server’s Java version is there any precautions I should take (like stopping the server) or should an update-in-place be okay?
In this case you should shut down your CloverETL Server. You should also make sure that Server uses the new Java – that means JAVA_HOME property should point to a directory where the new Java is installed. This property can be either set as environmental variable, or directly in your Tomcat Server configuration.
I finally got more time to work more on this. I installed Java 7 on the Clover Server and pointed Tomcat at it. I still received the same issue.
I installed CloverETL Designer 3.5.0 on the server and set the graph up in a test project with its connections and parameter files. I was able to run and connect to the SFTP without a problem through the designer. So it appears to be something with CloverETL Server itself.
Are you sure CloverETL Server really accepted your setting and used the correct version of Java? Could you please copy+paste and post the value you see in Configuration → System Info → System properties → java.home?
And the other important thing, is your keystore set correctly in CloverETL Server configuration? Could you please post (without passwords) also your certificate setting for both CloverETL Designer and CloverETL Server and the value of Configuration → System Info → JVM → Input arguments passed to the Java virtual machine?
Thanks,
Are you sure CloverETL Server really accepted your setting and used the correct version of Java? Could you please copy+paste and post the value you see in Configuration → System Info → System properties → java.home?
“imriskal”
C:\Program Files\Java\jdk1.7.0_55\jre
And the other important thing, is your keystore set correctly in CloverETL Server configuration? Could you please post (without passwords) also your certificate setting for both CloverETL Designer and CloverETL Server and the value of Configuration → System Info → JVM → Input arguments passed to the Java virtual machine?
Where would I find the keystore setting and the certificate setting?
Input Arguments:
[-Dcatalina.base=C:\apache-tomcat-6.0.35, -Dcatalina.home=C:\apache-tomcat-6.0.35, -Djava.endorsed.dirs=C:\apache-tomcat-6.0.35\endorsed, -Djava.io.tmpdir=E:\sgi-dev\tomcat_tmp, -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager, -Djava.util.logging.config.file=C:\apache-tomcat-6.0.35\conf\logging.properties , -XX:MaxPermSize=512m, -Dverbose:gc , -XX:MaxDirectMemorySize=256m, -Dcom.sun.management.jmxremote, -Dcom.sun.management.jmxremote.port=8080, -Dcom.sun.management.jmxremote.ssl=false, -Dcom.sun.management.jmxremote.authenticate=false, -Djava.rmi.server.hostname=<Removed IP Address>, -XX:+UseConcMarkSweepGC, -XX:+CMSClassUnloadingEnabled, -XX:+CMSPermGenSweepingEnabled, -Xms128m, -Xmx6144m]
Hi DTaylor,
Thank you for the information. We have added some extra logging into the library, so now we will get more information that should help us finding the cause. In order to update reach this, I would like to do the following steps:
Replace JSch library (jsch-0.1.50.jar) from your CloverETL Server installation with the attached jar file. The library is located under <TOMCAT_HOME>/webapps/clover/WEB-INF/lib/
Restart your Tomcat server.
Run attached EnableJSchLoggingFixed.grf
Run your graph in DEBUG mode.
After you run the graph, please share the resulting log with us.
Thanks
This has been resolved and I’ll own up to my idiocy. Somehow an extra character had made it’s way into the parameter I use for the address. This extra character was on the username (an asterisk for the curious) and I overlooked it repeatedly whenever I looked at it. Thanks for your help.
I don’t know how to get the stack trace. I get this error when trying to validate the connection during connection setup. It tells me it couldn’t connect and lists that exception as the reason. But that’s all it says, it doesn’t actually present me with a stack trace.
Earlier in the thread, they determined that there is actually a bug when trying to use connection setup to test a connection with a private key.