<?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>topic Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741394#M2021086</link>
    <description>&lt;P&gt;Thank you sir,  While testing came to know that when executing the report, it is showing error SSSLERR_PEER_CERT_UNTRUSTED, &lt;/P&gt;&lt;P&gt;It means need to add SSL certificate in TCODE  STRUST.  (which certificate , where can i get it)&lt;/P&gt;&lt;P&gt;But when, testing the same program with addition of function module CALL FUNCTION 'HR_URL_CALL_BROWSER'&lt;/P&gt;   EXPORTING&lt;BR /&gt;     URL                        = wa_string&lt;BR /&gt;   EXCEPTIONS&lt;BR /&gt;     BROWSER_START_FAILED       = 1&lt;BR /&gt;     NO_BATCH                   = 2&lt;BR /&gt;     URL_IS_EMPTY               = 3&lt;BR /&gt;     OTHERS                     = 4&lt;BR /&gt;            .&lt;BR /&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;BR /&gt;* Implement suitable error handling here&lt;BR /&gt;  ENDIF.          &lt;P&gt;Them SMS is triggering and browser is opening.  It is not giving error SSSLERR_PEER_CERT_UNTRUSTED.&lt;BR /&gt;This is not checking TCODE- STRUST.&lt;/P&gt;&lt;P&gt;But when  i am triggering the program in background  with function 'HR_URL_CALL_BROWSER'  , it not working because web browser is not opening.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 06:59:54 GMT</pubDate>
    <dc:creator>former_member630092</dc:creator>
    <dc:date>2023-08-01T06:59:54Z</dc:date>
    <item>
      <title>SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741383#M2021075</link>
      <description>&lt;P&gt;We are facing an issue while posting the sms in abap report. &lt;/P&gt;
  &lt;P&gt; CALL METHOD CL_HTTP_CLIENT=&amp;gt;CREATE_BY_URL&lt;BR /&gt; EXPORTING&lt;BR /&gt; URL = WF_STRING&lt;BR /&gt; IMPORTING&lt;BR /&gt; CLIENT = HTTP_CLIENT&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; ARGUMENT_NOT_FOUND = 1&lt;BR /&gt; PLUGIN_NOT_ACTIVE = 2&lt;BR /&gt; INTERNAL_ERROR = 3&lt;BR /&gt; OTHERS = 4.&lt;BR /&gt;&lt;BR /&gt; CALL METHOD HTTP_CLIENT-&amp;gt;SEND&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; HTTP_COMMUNICATION_FAILURE = 1&lt;BR /&gt; HTTP_INVALID_STATE = 2.&lt;BR /&gt;&lt;BR /&gt; CALL METHOD HTTP_CLIENT-&amp;gt;RECEIVE&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; HTTP_COMMUNICATION_FAILURE = 1&lt;BR /&gt; HTTP_INVALID_STATE = 2&lt;BR /&gt; HTTP_PROCESSING_FAILED = 3.&lt;BR /&gt; RC_VALUE = SY-SUBRC.&lt;BR /&gt; CLEAR RESULT .&lt;BR /&gt; RESULT = HTTP_CLIENT-&amp;gt;RESPONSE-&amp;gt;GET_CDATA( ).&lt;BR /&gt; REFRESH RESULT_TAB .&lt;/P&gt;
  &lt;P&gt;HTTP_COMMUNICATION_FAILURE = 1&lt;/P&gt;
  &lt;P&gt;sy-subrc = 1&lt;/P&gt;
  &lt;P&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Application Server Error&amp;lt;/title&amp;gt;##&amp;lt;style type="text/css"&amp;gt;##body { font-family: arial, sans-serif;}##&amp;lt;/style&amp;gt;##&amp;lt;/head&amp;gt;##&amp;lt;BODY text="#172972" link="#808080" vlink="#808080"##alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0"##mar&lt;/P&gt;
  &lt;P&gt;RESULT_TAB contains: &amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Application Server Error&amp;lt;/title&amp;gt;&lt;/P&gt;
  &lt;P&gt;Where this Application Server Error can be rectified.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741383#M2021075</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2023-07-27T11:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741384#M2021076</link>
      <description>&lt;P&gt;Seems to me the http is not open for your sap system. Try sending the data using rfc destination&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741384#M2021076</guid>
      <dc:creator>Abhishek_10</dc:creator>
      <dc:date>2023-07-27T11:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741385#M2021077</link>
      <description>&lt;P&gt;In fact you didn't post the full answer from RESULT (truncated after ##mar). I hope you defined it as STRING type to receive all characters.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 12:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741385#M2021077</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-07-27T12:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741386#M2021078</link>
      <description>&lt;P&gt;sir, i am attaching the complete error log.&lt;/P&gt;&lt;P&gt;and does the sms triggering required SSL certificate also...&lt;/P&gt;&lt;P&gt;Thank you.&lt;A href="https://answers.sap.com/storage/temp/2191449-error-log-copy.txt" data-attachment="2191449"&gt;error-log-copy.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 04:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741386#M2021078</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2023-07-28T04:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741387#M2021079</link>
      <description>&lt;P&gt;Hi Ravi,&lt;BR /&gt;the Error is:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2192452-image.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;If you establish an HTTP connection, then it is an SSL connection and this leads to the error, because the certificate is not trusted. See transaction SMICM in the logs for more details. You have to import the certificate from your SMS application (URL you are referring to) into the SAP system. You can do this in transaction STRUST. &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Download the certificate from your website/URL.&lt;/LI&gt;&lt;LI&gt;open the transaction STRUST &lt;/LI&gt;&lt;LI&gt; import your certificate into the certificate folder.&lt;/LI&gt;&lt;LI&gt;invalidate server cache&lt;BR /&gt;&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2192453-image.png" /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After you have imported the certificate, the error should no longer be thrown.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 07:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741387#M2021079</guid>
      <dc:creator>turkaj</dc:creator>
      <dc:date>2023-07-28T07:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741388#M2021080</link>
      <description>&lt;P&gt;Thanks, better paste the text directly (well, it's the classic SSSLERR_PEER_CERT_UNTRUSTED, answered many times in the forum):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;500 Native SSL error

Error:	-14
Version:	7210
Component:	ICM
Date/Time:	Fri Jul 28 09:43:36 2023#
Module:	icxxconn_mt.c
Line:	1989
Server:	xyz_pps_00
Error Tag:	{00000c47}
Detail:	IcmConnInitClientSSL: SapSSLSessionStart failed (-102): SSSLERR_PEER_CERT_UNTRUSTED&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2193449-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741388#M2021080</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-07-28T08:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741389#M2021081</link>
      <description>&lt;P&gt;Concerning the step 3&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;3. import your certificate into the certificate folder.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I guess the OP doesn't know STRUST, so will be in trouble with that step, hopefully there are lots of answers to provide more details, like &lt;A href="https://wiki.scn.sap.com/wiki/display/Basis/How+to+replace+productive+SSL+PSE+in+AS+ABAP"&gt;How to replace productive SSL PSE in AS ABAP - Basis Corner - Support Wiki (sap.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, it's important to say that CREATE_BY_URL was called without SSL_ID, consequently it's the SSL Client (Anonymous) PSE which is concerned.&lt;/P&gt;&lt;P&gt;NB: it's "HTTP connection" with "https://..." passed to CREATE_BY_URL.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741389#M2021081</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-07-28T08:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741390#M2021082</link>
      <description>&lt;P&gt;As we asked the sms service provider about the SSL certificate. But they donot provide any SSL certificate for sms. &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 11:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741390#M2021082</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2023-07-28T11:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741391#M2021083</link>
      <description>&lt;P&gt;When called in your code, some certificate is checked. Hence the error message. This error message can be seen in more detail in the SMICM log. Here you can see exactly what is called and where it fails. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2196450-image.png" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If the URL in the code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;URL = WF_STRING &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;called with HTTPS?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 12:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741391#M2021083</guid>
      <dc:creator>turkaj</dc:creator>
      <dc:date>2023-07-28T12:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741392#M2021084</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;ravi.kumar109&lt;/SPAN&gt; This is the public key of the certificate, so usually you can go to the browser, type the URL and you can get the certificate&lt;/P&gt;&lt;P&gt;e.g. to get &lt;A href="https://answers.sap.com" target="test_blank"&gt;https://answers.sap.com&lt;/A&gt; public key with Edge:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2193467-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Etc.&lt;/P&gt;&lt;P&gt;More information by searching:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2193469-image.png" /&gt;&lt;/P&gt;&lt;P&gt;then you have 3 certificates, which you must download and install in STRUST.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741392#M2021084</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-07-28T13:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741393#M2021085</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;ravi.kumar109&lt;/SPAN&gt; By the way, it's admin stuff.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741393#M2021085</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-07-28T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741394#M2021086</link>
      <description>&lt;P&gt;Thank you sir,  While testing came to know that when executing the report, it is showing error SSSLERR_PEER_CERT_UNTRUSTED, &lt;/P&gt;&lt;P&gt;It means need to add SSL certificate in TCODE  STRUST.  (which certificate , where can i get it)&lt;/P&gt;&lt;P&gt;But when, testing the same program with addition of function module CALL FUNCTION 'HR_URL_CALL_BROWSER'&lt;/P&gt;   EXPORTING&lt;BR /&gt;     URL                        = wa_string&lt;BR /&gt;   EXCEPTIONS&lt;BR /&gt;     BROWSER_START_FAILED       = 1&lt;BR /&gt;     NO_BATCH                   = 2&lt;BR /&gt;     URL_IS_EMPTY               = 3&lt;BR /&gt;     OTHERS                     = 4&lt;BR /&gt;            .&lt;BR /&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;BR /&gt;* Implement suitable error handling here&lt;BR /&gt;  ENDIF.          &lt;P&gt;Them SMS is triggering and browser is opening.  It is not giving error SSSLERR_PEER_CERT_UNTRUSTED.&lt;BR /&gt;This is not checking TCODE- STRUST.&lt;/P&gt;&lt;P&gt;But when  i am triggering the program in background  with function 'HR_URL_CALL_BROWSER'  , it not working because web browser is not opening.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 06:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741394#M2021086</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2023-08-01T06:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741395#M2021087</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;ravi.kumar109&lt;/SPAN&gt; It's normal that it works when you are using the browser on your frontend, which works differently. With ABAP server, you must register/authorize centrally what you want to access.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 10:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741395#M2021087</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-08-01T10:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741396#M2021088</link>
      <description>&lt;P&gt;Thank you &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &amp;amp;  Thank you Shkelqim Turkaj.  I got the point, programatically we can shoot the sms using web browser,&lt;/P&gt;&lt;P&gt;But if u want to shoot it without browser or in background then u need to authorize the settings. But main point is I am working as abaper the object is assigned to me. What content need to define in STRUST and in other T-codes setting. (like. URL need to pass in HTTP sm59 etc) . &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;B&gt; &lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 06:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741396#M2021088</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2023-08-02T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: SMS ERROR : HTTP_COMMUNICATION_FAILURE = 1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741397#M2021089</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;ravi.kumar109&lt;/SPAN&gt; As an ABAPer, it's not your role to setup STRUST.&lt;/P&gt;&lt;P&gt;Anyway, if people are willing you to do it, we already answered to you (see the external link to the wiki). What issue do you have with setting up STRUST? Why do you want to setup SM59? (of course, it's the recommended way to use SM59, but why starting with SM59, although your priority is STRUST, and SM59 is currently not needed to make it work).&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 08:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-error-http-communication-failure-1/m-p/12741397#M2021089</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-08-02T08:16:23Z</dc:date>
    </item>
  </channel>
</rss>

