title: httr: Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from the peer
body: <p>I have seen similar threads, but none were of help.</p>
  
  <p>Anyway, whenever I try to run the following code:</p>
  
  <pre><code>&gt; library(httr)
  
  &gt; test &lt;-GET("https://olinda.bcb.gov.br/olinda/servico/taxaJuros/versao/v1/odata/TaxasJurosDiariaPorInicioPeriodo(InicioPeriodo=@InicioPeriodo)?%40InicioPeriodo=%2706-18-2018%27&amp;%24format=json")
  </code></pre>
  
  <p>I get the error described in the title:</p>
  
  <pre><code>Error in curl::curl_fetch_memory(url, handle = handle) : 
    Failure when receiving data from the peer
  </code></pre>
  
  <p>It used to work until last Friday. I have updated R to version 3.5.1, curl to 3.2, RCurl 1.95-4.10 and httr to 1.3.1, the latest available. I have not succeeded with httr::RETRY.</p>
  
  <p>So, what can be done to fix the issue?</p>