matildabrown / rWCVP

Generating Summaries, Reports and Plots from the World Checklist of Vascular Plants
https://matildabrown.github.io/rWCVP/
GNU General Public License v3.0
19 stars 0 forks source link

timeout in reaching the kew API #59

Closed azizka closed 10 months ago

azizka commented 11 months ago

Hi, thanks for the awesome package!

I am getting

Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [sftp.kew.org] Failed to connect to sftp.kew.org port 80 after 10012 ms: Timeout was reached

with a functioning high speed internet connection, and a script that worked yesterday. Is there a problem with the API?

R version 4.3.1 (2023-06-16 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19045)

barnabywalker commented 11 months ago

Hi Alex,

Unfortunately it looks like the sftp server holding the WCVP is down. rWCVP makes a request to it to check the version of the WCVP data you’re using unless you have a local copy.

Matilda’s put a workaround in #58 and we’re working on a more permanent fix now.

matildabrown commented 11 months ago

Adding a couple more details for anyone else who is having this issue: rWCVPdata contains a copy of the WCVP that can be used as a 'local copy' via the workaround (#58) and as far as I know should still be installable, so will work even if you are using the package for the first time.

azizka commented 11 months ago

great, thanks