cancel
Showing results for 
Search instead for 
Did you mean: 

FTP connectivity issue - Unable to create new pooled resource

Former Member
0 Kudos

We have 3 outbound interfaces send files to the same FTP server, and we have one separate communication channel for each of these 3 outbound interfaces which share the same ftp user name.

These interfaces run once or twice every day, most of the time they work fine, however sometime(once a week or fornigtely) we get the below error:-

“Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: Unexpected reply codeLogin incorrect.”

Restart the communication channel and then resend the message, we still get the same error. Everytime we see this issue we have to reactivate the commnunication channel, it will work fine for another 1-2 weeks, then breaks again.

We are sure the username and password are correct, and there is no connection limitation on FTP server side. Anybody has any idea why this happens?

Accepted Solutions (0)

Answers (2)

Answers (2)

anand_shankar10
Active Participant
0 Kudos

Hi Qutao,

I guess whenever you get this , restarting of the channel would be solving this issue.

If this is correct it may be because of the timeout as you said the channel wors only twice a days.

You may increase the timeout of the channel.

Thanks

Anand

Former Member
0 Kudos

Hi Anand,

restarting of the channel is definetely not solving this issue, we have tried a few times.

Thanks,

Qutao

nabendu_sen
Active Contributor
0 Kudos

HI Qutao,

I definitely think this issue not related to PI side. After FTP relocation some configuration is changed and thats causing this.

Former Member
0 Kudos

Hi Nabendu,

Thanks for the helpful answer.

But wouldn't PI recover from the ftp connection broken by itself. Everytime we had this issue, the process is just hanging there, until the communication channel is reactivated. Isn't it just weired? Is it a potential product issue?

Thanks,
Qutao

nabendu_sen
Active Contributor
0 Kudos

Hi Qutao,

If the link is broken when some unwanted issue happen, PI will try to reconnect. Bit if FTP intentionally not allowing, PI can not help anymore. Actually error is clearly saying FTP Site is not allowing PI to make concurrent connections at the same time.

nabendu_sen
Active Contributor
0 Kudos

Hi Qutao,

This issue is coming because no. of concurrent access to the FTP site is exceeding the number allowed by the Destination. Confirm with the FTP Administration team that how many concurrent connection they allow for a single user. Either you need to increase that number or need to use different user. Not sure but whether a single common channel can achieve this functionality (if there is no Content Conversion / Same type of file structure for 3 interfaces ate Target). If yes, you can use a single communication channel shared by 3 different Receiver Agreements.

Former Member
0 Kudos

Hi Nabendu,

Thank you for your reply. We have checked with the FTP Administration team, there was no limitation of the concurrent connections.

This issue only started happening one month ago, when the FTP server was relocated from one place to another place. So I suspect the issue is related to network, however just couldn't confirm. Wouldn't the connection recover from itself if it is broken due to network issue.

Connect Mode

Permanently

An existing connection to the FTP server is used permanently.

The connection is reestablished automatically if it is closed by the server.

Thanks, Qutao