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

INSPIRE metadata validator not working on Windows (curl issue) #174

Closed
eblondel opened this issue Feb 6, 2021 · 1 comment
Closed

INSPIRE metadata validator not working on Windows (curl issue) #174

eblondel opened this issue Feb 6, 2021 · 1 comment
Assignees
Milestone

Comments

@eblondel
Copy link
Owner

eblondel commented Feb 6, 2021

When testing the status of online INSPIRE metadata validator service, we get this error:

Error in curl::curl_fetch_memory(url, handle = handle) : 
  Failure when receiving data from the peer
@eblondel
Copy link
Owner Author

eblondel commented Feb 6, 2021

This seems a Windows-specific issue. A solution is to set-up the CURL_SSL_BACKEND=ssl in the .Renviro file, to switch to OpenSSL.
This can be done easily doing this:

usethis::edit_r_environ()

then set

CURL_SSL_BACKEND=openssl in the file and save it. Restart R.

Checking the ssl version:

curl::curl_version()$ssl_version

It should give "OpenSSL/1.1.1a (Schannel)" instead of "(OpenSSL/1.1.1a) Schannel"

@eblondel eblondel changed the title INSPIRE metadata validator not working INSPIRE metadata validator not working on Windows (curl issue) Feb 6, 2021
eblondel added a commit that referenced this issue Feb 6, 2021
@eblondel eblondel closed this as completed Feb 6, 2021
@eblondel eblondel modified the milestones: 0.7, 0.6 Sep 15, 2021
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

1 participant