Shinyapps with MongoDB

Hello,

I am trying to deploy a shiny app to Shinyapps.oi which is linked to MongoDB with mongolite. The app works perfectly fine when I run in locally but I keep getting the following error message:

"shinyapps[1540076]: Warning: Error in : No suitable servers found (serverSelectionTryOnce set): [Failed to receive length header from server. calling ismaster on etcluster-shard-00-00-2yrvp.azure.mongodb.net:27017] [Failed to receive length header from server. calling ismaster on etcluster-shard-00-01-2yrvp.azure.mongodb.net:27017]

Has anyone successfully connected to mongo in their shiny app?

Any help much appreciated.

I am having the same problem with no solution found.

You need to whitelist the IP for shiny!

I am getting my error without Shiny - simply using mongolite and connecting to Mongo Atlas on Azure from an R script.

Any ideas?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.