|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SFTPService.open Timeout Issue - IIB V10 |
« View previous topic :: View next topic » |
Author |
Message
|
Ramphart |
Posted: Thu Nov 25, 2021 11:39 am Post subject: SFTPService.open Timeout Issue - IIB V10 |
|
|
 Disciple
Joined: 21 Jul 2004 Posts: 150 Location: South Africa, JHB
|
Hi
IIB Version 10.0.0.13
Windows 2016 Server Standard
I can connect successfully to an external sftp server using WinSCP from our production server. The server breaks out of our network through a firewall.
I've create the logon credentials for the IIBNode (using a private key file) as follows:
mqsisetdbparms IIBNode -n sftp::SFTPLogin_ELRVRE -u ELRVRE -i rsa_live
The connections sometimes succeeds via the broker but often fails as per the logs below:
Code: |
2021-11-25 20:14:22.321716 5536 com.ibm.broker.nodes.filenodes.ComIbmFileInputNode.getRemoteFileManager file:F:\build\slot2\S1000_P\src\DataFlowEngine\NativeTrace\ImbNativeTrace.cpp line:724 message:3380.BIPmsgs '' , 'FTP/RMB/From - PROD - ELRVRE', 'ISOPain.MSF_ISOPain_AutomaticClearingBureau_FTP_Transfer', '196.00.000.00', 'timeout(20000): Session.connect: java.net.SocketTimeoutException: Read timed out', 'SFTP'
2021-11-25 20:14:22.321716 5536 Error BIP3380E: File node ''FTP/RMB/From - PROD - ELRVRE'' in message flow ''ISOPain.MSF_ISOPain_AutomaticClearingBureau_FTP_Transfer'' could not connect to remote ''SFTP'' server ''196.00.000.00''. Reason: ''timeout(20000): Session.connect: java.net.SocketTimeoutException: Read timed out'.'
The FileInput or FileOutput node failed to open a connection to a remote server. Possible reasons for this failure are that the server could not be contacted, the initial FTP protocol was not observed, or an error situation exists at the server. The reason text is from the detected connection failure.
Ensure that:
- The server address is correct and is locally resolved to a valid IP address.
- The server port is correctly specified (the default port for FTP is 21, and for SFTP it is port 22).
- A firewall does not block access to the remote server.
If you adjust an FtpServer configurable service definition, restart the integration node to pick up the new settings. For more information, see the "FtpServer configurable service properties" topic in the IBM Integration Bus information center.
2021-11-25 20:14:22.321796 5536 } RemoteFileManager.getRemoteFileManager , 'remoteFileManager=nulldisableFTP=false'
2021-11-25 20:14:22.321850 5536 } ComIbmFileInputNode.getRemoteFileManager() , 'null'
2021-11-25 20:14:22.321896 5536 ComIbmFileInputNode.transferFromRemoteServer() 'Could not configure remote server. Check whether we hit a fatal exception which requires disabling remote transfer'
2021-11-25 20:14:22.321948 5536 ComIbmFileInputNode.transferFromRemoteServer() 'remoteFileManager is null. But we probably hit a non-Fatal exception. Continue retry to remote FTP server'
2021-11-25 20:14:22.322004 5536 } ComIbmFileInputNode.transferFromRemoteServer() , 'com.ibm.broker.remote.RemoteStatus@ad098e7'
2021-11-25 20:14:22.322054 5536 } ComIbmFileInputNode.getNextFile , 'null'
2021-11-25 20:14:22.322144 5536 } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@3839ff3e.readData , 'READDATA_TIMED_OUT_WAIT_REQUIRED'
2021-11-25 20:14:22.323756 5536 { imbSleep , 5000
2021-11-25 20:14:22.337078 23392 SFTPService.open 'Session.connect' , 'timeout=20000'
2021-11-25 20:14:22.337138 23392 SFTPService.JSCH TRACE 'INFO: ' , 'Connecting to 196.00.000.00 port 22'
2021-11-25 20:14:22.596490 7876 } imbSleep
|
Could the timeout of 20000 perhaps be the problem? If so, how do I increase the timeout for sftp::SFTPLogin_ELRVRE or for the IIBNode?
Code: |
2021-11-25 20:14:22.322144 com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@3839ff3e.readData , 'READDATA_TIMED_OUT_WAIT_REQUIRED'
2021-11-25 20:14:22.323756 { imbSleep , 5000
2021-11-25 20:14:22.337078 SFTPService.open 'Session.connect' , 'timeout=20000'
2021-11-25 20:14:22.337138 SFTPService.JSCH TRACE 'INFO: ' , 'Connecting to 196.00.000.00 port 22'
2021-11-25 20:14:22.596490 } imbSleep
|
Thank you in advance for any assistance. _________________ Applications Architect |
|
Back to top |
|
 |
abhi_thri |
Posted: Fri Nov 26, 2021 5:50 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
hi...assuming you are using the 'FTP server' config service you can use 'timeoutSec' to change the default 20sec timeout value.
https://www.ibm.com/docs/en/integration-bus/10.0?topic=properties-ftpserver-configurable-service
Before changing the timeout value it is worth getting the FTP server team to investigate why the connect attempts are taking this long...we had a similar scenario where the server had multiple copies of our public certificates saved to their truststore which was delaying the connection attempts...so it is worth tracing the connection and see. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|