on 08-07-2015 10:04 AM
Hi Experts,
We are currently working on PO 7.4 environment. To meet the business need we have developed scenarios like IDOC to File(SFTP) and vice versa.
The scenarios were working fine end to end during the initial testing. But later, some of the SFTP sender and receiver channels went into the below error
’’"""javax.resource.ResourceException: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset""""
Not only this the sender SFTP channel which goes to the above error starts polling fine after some time and the channels which were polling fine previously come to the above error.
For the receiver SFTP channel we have to manually resend the messages in error from the adapter engine which works only on a few occasions.
To fix this capricious behaviour of the SFTP connectivity we tried using the parameter connection.mode.permanent = true in the advance mode and has set some Timeout. But still it did not resolve any thing and we keep on seeing the above error.
Request your expert advise on the above issue.
Regards
Vicky Mor
Hi Vicky,
Does the issue occurring for all the sftp channels or only some. If the issue occurring for only some channels, then can you pls make sure that everything is okay on the third party server end during that time frame.
Check the below link and see if it helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicky,
The SSH server is closing the connection on you. This could be due to a number of reasons but you should do some testing using another client like WinSCP. If there are no issues there then check if there are any reported issues with the version of the SSH server. Failing that you may need to do a network trace to see if at the transport layer there is some handshaking issue.
Have a read of this post for more info:
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am also facing same issue. Could you please share how did you fixed this issue.
Thanks
Ranjani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vicky,
In the SFTP channel, kindly check how often the user session gets expired. I mean, it might be possible that the user session is getting expired very often.
So please get in touch with BASIS team and check the above with respect to the SFTP server.
Kind Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicky,
Can you please check is there any authentication problem or not... The user is locked or not.
Additionally, Please check the public private key is expired or not.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicky,
What is your PI SFTP SP version?, there was some locking problem on sender SFTP solved in the last patches of the SP1 version.
only able to connect when the polling interval is over? Can it be a traffic issue?
It can be a configuration on the SFTP server, is possible to get any trace from there?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vicky,
The problem seems to be with the Cache. Have you tried performing a cache refresh? Please find below the link to perform a cache refresh -
http://<host>:<port>/CPACache/refresh?mode=full
After cache refresh check your channels, it will be working fine.
Regards,
Nitin Deshpande
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nitin,
Thank you for the response.
I did a full Cache refresh. But the channels are still in the same state. Also if I stop and start a channel then its working fine but after few minutes it again go back to the same error state.
Has it to do something with the parameter connection.mode.permanent = true which keeps the adapter busy with the channels polling fine and the other SFTP channels are only able to connect when the polling interval is over? Can it be a traffic issue?
Regards
Vicky Mor
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.