Closed espinielli closed 3 years ago
I cannot reproduce this, I get:
osmdata_sf(q)
Object of class 'osmdata' with:
$bbox : 32.1634093,-96.9079386,32.2066985,-96.8616477
$overpass_call : The call submitted to the overpass API
$meta : metadata including timestamp and version numbers
$osm_points : 'sf' Simple Features Collection with 0 points
$osm_lines : NULL
$osm_polygons : 'sf' Simple Features Collection with 0 polygons
$osm_multilines : NULL
$osm_multipolygons : NULL
Have you tried on a different computer/IP?
It definetly is something with my computer... This basic fails:
> overpass_status(quiet = FALSE)
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 1.4 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 3.2 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 6.1 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 4.9 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 26.4 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 22.3 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 59.8 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 31.2 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): SSL certificate problem: certificate has expired
Request failed [ERROR]. Retrying in 18.8 seconds...
Error in curl::curl_fetch_memory(url, handle = handle) :
SSL certificate problem: certificate has expired
It is strange because curl
from command line works.
Also I uninstalled/reinstalled the {curl}
package to be super sure.
And overpass turbo from the browser is ok: I will store the XML from there and import in my R session...but strange!
Idea: could the OSM server used by osmdata
have blocked your IP for excessive use?
I get
overpass_status(quiet = FALSE)
Rate limit: 0
Same link i just put in #224 explains why this generally un-repeatable phenomenon happens. It's up to individual services to update their certificate stores, which has to happen at some stage dependent on maintenance schedules, and everything will resolve itself. That's definitely the reason for the behaviour you observe @espinielli, so I'm going to close now. Thanks
And thanks @Robinlovelace for the super speedy responses :rocket:
It works on another machine... Thanks for all your feedback and help!
I cannot follow the required steps for a bug report, because even downloading OSM data locally fails. I fear this is not really an
osmdata
package issue and I have seen that a similar issue, #224 was reported in the past. I have no issues using my browser and overpass-turbo:Here is my reproducible example:
Created on 2021-11-07 by the reprex package (v2.0.1)