Skip to Content
avatar image
Former Member

Unable to create socket error

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Aug 21, 2012 at 08:15 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 21, 2012 at 08:29 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • avatar image
    Former Member
    Aug 21, 2012 at 08:30 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 21, 2012 at 10:24 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 23, 2012 at 09:21 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded