This error is raised when the OpenSpecimen server is unable to contact the REDCap server. It can happen due to any of the following reasons: UnknownHostException: The REDCap server hostname could not be resolved to a valid IP address. Ensure the hostname specified in the server config is correct. Contact system/network admin to configure the appropriate DNS entries to resolve the REDCap hostname to the corresponding IP address.
ConnectException - Connection Refused Firewall rules might be preventing connections from the OpenSpecimen VM to the REDCap server. Contact system/network admin to fix the firewall rules.
CertificateExpiredException: This occurs when the REDCap server certificate has expired. Contact the REDCap server administrator to renew the server certificate.
SSLHandshakeException: PKIX path building failed. This occurs when the REDCap server is either using a self-signed certificate or using a certificate issued by CA not trusted by every client. Contact the REDCap server administrator to share the CA root certificate for importing into OpenSpecimen's trusted certificate store. The REDCap public certificate can be imported into the JVM trust store as below. This will require reboot of OpenSpecimen app. keytool -importcert -alias <server_name> -keystore $JAVA_HOME/jre/lib/security/cacerts -file <public_certificate.crt>
|