java.lang.RuntimeException: Authentication failed. on tSSH, tSCP

One Star

java.lang.RuntimeException: Authentication failed. on tSSH, tSCP

Hi,
I'm using Talend Open Studio 5.4.1r111943 and since I updated from version 5.3.0 I can't use neither tSSH nor tSCP as I always get this kind of error:
with tSSh:
Démarrage du job MySQL_To_GPv2 a 16:43 22/04/2014.
connecting to socket on port 3478
connected
2014-04-22 16:43:51|cOtDQp|cOtDQp|cOtDQp|7124|PIWIK|MySQL_To_GPv2|_ncVRMMn9EeOk0NESF1lE3g|0.1|Default||begin||
2014-04-22 16:43:51|cOtDQp|cOtDQp|cOtDQp|7124|PIWIK|MySQL_To_GPv2|_ncVRMMn9EeOk0NESF1lE3g|0.1|Default|tSSH_3|begin||
Exception in component tSSH_3
java.lang.RuntimeException: Authentication failed.
at piwik.mysql_to_gpv2_0_1.MySQL_To_GPv2.tSSH_3Process(MySQL_To_GPv2.java:433)
at piwik.mysql_to_gpv2_0_1.MySQL_To_GPv2.runJobInTOS(MySQL_To_GPv2.java:2875)
at piwik.mysql_to_gpv2_0_1.MySQL_To_GPv2.main(MySQL_To_GPv2.java:2733)
2014-04-22 16:44:14|cOtDQp|cOtDQp|cOtDQp|7124|PIWIK|MySQL_To_GPv2|_ncVRMMn9EeOk0NESF1lE3g|0.1|Default|tSSH_3|end|failure|22391
2014-04-22 16:44:14|cOtDQp|cOtDQp|cOtDQp|PIWIK|MySQL_To_GPv2|Default|6|Java Exception|tSSH_3|java.lang.RuntimeException:Authentication failed.|1
2014-04-22 16:44:14|cOtDQp|cOtDQp|cOtDQp|7124|PIWIK|MySQL_To_GPv2|_ncVRMMn9EeOk0NESF1lE3g|0.1|Default||end|failure|22414
disconnected
Job MySQL_To_GPv2 terminé à 16:44 22/04/2014.

with tSCPPut:
Démarrage du job MySQL_To_GPv2 a 16:44 22/04/2014.
connecting to socket on port 3373
connected
2014-04-22 16:44:51|pXJ7Qx|pXJ7Qx|pXJ7Qx|6356|PIWIK|MySQL_To_GPv2|_ncVRMMn9EeOk0NESF1lE3g|0.1|Default||begin||
Exception in component tSCPPut_1
java.lang.RuntimeException: Authentication failed.
at piwik.mysql_to_gpv2_0_1.MySQL_To_GPv2.tSCPPut_1Process(MySQL_To_GPv2.java:424)
at piwik.mysql_to_gpv2_0_1.MySQL_To_GPv2.runJobInTOS(MySQL_To_GPv2.java:2877)
at piwik.mysql_to_gpv2_0_1.MySQL_To_GPv2.main(MySQL_To_GPv2.java:2735)
2014-04-22 16:45:13|pXJ7Qx|pXJ7Qx|pXJ7Qx|PIWIK|MySQL_To_GPv2|Default|6|Java Exception|tSCPPut_1|java.lang.RuntimeException:Authentication failed.|1
2014-04-22 16:45:13|pXJ7Qx|pXJ7Qx|pXJ7Qx|6356|PIWIK|MySQL_To_GPv2|_ncVRMMn9EeOk0NESF1lE3g|0.1|Default||end|failure|22499
disconnected
Job MySQL_To_GPv2 terminé à 16:45 22/04/2014.

so basically the same error.
Problem is, it worked fine on 5.3.0 and it still works fine with putty with the same credentials i use in talend.
My guess is, it's the JRE that's messing with me, so I've try to lauch talend with -vm and deleting every other JRE in >> but it didn't worked out.
As of now, I'm stuck with this problem and can't see a way out of this other than going back to my old 5.3.0.
Any Idea Folks?
Nicolas
Seventeen Stars

Re: java.lang.RuntimeException: Authentication failed. on tSSH, tSCP

As far as I can tell you is, this is not a problem of the components in the release 5.4.1 because I use this release (currently also only for tests) and my jobs dealing with SSH works well.
The components unfortunately are not changed this a long time.
I suggest you try to spot some differences in the generated Java job code to figure out where is the difference.
Four Stars

Re: java.lang.RuntimeException: Authentication failed. on tSSH, tSCP

Hi Nicolas,
Can you please try to create another simple job with ssh to connect to some other server. This looks to be some authentication setting problem.
Are you using context variable for connection parameters?
Whether the password field for connection was altered?
Can you check by printing the user credential parameters before connection and ensure that they are correct?
Thanks
Vaibhav

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download