cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Receiver Channel failing with the error "Connection Reset"

Former Member
0 Kudos

Hi All,

We have been facing problem with all Mail Receiver channels.

The below error message is being encounterred.

"Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketException: Connection reset."

The error is not specific to one particular interface but happening to all Mail channels.

The SMTP URL is correct and working fine.

The same URL is being used in non-production system, where it is working fine.

We had faced this issue earlier in our production system, which got resolved without our knowledge. But now we are facing the same issue again.

Version: SAP PI 7.0

Please help resolve this issue.

Regards

Mohit H

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member187587
Contributor
0 Kudos

Are you runinng in cluster?

Ask BASIS team to restart AE.

Former Member
0 Kudos

Hi All,

We did telnet from PI server to the SMTP server. It is getting connected successfully.

No authorization

After calling the adapter for processing it is encountering the error. Ideally the next log should be "Mail: call completed" but it ends up in error.

Please sees logs below.

03.12.2013 15:05:29 Success The message was successfully retrieved from the receive queue.

03.12.2013 15:05:29 Success The message status set to DLNG.

03.12.2013 15:05:29 Success Delivering to channel: XI_MAIL_NL_CM_Orders_Ack_Mail_Receiver_CC

03.12.2013 15:05:29 Success MP: Entering module processor

03.12.2013 15:05:29 Success MP: Processing local module localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

03.12.2013 15:05:29 Success Mail: message entering the adapter

03.12.2013 15:05:29 Success Mail: Receiver adapter entered with qos ExactlyOnce

03.12.2013 15:05:29 Success Mail: calling the adpter for processing

03.12.2013 15:05:29 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketException: Connection reset

03.12.2013 15:05:29 Error Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketException: Connection reset

former_member192343
Active Contributor
0 Kudos

maybe you have authorization problem? do you use user authorization? if yes check this again

gagandeep_batra
Active Contributor
0 Kudos

Hi Mohit:

This is due to the network problem; check with admin team is there any changes done or if there are any firewall  restrictions imposed.

Regards

Gagan

Former Member
0 Kudos

Hi Mohit

The log is clearly saying that it was not able to connect to the mail server from your PI server.

Check whether the port is open or not.