-
Notifications
You must be signed in to change notification settings - Fork 5
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
ctrLoadQueryIntoDb works on windows but not ubuntu #19
Comments
Thanks. The reason underlying the reported error with EUCTR (https://www.clinicaltrialsregister.eu/) is,
This error reports correctly that this particular register server does not deliver all certificates that would be needed for the R client to verify the certificate chain (see also https://ssl-tools.net/webservers/www.clinicaltrialsregister.eu). Since recently, R package policies prevent switching off checking SSL certificates (which had been used in some previous versions of Use the following command before running ctrdata commands to access EUCTR - I checked today that this works under Ubuntu. This setting for options applies during the duration of the R session.
I will improve the error reporting in |
Better user info now in 08ea0c2. One could install the latest development version with |
Thanks for that. I've tried with the setting but the error message with the httr config set is now Error in curl::curl_fetch_memory(url = paste0(queryEuRoot, queryEuType3, : This may be some sort of issue with certificates on my side. Unless you can suggest any other reason, I'll assume it's due to my config |
Yes. I will see what can be done in the package to propagate the user settings to all concerned network operations. Again, it is a problem of the register server. R packages are not permitted to circumvent checking certificates of servers. More later. |
Commit 80572c2 now propagates the |
Brilliant - I've tried that and it resolves the issue perfectly. Many thanks for the fast response and quick resolution. |
Glad to know it works ok. Thanks for the feedback. And in particular thank you for raising the issue. |
ctrLoadQueryIntoDb works on windows machine when searching EUCTR, but fails when I try the code on a ubuntu server with the following error.
Similar searches with other queries don't work. Searching CTGOV works fine on both machines. I've updated R and all packages with no success, and tried the dev version of ctr data. Other API calls work from the ubuntu machine, (as does using the CTGOV registry). I've checked sed, php, cat, perl are installed on the ubuntu machine, no luck. I'm using a sqlite database if that makes any difference.
Any thoughts on what might be the issue?
The text was updated successfully, but these errors were encountered: