Member since
03-19-2026
21
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 182 | 04-28-2026 06:18 AM |
05-07-2026
11:57 AM
We have VM server on which we have NiFi installed within the container. When we try to connect using sftp command from within the docker it connects fine. docker exec -it nifi bash However when we try from NiFi PutSFTP processor, it fails with below error Routing to failure since unable to transfer FlowFile[filename=TGT_TEST28042026.csv] to remote host sftp.AAAAA.com: net. schmizz. sshj. transport. TransportException: Connection reset - Caused by: java.net.SocketException: Connection How and where do I get more details logs ? Also, is sftp command and NiFi PutSFTP works differently ? This is similar to my previous post https://community.cloudera.com/t5/Support-Questions/SFTP-CLI-works-but-PutSFTP-fails/td-p/413903 But this time vendor has whitelisted the IP and we are able to connect from within docker on which Nifi is running. Thanks Gautam P
... View more
Labels:
- Labels:
-
Apache NiFi
05-03-2026
11:40 AM
@MattWho Yes, its same issue if we run it frequently. If I use Retry option on FetchSMB its able to fetch the file that failed during first attempt. But, the concern is retry is impacting the scheduler, the next scheduler which is supposed to run after 30 minutes is not getting triggered, sometime it even skips 2 scheduler runs. Is retry somehow impacting scheduler ? my problem is not the error we get during FetchSMB, this can be resolved with retry option. But the concern is more on scheduler. Thanks
... View more
04-30-2026
08:51 AM
Sorry for reposting again and again, whatever I post was not visible to me on page refresh. So was confused if its getting posted or not. - Yes, have tried increasing the timeout upto 120 Secs, still same issue. - Out storage team don't save the SMB server logs. - I'm not sure how to check packet loss. - Yes, have already tried running it based on scheduler instead of "Run Once" and still same error. - Its scheduled to run every 30 min not 30 seconds.
... View more
04-28-2026
10:07 AM
Have removed the Retry on ListSMB On running ListSMB for first time, I get below error, ListSmb[id=678b3091-1e8c-38c6-a274-0d2eb00c91cb] Failed to perform listing on remote host due to Could not perform listing: java.io.IOException: Could not perform listing - Caused by: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired On running ListSMB second time, its able to list the files, but FetchSMB fails with below 2 type of errors, not all the files fails though. FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/Events/Events_OTL_Override_Error_Warnings_2026_04_24.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/New_Stores/NewStores_OTL_Override_Error_Warnings_2026_04_25.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected
... View more
04-28-2026
06:19 AM
Have removed the Retry on ListSMB On running ListSMB for first time, I get below error, ListSmb[id=678b3091-1e8c-38c6-a274-0d2eb00c91cb] Failed to perform listing on remote host due to Could not perform listing: java.io.IOException: Could not perform listing - Caused by: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired On running ListSMB second time, its able to list the files, but FetchSMB fails with below 2 type of errors, not all the files fails though. FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/Events/Events_OTL_Override_Error_Warnings_2026_04_24.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/New_Stores/NewStores_OTL_Override_Error_Warnings_2026_04_25.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected Thanks
... View more
04-28-2026
06:18 AM
1 Kudo
Issue is resolved after the vendor whitelisted the IP's Thanks
... View more
04-28-2026
01:24 AM
Have removed the Retry on ListSMB On running ListSMB for first time, I get below error, ListSmb[id=678b3091-1e8c-38c6-a274-0d2eb00c91cb] Failed to perform listing on remote host due to Could not perform listing: java.io.IOException: Could not perform listing - Caused by: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired On running ListSMB second time, its able to list the files, but FetchSMB fails with below 2 type of errors, not all the files fails though. FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/Events/Events_OTL_Override_Error_Warnings_2026_04_24.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/New_Stores/NewStores_OTL_Override_Error_Warnings_2026_04_25.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected
... View more
04-28-2026
01:11 AM
Have removed the Retry on ListSMB On running ListSMB for first time, I get below error, ListSmb[id=678b3091-1e8c-38c6-a274-0d2eb00c91cb] Failed to perform listing on remote host due to Could not perform listing: java.io.IOException: Could not perform listing - Caused by: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired On running ListSMB second time, its able to list the files, but FetchSMB fails with below 2 type of errors, not all the files fails though. FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/Events/Events_OTL_Override_Error_Warnings_2026_04_24.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/New_Stores/NewStores_OTL_Override_Error_Warnings_2026_04_25.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected Thanks
... View more
04-27-2026
10:44 PM
Have removed the Retry on ListSMB On running ListSMB for first time, I get below error, ListSmb[id=678b3091-1e8c-38c6-a274-0d2eb00c91cb] Failed to perform listing on remote host due to Could not perform listing: java.io.IOException: Could not perform listing - Caused by: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired On running ListSMB second time, its able to list the files, but FetchSMB fails with below 2 type of errors, not all the files fails though. FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/Events/Events_OTL_Override_Error_Warnings_2026_04_24.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/New_Stores/NewStores_OTL_Override_Error_Warnings_2026_04_25.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected
... View more
04-27-2026
09:33 PM
Have removed the Retry on ListSMB On running ListSMB for first time, I get below error, ListSmb[id=678b3091-1e8c-38c6-a274-0d2eb00c91cb] Failed to perform listing on remote host due to Could not perform listing: java.io.IOException: Could not perform listing - Caused by: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired On running ListSMB second time, its able to list the files, but FetchSMB fails with below 2 type of errors, not all the files fails though. FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/Events/Events_OTL_Override_Error_Warnings_2026_04_24.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: java.util.concurrent.TimeoutException: Timeout expired - Caused by: java.util.concurrent.TimeoutException: Timeout expired FetchSmb[id=6b1f9f93-4d76-38fc-94ed-08918722a36b] Could not fetch file OTL-Prod-Reports/OTL_Manual_Override//Errors_and_Warnings/New_Stores/NewStores_OTL_Override_Error_Warnings_2026_04_25.csv.: java.io.IOException: Could not create session for share smb://ifiler-smb03:445/SFTP - Caused by: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 169 >> as transport is disconnected
... View more