Comments (5)
If mongodb is not configured, it'll use inMem storage. Not ideal but you'll be able to run the app. Mongodb is configured in production
from chat-e2ee.
Can you assign me this issue? Would like to contribute to this project.
from chat-e2ee.
@muke1908
I am facing this error when I run 'npm run dev'
{
[1] err: MongoAPIError: URI must include hostname, domain name, and tld
[1] at resolveSRVRecord (/home/sharduld/open_source/node_projects/chat-e2ee/node_modules/mongodb/src/connection_string.ts:65:11)
[1] at /home/sharduld/open_source/node_projects/chat-e2ee/node_modules/mongodb/src/mongo_client.ts:457:45
[1] at maybeCallback (/home/sharduld/open_source/node_projects/chat-e2ee/node_modules/mongodb/src/utils.ts:449:19)
[1] at MongoClient.connect (/home/sharduld/open_source/node_projects/chat-e2ee/node_modules/mongodb/src/mongo_client.ts:449:25)
[1] at /home/sharduld/open_source/node_projects/chat-e2ee/backend/db/index.ts:17:18
[1] at Generator.next ()
[1] at /home/sharduld/open_source/node_projects/chat-e2ee/backend/db/index.ts:8:71
[1] at new Promise ()
[1] at __awaiter (/home/sharduld/open_source/node_projects/chat-e2ee/backend/db/index.ts:4:12)
[1] at Object.connectDb (/home/sharduld/open_source/node_projects/chat-e2ee/backend/db/index.ts:14:45) {
[1] [Symbol(errorLabels)]: Set(0) {}
[1] }
[1] }
[1] MONGO DB ERROR! Using in-memory DB - Not reliable!!
I have already set up the .env according to the .env.sample in the repo. Not sure why the database is not connecting. Can you help me here?
from chat-e2ee.
@Shardul1908 probably wrong URI (wrong format)?
You should still be able to run the app even if no mongo db.
from chat-e2ee.
Ohh okay, let me try that. Why is MongoDB used then?
from chat-e2ee.
Related Issues (20)
- Some UI Changes (Fixed) HOT 1
- Remove unused packages from package.json HOT 1
- Create service as a separate module HOT 1
- Add typescrript support to React Client HOT 2
- Write UT for cryptoUtils module HOT 12
- Allow to set server endpoint in chate2ee/service module HOT 12
- Create a JS playground with @chat-e2ee/service package HOT 8
- Allow users to disable logging in sdk HOT 1
- Create a minimalistic UI client using the chat-e2ee/service SDK HOT 10
- passing two arguments instead of one to SS.get function in storage.js HOT 2
- Remove the PIN UI component HOT 2
- User should be able to send image. HOT 4
- Setup webrtc HOT 3
- in /chat page send button is not working HOT 1
- Write UT for ChatE2EE class HOT 2
- User should be able to send file HOT 3
- Display the action is "in-progress" HOT 2
- Allow user to set nickname HOT 12
- UI bug HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-e2ee.