cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP: call failed: java.io.EOFException: Connection closed by remote host

Former Member
0 Kudos

Hi folks,

my friday crusher:

We have a sync RFC-PI-SOAP scenario.

All is working fine in Dev system.

After moving into Test following error is displayed as the SOAP response message:

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.EOFException: Connection closed by remote host.</SAP:AdditionalText>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Also Channel Monitoring says:

Message-Verarbeitung fehlgeschlagen. Grund: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.EOFException: Connection closed by remote host.

Couldn´t find any hints in SDN and the web to this issue.

Does anyone of you has made experiences with that problem?

Maybe it´s a system parameter for time out SOAP connections....?

Many thanks for your help

-and-

have a great weekend!

Cheers

André

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
Connection closed by remote host

1) Are you sending data to the proper URL...your target web-service

2) Is your target web-service up and running?

3) I assume that you have opened the port required for connecting to the target service

Regards,

Abhishek.

Former Member
0 Kudos

Hi,

thanks for ur reply.

1.) yes I´m sending the data to the proper URL

2.) the WebService is up and running

3.) port is opened

As I said, the same SOAP call is successful in our development environment but not in the quality system (we didn´t changed any settings in ESB/IB nor in the proxy).

Thanks,

André

Former Member
0 Kudos

Hi,

i think you could test the web serveice URL in your test system host,for examle to visit the url by internet browser which in your pi test system,if the system is unix/linux system you can ping the ip ,try to find the connectivity between your test system and your application system。

i donu2018t think the root cause is some timeout parametres。if it is,some time out error should be found。

it look like that some network limited in your application system for your pi test system。

Former Member
0 Kudos

Hi,

thanks for your message.

After some retests I can say that appr. every 10th SOAP call will be successful.

Ping is ok.

Is there a chance for an extended tracing/logging?

We are calling the SOAP service at a https enpoint. SAPcryptoLib is installed; HTTPS service is also running.

But maybe there is another https/SSL problem I haven´t found...?

Thanks for your hints,

André

sunil_singh13
Active Contributor
0 Kudos

Hi,

Use TCP gateway tool awailable on Service Market place, and see what you are trying to send and what is actually sent to target system.

Thanks,

Sunil

Former Member
0 Kudos

This is strange. "Closed by remote host" could be a hint that something is wrong with the certificate, but if every 10th request succeeds, there is another problem.

Is is possible that the remote host is overloaded sometimes (cannot process new requests) ? The problem seems to be on the remote host, not on PI.

CSY

Former Member
0 Kudos

Very strange!

But I have the solution:

I have looked into channel monitoring / RWB again.

There I saw, this PI is using two clusters on two application servers.

Everytime the SOAP call is executed through the frist cluster, all was fine.

But no SOAP call was successfully executed by the second cluster.

Fortuity? No!

The second cluster node / app server wasn´t registered for internet access in the used proxy server.

So it wasn´t an PI issue.

Now, all is fine & I´m happy!

Thanks @all for helping!

Cheers,

André

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all>

Anyboby can be help me with that problem that Im facing up>

SOAP: call failed: java.io.EOFException: Connection closed by remote host

Time Stamp Type Description

2011-06-09 13:06:15 Error SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.EOFException: Connection closed by remote host.

2011-06-09 13:06:15 Error Adapter Framework caught exception: java.io.EOFException: Connection closed by remote host.

2011-06-09 13:06:15 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.EOFException: Connection closed by remote host..

Former Member
0 Kudos

Hi,

In addition just for cross checking try to trigger data from SOAP UI to the target endoint.

That will help you to narrow down the issues further.

Regards,

Vineetha.