<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Intermittent Http_Communication_Failure Error in ABAP... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077159#M4910747</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/791742"&gt;@Ravi_Bharti08&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have encountered this issue before; I recommend reviewing that all SAP app servers have the corresponding certificates. Additionally, if this is a hosted environment, I would raise this with your basis and network team to validate that all app servers have proper access to the BTP Cloud Integration host and port. In HA environments, we have found that some app servers have not been allowed access or are missing the corresponding SSL Identity or certificates depending on whether they are using Client Certificate Authentication, OAuth2.0, or Basic Auth.&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":vulcan_salute:"&gt;🖖🏻&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Apr 2025 03:50:55 GMT</pubDate>
    <dc:creator>MAVR</dc:creator>
    <dc:date>2025-04-16T03:50:55Z</dc:date>
    <item>
      <title>Intermittent Http_Communication_Failure Error in ABAP Using IF_HTTP_CLIENT-&gt;receive</title>
      <link>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaq-p/14072820</link>
      <description>&lt;P class=""&gt;Hello Experts,&lt;/P&gt;&lt;P class=""&gt;I am intermittently encountering the exception &lt;STRONG&gt;Http_Communication_Failure&lt;/STRONG&gt; in my ABAP code when using the method &lt;STRONG&gt;IF_HTTP_CLIENT-&amp;gt;receive&lt;/STRONG&gt; to send data to external systems (in my case, SAP CPI).&lt;/P&gt;&lt;P class=""&gt;Upon analyzing the short dump, I noticed the following error message:&lt;BR /&gt;&lt;STRONG&gt;Connect to hostaddress:443 failed: NIECONN_REFUSED (-10)&lt;/STRONG&gt;,&lt;BR /&gt;and the system variable &lt;STRONG&gt;ME-&amp;gt;M_ECODE&lt;/STRONG&gt; has the value &lt;STRONG&gt;411&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;Has anyone experienced a similar issue or have any suggestions on how to resolve this?&lt;/P&gt;&lt;P class=""&gt;Thanks in advance,&lt;BR /&gt;Ravi Bharti&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 17:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaq-p/14072820</guid>
      <dc:creator>Ravi_Bharti08</dc:creator>
      <dc:date>2025-04-10T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Http_Communication_Failure Error in ABAP...</title>
      <link>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14073904#M4910421</link>
      <description>&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NIECONN_REFUSED&amp;nbsp;&lt;/STRONG&gt;means that no one on host "hostadress" is listening on port 443. (The TCP/IP layer of the operating system is then "refusing" to accept a connection on that port.) So there is nothing wrong with your ABAP code, the problem rather is on the other end (the CPI system).&lt;/P&gt;&lt;P&gt;If this is happening "intermittently", then this means that "once in a while" the CPI system is down. (Or has stopped listening on port 443.)&lt;BR /&gt;--&amp;gt; Needs to be checked on CPI side, what is going on there.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 19:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14073904#M4910421</guid>
      <dc:creator>Ulrich_Schmidt1</dc:creator>
      <dc:date>2025-04-11T19:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Http_Communication_Failure Error in ABAP...</title>
      <link>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077159#M4910747</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/791742"&gt;@Ravi_Bharti08&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have encountered this issue before; I recommend reviewing that all SAP app servers have the corresponding certificates. Additionally, if this is a hosted environment, I would raise this with your basis and network team to validate that all app servers have proper access to the BTP Cloud Integration host and port. In HA environments, we have found that some app servers have not been allowed access or are missing the corresponding SSL Identity or certificates depending on whether they are using Client Certificate Authentication, OAuth2.0, or Basic Auth.&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":vulcan_salute:"&gt;🖖🏻&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 03:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077159#M4910747</guid>
      <dc:creator>MAVR</dc:creator>
      <dc:date>2025-04-16T03:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Http_Communication_Failure Error in ABAP...</title>
      <link>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077160#M4910748</link>
      <description>I would also like to point out that is extremely rare that your BTP Cloud Integration tenant to be down. But if you are having a huge volume of calls to the endpoint in short periods of time, then it would be a good idea to open a ticket to SAP operations so your tenant could be scaled up accordingly to your volume needs.</description>
      <pubDate>Wed, 16 Apr 2025 03:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077160#M4910748</guid>
      <dc:creator>MAVR</dc:creator>
      <dc:date>2025-04-16T03:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Http_Communication_Failure Error in ABAP...</title>
      <link>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077188#M4910755</link>
      <description>&lt;P&gt;consider retry:-&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;DATA: lv_retry TYPE i VALUE 0,
      lv_success TYPE abap_bool.

WHILE lv_retry &amp;lt; 3 AND lv_success = abap_false.
  TRY.
      lo_http_client-&amp;gt;send( ).
      lo_http_client-&amp;gt;receive( ).
      lv_success = abap_true.
    CATCH cx_root INTO DATA(lx_error).
      lv_retry = lv_retry + 1.
      WAIT UP TO 1 SECONDS.
  ENDTRY.
ENDWHILE.&lt;/LI-CODE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 05:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/intermittent-http-communication-failure-error-in-abap-using-if-http-client/qaa-p/14077188#M4910755</guid>
      <dc:creator>ArunJacob</dc:creator>
      <dc:date>2025-04-16T05:04:46Z</dc:date>
    </item>
  </channel>
</rss>

