Hi Jeroen,
I am very new to your package 'rmongolite'. I have your development version of rmongolite library package.
devtools::install_github("jeroen/mongolite")
My desktop is connecting in LAN. I am running Rstudio in windows 10.
> C:\Users\95000405>mongo
> MongoDB shell version v4.0.5
> connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
> Implicit session: session { "id" : UUID("d7c60096-f9e8-43ed-a1a8-afe06817f1b5") }
> MongoDB server version: 4.0.5
> Server has startup warnings:
> 2018-12-26T14:00:22.972+0530 I CONTROL [initandlisten]
> 2018-12-26T14:00:22.980+0530 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
> 2018-12-26T14:00:22.981+0530 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
> 2018-12-26T14:00:22.981+0530 I CONTROL [initandlisten]
> ---
> Enable MongoDB's free cloud-based monitoring service, which will then receive and display
> metrics about your deployment (disk utilization, CPU, operation statistics, etc).
>
> The monitoring data will be available on a MongoDB website with a unique URL accessible to you
> and anyone you share the URL with. MongoDB may use this information to make product
> improvements and to suggest MongoDB products and deployment options to you.
>
> To enable free monitoring, run the following command: db.enableFreeMonitoring()
> To permanently disable this reminder, run the following command: db.disableFreeMonitoring()
> ---
I got authentication and host ip address of mongoDB server from our IT department as
Server URL : mongodb://10.4.27.104:27017
Auth. Credentials : Username : pass123
Database : SASANPI
Collection : TAGVALUES
While connecting the mongoDB from R I get following error
> library(mongolite)
> con<-mongo(collection = 'TAGVALUES',
+ url = "mongodb://Username:pass123@10.4.27.104:27017/SASANPI")
Error: No suitable servers found (`serverSelectionTryOnce` set): [connection timeout calling ismaster on '10.4.27.104:27017']
--
> | >
>
OR
> newdb <- mongo(collection= "TAGVALUES",
+ db = "SASANPI",
+ url = "mongodb://Username:pass123@10.4.27.104:27017/SASANPI",
+ verbose = TRUE)
Error: No suitable servers found (`serverSelectionTryOnce` set): [connection timeout calling ismaster on '10.4.27.104:27017']
--
> | >
>
Hi Jeroen, I am very new to your package '
rmongolite
'. I have your development version of rmongolite library package.devtools::install_github("jeroen/mongolite")
My desktop is connecting in LAN. I am running Rstudio in windows 10.
I got authentication and host ip address of mongoDB server from our IT department as
Server URL : mongodb://10.4.27.104:27017 Auth. Credentials : Username : pass123
Database : SASANPI Collection : TAGVALUES
While connecting the mongoDB from R I get following error
OR
while in nodejs app
I have seen the discussion: 1 and 12
Can you help me to find out the exact related issue? Is it really the issue related to server end or from my end?