Member since
03-19-2026
21
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 184 | 04-28-2026 06:18 AM |
04-27-2026
12:16 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
12:12 PM
@MattWho Have removed retry from ListSMB, Now, when I run ListSMB for first time using "RunOnce" 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 using "Run Once" Its able to list the file. But FetchSMB fails to get the file with 2 types of errors. Not all files fails though. There is no issue with the file, since files fail randomly. 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
11:49 AM
@MattWho Have remove the retry on ListSMB. Now, when I do "Run Once" on 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 when I do "Run Once" second time on ListSMB, Its able to list the file. But, FetchSMB fails to fetch few files with below 2 type of errors. Not all 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
06:33 AM
@MattWho This is the only log I get under Bulletin Board net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange Thank you!
... View more
04-27-2026
02:19 AM
@MattWho Thanks for your reply. Flow setup Its s 4 node Cluster. ListSMB details Listing Strategy : No Tracking FetchSMB Details Assume the first run starts at 12:30 AM. It usually fails either during ListSMB or FetchSMB with the error shown below. The retry then starts at 12:32 AM, and that run completes successfully. It is able to list the files and fetch the file from the SMB location without any issue. However, the next scheduled run at 1:00 AM gets skipped, and at times even the 1:30 AM run is skipped as well. After one or two skipped runs, the scheduler starts again, but the same pattern repeats: the first attempt fails, the retry succeeds, and then a few subsequent scheduled runs are skipped. I would like to understand whether enabling retry has any impact on the scheduler behavior. Note: We are able to connect to SMB using MacOS finder and also from Java Code where we can list and fetch the file without any issue. Thanks
... View more
04-24-2026
04:01 AM
Have enabled retry option in ListSMB and FetchSMB, since for some reason they are not able to list/fetch files in first attempt. However, on retry the processor lists and fetches the file successfully. But, the scheduler is skips fews runs. Example: Scheduler is set to run every 30 min and let's assume the job first runs at 00:00 AM. On first run it fails to either list/fetch the file and the retry kicks in and the files is listed and fetched successfully. But, the next scheduler run which is suppose to be at 00:30 AM and 01:00 AM are skipped. Would like to know why retry is impacting scheduler. Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
04-23-2026
10:59 AM
We have deployed NiFi as docker image on Virtual Machine. From VM CLI SFTP command connects with root user. On logging in to docker container using docker exec -it <id> bash, there is no sftp command available to test. Thanks You
... View more
04-23-2026
02:22 AM
SFTP CLI connects to the server and works fine. But, from PutSFTP it fails with below error, this is the only logs we are getting from PutSFTP net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange Also, both CLI and NiFi are running on same server
... View more
Labels:
- Labels:
-
Apache NiFi
03-31-2026
07:18 AM
Sorry for the delayed response. We were able to kind of resolve the issue by adding a retry on ListSMB and FetchSMB processors. Number of Attempts : 2 Retry Back Off Policy: Penalize Retry maximum backoff period : 1 minute To test the working we have scheduled it to run every 30 min. However, we are observing that whenever a retry happens the scheduler won't run on scheduled time. Not sure how retry is affecting scheduler. Thanks!
... View more
03-20-2026
11:07 AM
Thanks for your reply. Files are around 100 MB to 200 MB. Usually the files listed and fetched are done by Primary node itself. One more observation is it's not always the same file that fails, the file that got failed fetching works fine sometimes. So, my understanding is its nothing to do with file. session is timing out for some reason. After adding timeout of 60 sec in SmbjClientProviderService got below error FetchSmb[id=03ab6b24-019d-1000-0000-000032e5cf1d] Could not fetch file SDM-Prod-Reports/EOS_TFC_Metrics//EOS_TFC_Metrics.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 << 11 >> as transport is disconnected - Caused by: com.hierynomus.protocol.transport.TransportException: Cannot write SMB2_SESSION_SETUP with message id << 11 >> as transport is disconnected Thanks
... View more
- « Previous
-
- 1
- 2
- Next »