Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
233 stars 36 forks source link

Dockerized Shiny app with Polished auth ERROR #221

Open engevity opened 1 year ago

engevity commented 1 year ago

Hey @merlinoa ,

I'm dockerizing my shiny app which uses Polished but when I test it locally I get this error in the browser

**The application failed to start.

The application exited during initialization**

And this error in the logs, which makes a reference to polished's API and a certificate.

Error in curl::curl_fetch_memory(url, handle = handle) : SSL peer certificate or SSH remote key was not OK: [auth-api.polished.tech] server certificate verification failed. CAfile: none CRLfile: none Calls: runApp ... request_fetch -> request_fetch.write_memory ->

Would you have an idea whether I need to add some kind of certificate in the Dockerfile?

Thanks!