cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create socket error

Former Member
0 Kudos

Hi,

We are facing some issue while pushing the file to the third party system (non-SAP).

We have implemented HTTP headers in SOAP adapter.

Also, we are using https.

While sending message we are able to see success in MM, but at receiver end we are getting this,

insert key (http://sap.com/xi/XI/System/SOAP)Ent-APRF with value xxxxxxx; insert key (http://sap.com/xi/XI/System/SOAP)Ent-receiver with value xxxxxxx; insert key (http://sap.com/xi/XI/System/SOAP)Ent-sender with value xxxxxx;

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.IOException: unable to create a socket.

Kindly suggest what might be the problem.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Riya,

This is a very generic error and is associated to a network issue, i.e., check the URL provided in the SOAP channel, the firewall, the DNS settings and the correct hostname where it should connect to.

You may try setting the /etc/hosts with the IP and host as well.

An alternative would be re-creating the channel.

Kind regards,

Caio

Answers (4)

Answers (4)

Former Member
0 Kudos

The third party has provided with the new URL as the hostname in the URL was conflicting with the SSL provided.

But facing new issue with new URL. Will start new discussion for this.

Hence closing this thread.

Thank you all for your help.

nageshwar_reddy
Contributor
0 Kudos

Hi Riya,

From PI server, try opening the WSDL link. Ensure that you are able to successfully see the WSDL. Also check if you need to use https instead of http.

Former Member
0 Kudos

Hi Riya,

Is the system you were trying to send the message up and running? Also, please make sure that the firewall is open from the target system to be able to send the message.

Former Member
0 Kudos

Hi,

The target system is up and running fine.

There is no problem with the connectivity.

Still facing the issue.

Thanks.

Former Member
0 Kudos

Hi Riya,

Have you tried using SOAP UI to send the message to the target system?

Is the Keep Header ticked on the SOAP receiver communication channel?

Former Member
0 Kudos

Hi,

We have not ticked Keep Headers.

Do i need to tick it?

Also, i have ticked Keep Attachments.

Thanks.

Former Member
0 Kudos

Hi Riya,

Yes.I believe you are using XI headers. Please check this link. Hope this will help you.

http://scn.sap.com/thread/494099

anupam_ghosh2
Active Contributor
0 Kudos

Hi Riya,

             This is a firewall issue. Contact your network team with IP and port details of the destination server. Destination server is not reachable from PI server.

Try doing telnet, ping, netstat from your system and from PI server. This will provide you greater details about the error.

Regards

Anupam

Former Member
0 Kudos

Hi Anupam,

We have tried doing telnet and we were successfully able to connect.

There is no issue with the connectivity.

But the message is not reaching the third party system.

Please suggest.

Thanks.

tobiasberneck
Explorer
0 Kudos

Hi, what do you mean by "We have tried doing telnet and we were successfully able to connect"? Did you only try to connect on the standard telnet port? You have to telnet to the specific port used for the SOAP connection: telnet hostname port. Kind regards, Tobi.

anupam_ghosh2
Active Contributor
0 Kudos

Hi Riya,

              It seems you are sure, this is not a network issue. Did you upgrade PI server/OS recently?

Check this thread which has same issue due to OS upgrade http://scn.sap.com/thread/2073809

What is the version of Pi you are working on?

Did you recheck the details of destination server in communication channel if its correct?

Did you try using SOAPUI to connect to third party server?

Is there any proxy server in your network?

If there is a proxy server, has the details of proxy server maintained properly in communication channel?

Regards

Anupam

Former Member
0 Kudos

Hi Tobias,

We have tried connecting using IP address of the target server and and port used for SOAP connection.

Connection is successful.

But still getting same error.

Kindly help.

Thanks.