on 04-28-2015 3:31 PM
Hi Experts,
We are trying to connect to SFTP server outside network from our PI system (advantaco sftp ) we are getting below error.
Delivery of the message to the application using connection SFTP_http://advantco.com/xi/XI/SFTP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: java.lang.Exception: Cannot connect to SFTP server.
we tried connecting through Filezilla by giving port (22-SFTP) in this case we are not able to connect we are getting the same error.
But when we try the same in filezilla giving port(21-FTP) we are able to login successfully.
but we have been informed by 3rd party that this is the SFTP server and not FTP server, tried using ping also but getting same error .
As it is outside network tried using proxy also but no success.
and also third party tried ping using public network they are able to ping successfully. they don't have any firewall.
any inputs on this ?
Hi All,
The problem is that we need to have a firewall plug in set-up do be done with new server.
But still I'am bit confused why our network was blocking for port 22(SFTP) as FTP with same server was able to connect successfully. I mean it should have blocked for FTP as well.
However thanks a lot for your input guys.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>>But still I'am bit confused why our network was blocking for port 22(SFTP) as FTP with same server was able to connect successfully. I mean it should have blocked for FTP as well.
By default outbound connections should not be blocked by firewall. May be your network admins have set it up such a way that all outgoing SSL connections should be blocked??
Do close the thread if your issue has resolved.
Hi All,
This seems to be something wrong on our side , because i tried connecting the same server through my laptop as SFTP(Port 22) in this case it was successful .
One more thing user ID something like XXX@abc.com and host name is sftp.xyz.net , so does the character '@' in user id causes any issue ?
Any inputs on this ?
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I am guessing this is the 1st interface you are developing to this FTP server. In that case, I would suggest to check with your network team for firewall issues. Normally before starting your build you need to fill out a form for the 3rd party server and sent it to the network team to resolve the firewall before you can use the connection.
Rgds,
Vijay.
Did you try performing telnet from the OS of your PI system?
telnet <host> <port>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
You may want to use the same details as that of File Zilla which worked. If the Advantco SFTP adapter is not working, try using the SAP FTP adapter since you are saying that it works if Port = '21'. Normally even if the third party does not have firewall restriction there could be a restriction for the SAP PI system So you may want to check with your Basis admin.
I used Advantco SFTP adapter before and if you are using the latest release it is pretty stable.
Rgds,
Vijay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I think the PI public certificate has to be installed in the SFTP server. Check this document, i know there is not for advantco adapter, but you can get some interesting ideas: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/305eeb5b-81e7-2f10-d8aa-9216de04c...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you sure if that is an SFTP server? I don't think so. It's not about PI adapter even the filezilla is throwing the same exception.
>>>but we have been informed by 3rd party that this is the SFTP server and not FTP server, tried using ping also but getting same error .
May be they are referring to FTPS but not SFTP? Both are different as you may already aware.
They should also give you the port information right?
So i would suggest you to verify with them again..
In addition, you can verify if they have enabled FTPS(it has to be explicit) on the default port.
in file zilla, go to File -> Site Manager -> while adding the site
set the protocol -> FTP
Encryption -> use explicit FTP over TLS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So if i understand correctly
you can connect from outside of your companies network (from your personal laptop) but not from intranet.
If so you should work with network administrator to see if the firewall is blocking.
You can even use XPI inspector which would be of great help to get additional error information.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.