cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout error with SFTP adapter in Dual stack PI system

rachana_myla
Discoverer
0 Kudos

Hello,



I am facing timeout error while using the SFTP adapter in dual stack PI system.

It is a IDOC to File(SFTP) scenario.


Few messages are getting processed and few are failing with Timeout error.


Delivery of the message to the application using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Could not obtain resource within timeout (30000 ms)


Even we tried to change the timeout(ms)from 30000 to 90000 but some times it is taking 30000 ms and some time 90000 ms in the error message.


And we verified that the cache also updated in PI.


Please do needful and let me know if any information required.


Regards,

Rachana

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Rachana,

Its because of connection issue with SFTP server ,it might be due to the SFTP server side settings as well.

Check the below link and see if it helps

Troubleshooting Information for Secure File Transfer Protocol Adapter - Technology Troubleshooting G...

rachana_myla
Discoverer
0 Kudos

Hello Raghu,

Thank you for immediate response.

There might be a case with server settings as well.

But,If we think that is related to SFTP server setting, there are some files getting placed into that server with out failing and few are failing with timeout error.


How it is accepting few files and few or not?

Regards,

Rachana

former_member186851
Active Contributor
0 Kudos

Hello Rachana,

Just an example when the your mail server is down mails wont go out ,The same could happen for SFTP as well.

But i am not saying that could be the only cause.

Check the link and ensure the connectivity is fine.

The link has solutions for multiple issues.

Former Member
0 Kudos

if suppose sftp is not working, all the files should fail, but this case few files successful and few are failing while uploading into the server, still you are thinking there is problem in server side ?

found some strange behavior here is sftp upload is changing the path in the running configuration in PI, even though we are giving the right path in channel