<?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: Issues while calling HttpRequest in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54349#M8885</link>
    <description>Have you raised this to the target application/system owner? Perhaps they can see some something in the logs or provide input, it'd also be good to validate whether the connection between the client and application/system is stable.&lt;BR /&gt;&lt;BR /&gt;Have you tried retrying the API calls when these exceptions occurs and not just throw the exception on first encounter?&lt;BR /&gt;&lt;BR /&gt;/Joakim&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Joakim Eklund&lt;BR /&gt;Senior RPA Developer&lt;BR /&gt;Swedbank AB&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Jul 2019 06:54:00 GMT</pubDate>
    <dc:creator>joakimeklund</dc:creator>
    <dc:date>2019-07-25T06:54:00Z</dc:date>
    <item>
      <title>Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54342#M8878</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am having issue while integrating REST API for DocuSign page. The HttpRequest&amp;nbsp; (also tried HttpWebRequest). From studio and vs code the code works fine, no issues. But while running from control room I am getting errors:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="tw-data-text tw-ta tw-text-small" data-placeholder="Preklad" id="tw-target-text" dir="ltr"&gt;&lt;SPAN lang="en" tabindex="0"&gt;The underlying connection was closed: No trust could be established for the protected SSL / TLS channel.&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;PRE class="tw-data-text tw-ta tw-text-small" data-placeholder="Preklad" id="tw-target-text" dir="ltr"&gt;&lt;SPAN lang="en" tabindex="0"&gt;The connection to the remote server can not be established.&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;PRE class="tw-data-text tw-ta tw-text-small" data-placeholder="Preklad" id="tw-target-text" dir="ltr"&gt;&lt;SPAN lang="en" tabindex="0"&gt;Could not execute code stage because exception thrown by code stage: Unable to resolve the remote name: 'eu.docusign.net'&lt;/SPAN&gt;&lt;/PRE&gt;
I can not figure out how is it possible. Same code runs from studio and does not run from control room on the same resource.&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Maria Bojoa&lt;BR /&gt;PTP Process manager digitalization&lt;BR /&gt;Deutsche Telekom&lt;BR /&gt;Europe/Bratislava&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2019 16:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54342#M8878</guid>
      <dc:creator>MáriaBojová</dc:creator>
      <dc:date>2019-06-14T16:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54343#M8879</link>
      <description>This is strange indeed. Is vs and bp running under the same user? Check if firewall is blocking blueprism connections.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2019 21:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54343#M8879</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2019-06-19T21:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54344#M8880</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;When you say it runs fine in studio, did you mean visual studio or Blue Prism Process studio. I'm assuming you mean Visual Studio, if so,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you check if the certificates are installed correctly for the docusign url. Ensure the intermediate and root certificate authorities are recognized in the runtime resource where blueprism runs&lt;BR /&gt;One simple way to check this would be to open the docusign url (use the one configured in your blueprism process) in internet explorer on the runtime resource and check if there are https errors. In case there are no errors, then you are good to go.&lt;BR /&gt;&lt;BR /&gt;Additionally, can you try adding the docusign IP address to your localhost. May be there are proxies in the Runtime resource network connection that is causing these blocks.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Bimal&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2019 05:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54344#M8880</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2019-07-17T05:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54345#M8881</link>
      <description>Well It works from vs code and also from Blue Prism studio without any issues. It works now somehow also from control room but not always. I realized that restarting resource helps, but we have pool system so It is not ideal. I have workaround with rebooting resource and triggering another schedule, but&amp;nbsp; it does not solve the root cause.&lt;BR /&gt;I tried also to check url in the web browser several times, it seems to be working just fine.I still have no clue what is causing this issues.&lt;BR /&gt;&lt;BR /&gt;Also HttpClient not working at all in control room (but it works in vs code and Blue Prism studio)&lt;BR /&gt;WebRequest is working as described above.I am using default proxy credentials, it made it work as least somehow.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;MÃ¡ria BojovÃ¡&lt;BR /&gt;PTP Process manager digitalization&lt;BR /&gt;Deutsche Telekom&lt;BR /&gt;Europe/Bratislava&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2019 07:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54345#M8881</guid>
      <dc:creator>MáriaBojová</dc:creator>
      <dc:date>2019-07-17T07:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54346#M8882</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;can you tell me what version of Blue prism is used here. Perhaps post the code here if you can&lt;BR /&gt;also, have you tried the web api feature in v6.3 which should make calling apis much more easier.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2019 12:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54346#M8882</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2019-07-23T12:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54347#M8883</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is BP 6.4 version and the sample code is following:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ServicePointManager.Expect100Continue = true;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;System.Net.ServicePointManager.ServerCertificateValidationCallback +=&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(se, cert, chain, sslerror) =&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{return true;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IWebProxy defaultWebProxy = WebRequest.DefaultWebProxy;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;defaultWebProxy.Credentials = CredentialCache.DefaultCredentials;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;var request = (HttpWebRequest)WebRequest.CreateHttp(loginEndpoint);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;request.Headers.Add("X-DocuSign-Authentication", "{\"Username\":\"" + username + "\", \"Password\":\"" + password + "\", \"IntegratorKey\":\"" + integratorkey + "\"}");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;request.Method = "GET";&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;HttpWebResponse resp = (HttpWebResponse)request.GetResponse();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Stream dataStream = resp.GetResponseStream ();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;StreamReader reader = new StreamReader (dataStream);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;JResponse= reader.ReadToEnd ();&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;status = resp.StatusCode.ToString();&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;MÃ¡ria BojovÃ¡&lt;BR /&gt;PTP Process manager digitalization&lt;BR /&gt;Deutsche Telekom&lt;BR /&gt;Europe/Bratislava&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2019 13:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54347#M8883</guid>
      <dc:creator>MáriaBojová</dc:creator>
      <dc:date>2019-07-23T13:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54348#M8884</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;the code does look fine to me. I guess reading the code and actually seeing it work after considering external impacts (ex: certificates...etc)&lt;BR /&gt;But, is there any reason you havent considered using the Web API feature of Blueprism.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2019 09:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54348#M8884</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2019-07-24T09:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54349#M8885</link>
      <description>Have you raised this to the target application/system owner? Perhaps they can see some something in the logs or provide input, it'd also be good to validate whether the connection between the client and application/system is stable.&lt;BR /&gt;&lt;BR /&gt;Have you tried retrying the API calls when these exceptions occurs and not just throw the exception on first encounter?&lt;BR /&gt;&lt;BR /&gt;/Joakim&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Joakim Eklund&lt;BR /&gt;Senior RPA Developer&lt;BR /&gt;Swedbank AB&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2019 06:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54349#M8885</guid>
      <dc:creator>joakimeklund</dc:creator>
      <dc:date>2019-07-25T06:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54350#M8886</link>
      <description>&lt;P&gt;I was facing the same issue. if you are using code stage just add this before the connection&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please refer : &lt;A href="https://stackoverflow.com/questions/22627977/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send" target="test_blank"&gt;https://stackoverflow.com/questions/22627977/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Subani sms&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Oct 2021 20:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54350#M8886</guid>
      <dc:creator>sms</dc:creator>
      <dc:date>2021-10-05T20:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54351#M8887</link>
      <description>Well It works from vs code and also from Blue Prism studio without any issues.&lt;BR /&gt;&lt;BR /&gt;It works now somehow also from control room but not always.&lt;BR /&gt;&lt;BR /&gt;I realized that restarting resource helps, but we have pool system so It is not ideal.&lt;BR /&gt;&lt;BR /&gt;I have workaround with rebooting resource and triggering another schedule, but it does not solve the root cause.&lt;BR /&gt;&lt;BR /&gt;I tried also to check url in the web browser several times,&lt;BR /&gt;&lt;BR /&gt;it seems to be working just fine.&lt;BR /&gt;&lt;BR /&gt;I still have no clue what is causing this issues.&lt;BR /&gt;&lt;BR /&gt;Also HttpClient not working at all in control room (but it works in vs code and Blue Prism studio) WebRequest is working as described above.&lt;BR /&gt;&lt;BR /&gt;I am using default proxy credentials,&lt;BR /&gt;&lt;BR /&gt;it made it work as least somehow.&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;A href="https://www.hydro-lazer.com/" target="_blank" rel="noopener"&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;Hydro-Lazer&amp;quot;}" data-sheets-userformat="{&amp;quot;2&amp;quot;:1,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0,&amp;quot;3&amp;quot;:1}}"&gt;Hydro-Lazer&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;------------------------------</description>
      <pubDate>Wed, 06 Oct 2021 18:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54351#M8887</guid>
      <dc:creator>davidreyan</dc:creator>
      <dc:date>2021-10-06T18:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issues while calling HttpRequest</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54352#M8888</link>
      <description>Hi @Mária&amp;nbsp;Bojová,&lt;BR /&gt;&lt;BR /&gt;Not sure that this will help you, but have you seen the DocuSign VBO on the Digital Exchange?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/utility---docusign" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/utility---docusign&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Oct 2021 15:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issues-while-calling-HttpRequest/m-p/54352#M8888</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-10-07T15:26:00Z</dc:date>
    </item>
  </channel>
</rss>

