Open RajGuru878 opened 10 months ago
Try running "make build" instead
@nxglabs tried make build, but still same issue. trying this from one weak. after this build opensignserver exiting. It is unable to communicating with mongo container.
This happens when your OpenSign server is not able to connect with mongodb due to some issue with network settings etc.
@nxglabs , can u plz explain how should i resolve this .
Can you share more details about your setup?
@nxglabs What can i share?, means error or my env file
You are trying to setup in your local machine or AWS or Digital ocean? Your .env? And exact steps you followed.
@nxglabs i am installing it in local machine ( docker based ) I am attaching my env file here, and i tried this with public ip also. first i cloned repository and then i changed .env.local_dev file as per our requirement and then ran command make build. It automaticall converted .env.local_dev file to .env and made containers up.
You dont need to change anything other than smtp or mailgun parameters in .env.local_dev and running "make build" from the root of the cloned directory. Keep everything else as it is.
@nxglabs I wanted to host mongo and everything from our host only, not with any UAT server. Soo i mentioned all our host address there.
Hello @RajGuru878 The IP added in mongo DB is your localhost?
@rishabjasrotia Yess. thats my localhost.
This was not working in your local ? MONGODB_URI=mongodb://host.docker.internal:27017/OpenSignDB
@rishabjasrotia No that is not working.
Try this: MONGODB_URI=mongodb://mongo:27017/OpenSignDB
Docker should auto-route to the mongo container (you can verify the name of the container in the docker compose file)
@mrinc Tried with mentioned line, same error ( error screenshot is mentioned below )
hi there, same problem i have meet. This is a bug, and i solved it by making a mongo database named 'OpenSignDB' manually.
The main reason cause this bug is the mongo/mongo-init.sh
script is not running when mongo start.
And you should import the default data manually when mongo server start.
@creampnx-x Hi, Can yo plz brief about import the default data manually when mongo server start.
When you started your docker(run make build
), the mongo server is actually running. So I just
localhost:27017
.OpenSignDB
database apps\mongo\default-data
file finder@RajGuru878 hi bro, I discovered several new ways on it. It may be caused by docker net work.
link mongo to parse server.
change mongo uri to 'mongo://mongo:27017/OpenSignDB'
See it on stackoverflow: https://stackoverflow.com/questions/45257581/parse-mongo-db-can-not-connect-to-server
@creampnx-x not working, opensign server container exiting again.
Hey @RajGuru878
Are you still facing issues with the last release ?
If not i will mark this issue as solved
Issue Description
After doing compose up, OpenSignServer container exiting with the error: MongoNetworkTimeoutError: connection timed out OpenSignServer-container | at connectionFailureError (/usr/src/app/node_modules/parse-server/node_modules/mongodb/lib/cmap. Can anybody please help me in this.
Expected Behavior
unable to create user
Current Behavior
container exiting
Steps to reproduce
na
Screenshots of the issue(optional)
na
Operating System [e.g. MacOS Sonoma 14.1, Windows 11]
ubuntu 22
What browsers are you seeing the problem on?
No response
What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]
latest
What environment are you seeing the problem on?
No response
Please check the boxes that apply to this issue report.
Code of Conduct