I am kinda new to shinyapps.io and I am trying to connect my shinyapps.io account on RStudio to be able to deploy the app but after pasting the code I copied from the Tokens page into RStudio, I keep getting this error message:
I was able to connect and deploy apps few days ago but then that started to happen. I've tried to uninstall R and RStudio completely and reinstall them but that did not work. The app runs locally with no problems on my macOS system. Could you help me finding the cause and possible solution for this?
I can't deploy the app that I'm working on since wednesday.
I have looked on status.posit.co/, and that day there was an error on shinyapps.io, so I waited. But today I still can't make it work.
I tried to deploy and this is the error I get:
── Preparing for deployment ────────────────────────────────────────────────────
✔ Re-deploying "dashboard" using "server: shinyapps.io / username: icolma"
ℹ Looking up application with id "14508704"...
Error in curl::curl_fetch_memory(url, handle = handle) :
SSL connect error [api.shinyapps.io]: TLS connect error: error:0BFFF065:x509 certificate routines:CRYPTO_internal:cert already in hash table
Calls: <Anonymous> ... httpRequest -> http -> <Anonymous> -> raise_libcurl_error
Execution halted
I tried to archive the app on shinyapps.io to deploy again, but it did not work (and gives an error if I try to un-archive it).
I have tried some things to try to find the error, but none of it worked so far:
deploying with a different account
deploying in anohter 'title'/subdomain
I also tried to update my credentials, and this is the error I get:
I am experiencing the same issue. This happens on two machines with MacOS. I was able to deploy the same project from Windows.
Updating curl and and openssl and reinstalling the curl R package did not help, unfortunately.
However, I did revert back to a previous commit with older versions of the curl and openssl packages and that fixed the issue.
I tried to narrow it down further. It appears that downgrading to the previous version of the curl package is enough: renv::install("curl@6.2.3"); renv::snapshot()
- MacOS/Windows: update to libcurl 8.14.1
- MacOS: our static build of libcurl now links to the MacOS native LibreSSL
and nghttp in order to use the same keychain certificates as native curl.
Oi Beatriz! I've tried that and I got the exact same error . Thank you very much for the help though. The solution from @teebusch worked was what worked for me.
Hi Tobias! Thank you for your help. I've downgraded curl and openssl to the versions you suggested and I was able to both connect my account and deploy my shiny app as I was doing before. I am curious if there is some workaround or settings change we should do on macOS to have it working with the newest version of curl.