Closed javier-gracia-tabuenca-tuni closed 3 years ago
Hi all,
I have a similar question:
It seems I can not get the correct authorization for using the WebApi. So I'm not able to use functions like getCdmSources, getDefinitionsMetadata, etc. Also my CohortDiagnostics package fails.
How could I solve this issue?
Hi @ChenyuL @javier-gracia-tabuenca-tuni Can you please try the develop version of ROhdsiWebApi. We have added security support and would love feedback from you.
Our webAPI is serverd has changed from http to https and ROhdsiWebApi stopped working.
I can set a certificate for the httr;; package but functions keep failing at this point
https://github.com/OHDSI/ROhdsiWebApi/blob/23eaf1e0fe3f7f6a4aae6dcfb3ebdb8fd39ed900/R/Private.R#L22
with error "status was SSL peer certificated or SSH remote was not OK".
Is there a solution to this? Should
.isValidUrl
test the url validity using httr:: functions to fix this issue ??