on 09-07-2018 12:41 PM
Hello Expert,
I got in trouble with SFTP adapter.
The scenario is SOAP->PI->SFTP server.
I setup an SFTP server in my PC, test the SFTP adapter installed correctly or not.
The result is connect failed:
********************************************************************************************
Message could not be forwarded to the JCA adapter. Reason: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out (local port 17340 to address 10.10.159.74, remote port 8000 to address 10.187.8.30)
MP: exception caught with cause javax.resource.ResourceException: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out (local port 17340 to address 10.10.159.74, remote port 8000 to address 10.187.8.30)
Exception caught by adapter framework: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out (local port 17340 to address 10.10.159.74 , remote port 8000 to address 10.187.8.30)
Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out (local port 17340 to address 10.10.159.74 , remote port 8000 to address 10.187.8.30)
********************************************************************************************
Then,I try to use filezilla tool connect to SFTP server with the same IP,port,and user account. It is ok.
So, I think the firewall may block the connection.
I setup an FTP service in my PC with the same port 8000. The result is PI connect to my FTP Server successful.
So, Why the SFTP connection failed?
It's the network traffic controlling, cause that problem.
Thanks everyone's reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wu Feng,
is it solved?
increase the timeout period then it works as i had a similar issue in my project , sftp server has a problem while attempting the connection in the specified timespan.
Regards,
Bhaskar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Wu,
SFTP is working from your PC is ok, but check with PO server that FTP address is blocked, check SFTP is reachable from PO server with Network Firewall allowed.
Regards,
Khaja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.