Downloading file from Azureblob storage to R

Hello,

I am trying to get a file from blob storage to Rstudio by using AzureStor package. Using the package I can able to view the list of containers & files but when I try to download the file getting this below error.

download_from_url(
  "https:/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/",
  "xxxxxxxxxx",
  key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  overwrite=TRUE
)
Connection error, retrying (1 of 10)
Connection error, retrying (2 of 10)
Connection error, retrying (3 of 10)
Connection error, retrying (4 of 10)
Connection error, retrying (5 of 10)
Connection error, retrying (6 of 10)
Connection error, retrying (7 of 10)
Connection error, retrying (8 of 10)
Connection error, retrying (9 of 10)
Connection error, retrying (10 of 10)
Error in curl::curl_fetch_memory(url, handle = handle) :
TCP connection reset by peer 

Anyone had the similar issue?

Thanks!

I suggest you let the package author, Hong Ooi ( @Hong ), know. I've tagged him here, so he might see the message. You can also raise an issue at the package repository.

Hi, I can't reproduce this.

What kind of storage are you using? And can you provide an example URL that triggers the problem?

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.