Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl Error when calling get_dpird_summaries #38

Closed
16-inch-carp opened this issue Aug 25, 2023 · 4 comments
Closed

Curl Error when calling get_dpird_summaries #38

16-inch-carp opened this issue Aug 25, 2023 · 4 comments

Comments

@16-inch-carp
Copy link

Describe the bug
Running this reprex

library(weatherOz)

wd <- get_dpird_summaries(
  station_code = "BD002",
  start_date = "20200406",
  end_date = "20221231",
  api_key = Sys.getenv("DPIRD_API_KEY"),
  interval = "daily",
)

results in the following error:

Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
Failure when receiving data from the peer

Desktop (please complete the following information):

  • OS: Windows 10
  • weatherOz Version: weatherOz_0.0.1.9000
  • R Version: 4.3.1
@adamhsparks
Copy link
Member

Thanks for reporting this. I've confirmed it and we are looking into it.

@adamhsparks
Copy link
Member

I've isolated the issue. Though I'm unsure why it's occurring. I hope to have a fix for it soon.

@adamhsparks
Copy link
Member

We've determined that this is a server-side configuration issue. I'm attempting to get someone who can fix it to take a look as this isn't in our area.

@adamhsparks
Copy link
Member

I've implemented a temporary fix in this commit. 7c542ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants