[resolved] Error With tFTP component

One Star

[resolved] Error With tFTP component

Hi all !
I have an issue with FTP components. I can connect to my FTP with the tFTPConnection, and when I want to do anything with an other component (like tFTPFileList, tPut, ...) I have this issue :
Exception in component tFTPFileList_1
com.jcraft.jsch.JSchException: failed to send channel request
at com.jcraft.jsch.Request.write(Request.java:65)
at com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47)
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:183)
at com.jcraft.jsch.Channel.connect(Channel.java:189)
at com.jcraft.jsch.Channel.connect(Channel.java:143)
at gouvernance.testestest_0_1.testestest.tFTPFileList_1Process(testestest.java:382)
at gouvernance.testestest_0_1.testestest.tFTPConnection_1Process(testestest.java:316)
at gouvernance.testestest_0_1.testestest.runJobInTOS(testestest.java:691)
at gouvernance.testestest_0_1.testestest.main(testestest.java:565)
I run my job on 3 servers :
- 2 are ok and I can connect and put my files on ;
- 1 which generate this issue ;
I didn't find a lot of post with this issue so anyone can help me or give me some informations ?
Thanks a lot !

Accepted Solutions
One Star

Re: [resolved] Error With tFTP component

Hi !
We just have to restart the Service to get the modifications of ssh we ask, now everything is good !
We can access the directory.
Thanks !

All Replies
Community Manager

Re: [resolved] Error With tFTP component

Hi
The SFTP support is checked, What's the authentication method?
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Error With tFTP component

Hi Shong !
The authentication method is SFTP with public key.
You can find a job which throw the exception in Upload slots.
Thanks for your help !
Community Manager

Re: [resolved] Error With tFTP component

Hi
Maybe you don't the private key or it is a invalid key on the problematic server? You use an existing connection on tFTPFileList, right?
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Error With tFTP component

We use the same key on the 3 servers, it's the good one because I can access the directory with WinSCP.
Yes I use the existing connection in my tFTPFileList.
Thanks !
One Star

Re: [resolved] Error With tFTP component

Hi !
We just have to restart the Service to get the modifications of ssh we ask, now everything is good !
We can access the directory.
Thanks !
Community Manager

Re: [resolved] Error With tFTP component

Hi
Good news!
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Error With tFTP component

hello guys,
I am having a following error:
com.jcraft.jsch.JSchException: failed to send channel request
at com.jcraft.jsch.Request.write(Request.java:65)
at com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47)
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:190)
at com.jcraft.jsch.Channel.connect(Channel.java:200)
at com.jcraft.jsch.Channel.connect(Channel.java:144)
I can access it directly.....
Five Stars

Re: [resolved] Error With tFTP component

Hi,
I'm facing the trouble while I'm using the tftp connection component. Actually my ftp user id consist forward slash(\) and while I'm trying to login with correct user name and password, its giving me an below error
Exception in thread main java.lang.Error: Unresolved compilation problem:
 Invalid escape sequence (valid ones are  \b  \t  \n  \f  \r  \"  \'  \\ )
Could you please help in resolving me the error.
Thanks in advance!!
Regards,
Chaitanya