r-lib / httr

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

Error in curl fetch memory port 443 timed out #719

Closed Rom1M closed 10 months ago

Rom1M commented 2 years ago

Hi, Could someone help me with the following issue: When i run the code below, I get the error message :

Error in curl::curl_fetch_memory(url, handle = handle) : Failed to connect to api.cryptowat.ch port 443: Timed out

Code: install.packages('cryptowatchR') library ('cryptowatchR') my_url <- paste("https://api.cryptowat.ch/assets") result <- httr::GET(my_url)

The weird thing is that I ran exactly the same code on Rstudio on my private laptop and I didn't face this issue. A colleague of mine who is using the same environment has no issue either.

Looking forward to your tips on this one,

Many thanks in advance

hadley commented 10 months ago

Probably either there's a proxy getting in your way or the server has blocked your IP address.