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

Error retrieving occurrences #57

Open
diodon opened this issue Dec 10, 2019 · 1 comment
Open

Error retrieving occurrences #57

diodon opened this issue Dec 10, 2019 · 1 comment
Assignees

Comments

@diodon
Copy link

diodon commented Dec 10, 2019

When doing this:

RL.occurrences = occurrence(redlist=TRUE, fields = c("scientificName", "aphiaID", "eventDate", "category", "decimalLongitude", "decimalLatitude", "depth"))

after some time (~20% of all records retrieved) an error occurred:

Error in curl::curl_fetch_memory(url, handle = handle) : 
  gnutls_handshake() failed: An unexpected TLS packet was received.

running in R 3.6.1 with a fresh install of robis v2.2.0

@pieterprovoost pieterprovoost self-assigned this Dec 10, 2019
@pieterprovoost
Copy link
Member

@diodon No issues here but I'll look into handling network errors using https://www.rdocumentation.org/packages/httr/versions/1.4.1/topics/RETRY

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

No branches or pull requests

2 participants