bzhanglab / WebGestaltR

R package for WebGestalt
https://bzhanglab.github.io/WebGestaltR/
34 stars 13 forks source link

[www.webgestalt.org] server certificate verification failed #48

Closed shengqh closed 5 months ago

shengqh commented 5 months ago

We used WebGestaltR in our routine RNAseq pipeline. Today, it failed with following error. Since it was failed inside of WebGestaltR, I am wondering if there is any issue in server side? Thanks.

Error in curl::curl_fetch_memory(url, handle = handle) :
  SSL peer certificate or SSH remote key was not OK: [www.webgestalt.org] server certificate verification failed. 
CAfile: none CRLfile: none
Calls: WebGestaltR ... request_fetch -> request_fetch.write_memory -> <Anonymous>
shengqh commented 5 months ago

After loading WebGestaltR library, add the following line solved the problem:

httr::set_config(httr::config(ssl_verifypeer = FALSE))
iblacksand commented 5 months ago

Sorry for the error. This was caused by a certificate chain issue that should be fixed. You should be able to run the command without any additional commands.

iblacksand commented 5 months ago

If this error reappears, please let us know. I will close this issue for now.