r-lib / httr

httr: a friendly http package for R
https://httr.r-lib.org
Other
986 stars 1.99k forks source link

curl::curl_fetch_memory(url, handle = handle): Timeout was reached - OSX Darwin + R3.3.2 #444

Closed mdancho84 closed 7 years ago

mdancho84 commented 7 years ago

Having an issue with the tidyquant CRAN check using:

The following error occurs: "curl::curl_fetch_memory(url, handle = handle): Timeout was reached"

We are using the RETRY() function attempting to download from the following URL: http://financials.morningstar.com/finan/ajax/exportKR2CSV.html?&callback=?&t=XNAS:AAPL&region=usa&culture=en-US&cur=&order=asc

Here's a reproducible example:

url <- "http://financials.morningstar.com/finan/ajax/exportKR2CSV.html?&callback=?&t=XNAS:AAPL&region=usa&culture=en-US&cur=&order=asc"
httr::RETRY("GET", url)

It works on every system but the above mentioned "flavor" (R3.3.2 and OSX Darwin 13.4.0 64-bit). Any thoughts on how to get around this without removing test and vignette examples that are failing?

mdancho84 commented 7 years ago

Getting more information. I believe this issue is actually related to a change in Yahoo! Finance URL that is identified here. I am closing this issue.