Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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 !
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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 !

View solution in original post

8 Replies
Anonymous
Not applicable
Author

Hi
The SFTP support is checked, What's the authentication method?
Best regards
Shong
Anonymous
Not applicable
Author

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 !
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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 !
Anonymous
Not applicable
Author

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 !
Anonymous
Not applicable
Author

Hi
Good news!
Best regards
Shong
_AnonymousUser
Specialist III
Specialist III

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.....
Chaitanyas
Contributor
Contributor

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