christophergandrud / christophergandrud/imfr
Error: Recv failure: Connection was reset
- Dominant language
- R
- Stars
- 48
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to retrieve DOT data from IMF using:
```
imf_app_name("imf")
dot_raw <- imf_dataset(
database_id = "DOT",
freq = "A",
ref_area = c("US", "CN", "B0"),
indicator = c("TXG_FOB_USD", "TMG_CIF_USD"),
counterpart_area = c("US", "CN", "B0")
)
```
but for 3 days now I am getting an error:
```
Error in curl::curl_fetch_memory(url, handle = handle): Recv failure: Connection was reset
Request failed [ERROR]. Retrying in 5.5 seconds...
Error: Recv failure: Connection was reset
```
Does anybody know what this error means?
It semms like IMF problem but I am not sure.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the shown imf_dataset call and tracing the curl::curl_fetch_memory failure it reports. Check whether the reset is specific to the IMF DOT endpoint or the package request path; done means identifying the source of the failure and documenting or addressing the package behavior if applicable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100