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

NOAA API V2 moved to HTTPS since noon today, breaking all(?) api access functions #182

Closed
maspotts opened this issue Nov 16, 2016 · 4 comments
Labels
Milestone

Comments

@maspotts
Copy link

Although the NOAA website doesn't mention this, since noon today I've been getting 301 errors from all NOAA API V2 services reporting a move from HTTP to HTTPS. I've asked the NOAA technical support folks if this is a permanent change, but as long as it's in place I can't get the rnoaa api functions to work. Example:

curl -H token:${MYTOKEN} http://www.ncdc.noaa.gov/cdo-web/api/v2/datasets
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://www.ncdc.noaa.gov/cdo-web/api/v2/datasets">here</a>.</p>
</body></html>

As a quick workaround, is there any way to force an HTTPS connection to any of the ncdc*() family of functions?

@sckott sckott added the bug label Nov 16, 2016
@sckott
Copy link
Contributor

sckott commented Nov 16, 2016

fixing right now

@sckott sckott added this to the v0.6.6 milestone Nov 16, 2016
@sckott
Copy link
Contributor

sckott commented Nov 16, 2016

oh, and thanks for the report!

@sckott sckott closed this as completed in 5a8d28a Nov 16, 2016
@sckott
Copy link
Contributor

sckott commented Nov 16, 2016

@maspotts reinstall from github for now, will send to CRAN today hopefully

devtools::install_github("ropensci/rnoaa")

@maspotts
Copy link
Author

thanks: works for me. that was amazingly fast!! :)

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

No branches or pull requests

2 participants