on 03-04-2015 11:44 AM
Hello Experts,
I am using PI version 7.11. I have a SFTP scenario in which I am getting error as below for both the sender and receiver SFTP channels:
"Exception received: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out"
Please provide your valuable inputs to sort this out.
Thanks
Ravi..
Always assume the worst 🙂
Is the SFTP server internal or external?
If external can you connect to the SFTP from the internet (try from home).
Try and connect from your desktop. Remember your company may have a proxy server that you must configure.
Does your PI system use the same proxy? In my oorganisationwe have one proxy for end users in each region and a central proxy for our systems in the datacentre. So run another test and use the proxy in the datacentre.
Regardless of how you are authenticating you should be at least able to connect and get a logon prompt (if using basic auth: user name of password) or an error is using certificates.
Does the vendor have a whilelist? Are they restricting access based upon a source IP address? Have you given them the right source IP addres? Remember, if you go through a proxy then the proxy server will be your source address and not PI.
If you are using a proxy server to connect from inside your company are you using the right proxy type? I use SOCKS5 and a very specific port.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To get your ducks in a row I would suggest...
Bottom line: Most probably a FW issue at the provider (sFTP) side. Could also be a FW issue at your side (a FW you don't know about, yet).
HTH
Cheers
Jens
Ok, this supports my assumption that there is a FW in between your corporate network and the providers corporate network even though failing to connect from your desktop client is not a 100% indicator that my assumption is right. Please see my suggestions in the post below how to narrow down the issue.
Cheers
It has to be connectivity, Its not authentication.
Either PO cannot reach the server or the call is being blocked by a firewall or proxy (make sure you configure the proxy if you need one and check you are using the correct port).
A simple test, if you can, is to use an SFTP client (I use WInSCP) and test it yourself.It has a nice logging feature so you can see where the problem occurs.
Also, speak to your partner and double check the connectivity details. Make sure they email you them so you have them in writing. Leads to less confusion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
Even with WinSCP, I am unable to connect to the SFTP server and while pinging from the OS level of PI system we are getting the below error: Please suggest :
fer-mdmdl01:~ # telnet XXXXXX 22
Trying XXXXXXX...
telnet: connect to address XXXXXX: Connection refused
Thanks
Ravi
Hi Ravi,
This error can be a problem with the connectivity. Talk with your basis team if the ports/firewall are open and PI can reach to endsystem.
Talk with the SFTP administrators if your PI user has the right to access to the SFTP destination.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.