Support
MongoDB Compass
I am new to ProvenDB. Can I connect via MongoDB Compass without loading the MongoDB Shell? When I enter my connection string I get a message "certificate has expired"
Posted by Tim almost 3 years ago
Can anyone see my blockchain data?
I've heard that the Blockchain is _public_ meaning that anyone can see what is on it.
If I place some data into ProvenDB and prove it on the blockchain, does that mean anyone can read my data?
Posted by Michael Harrison over 4 years ago
Unable to connect using Go
Hey,
Just trying to connect to the mongodb instance using the standard mongo-driver package in go, however I am unable to establish a connection this way. I can log in perfectly fine using the latest version of the MongoDB shell on Windows.
My code for connecting is this:
~~~~
package main
import (
"context"
"log"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
"go.mongodb.org/mongo-driver/mongo/readpref"
)
func GetClient() *mongo.Client {
clientOptions := options.Client().ApplyURI("mongodb://testuser:********@test-server.provendb.io/test-server?ssl=true")
client, err := mongo.NewClient(clientOptions)
if err != nil {
log.Fatal(err)
}
err = client.Connect(context.Background())
if err != nil {
log.Fatal(err)
}
return client
}
func main() {
c := GetClient()
err := c.Ping(context.Background(), readpref.Primary())
if err != nil {
log.Fatal("Couldn't connect to the database - ", err)
} else {
log.Println("Connected!")
}
}
~~~~
Any help would be awesome.
Posted by Nathaniel Peiffer over 3 years ago
Connection fail
When I try to connect I have this error:
connecting to: mongodb://34.94.247.74/rjurado-test-db
2019-10-28T11:25:28.669+0100 E QUERY [js] Error: couldn't connect to server 34.94.247.74:27017, connection attempt failed: SocketException: sslv3 alert unexpected message :
connect@src/mongo/shell/mongo.js:257:13
@(connect):1:6
exception: connect failed
Posted by rjurado_nss about 4 years ago
Cannot connect to service from mongo shell
I have installed mongosh-1.5.1-win32-x64
When trying to connect to my service from mongosh shell, i'm getting the error
MongoServerSelectionError: connect ETIMEDOUT 52.155.36.122:27017
Posted by Parmeet over 1 year ago
error occur when connecting with MongoDB Compass
BSON field 'OperationSessionInfo.$clusterTime' is a duplicate field
Posted by Mahesh about 2 years ago
MongoDB Atlas: Username already exists.
MongoDB Atlas: 409 A user with username "Test" already exists.
{
"message": "MongoDB Atlas: 409 A user with username "Test" already exists.",
"code": "ATLAS_USER_ALREADY_EXISTS",
"deletable": false,
"humanInterventionNeeded": true
}
How to fix this issue?
Delete functionality not available!
Posted by Bhavin Kareliya about 2 years ago
I get this error everytime I try to create a new service.
{"message":"(Location51002) Role \"superadmin@elderlyhealthappdb\" already exists","code":"UNKNOWN","deletable":false,"humanInterventionNeeded":true}
All the time I get this error when I am trying to create a new service
Posted by Archi over 2 years ago
Error while trying to create a shareable link.
It says "failed to encrypt link" if I try all of the 3 choices to create a shareable link. What do I do??
Posted by Walter Scimone about 2 years ago