-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi everyone,
I tried to start the docker but the second mongo db instance always fails. Does any one sees what I am missing?
System:
Mac OS 10.13.4
Commands:
-
First I set my envs for AUTH_USER, AUTH_PASSWORD and IOTA_SEED
-
npm install
npm run dev
this didn't work because there was no mongo db running so I tried the following:
docker build -t flash_image . docker run --rm -it -p "3000:3000" -e "IOTA_SEED=USERONEUSERONEUSERONEUSERONEUSERONEUSERONEUSERONEUSERONEUSERONEUSERONEUSERONEUSER" flash_image
this threw the error:
Flash server listening on port 3000 MongoDB connection error: { MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] at Pool.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/topologies/server.js:503:11) at Pool.emit (events.js:159:13) at Connection.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/connection/pool.js:326:12) at Object.onceWrapper (events.js:254:19) at Connection.emit (events.js:159:13) at Socket.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/connection/connection.js:245:50) at Object.onceWrapper (events.js:254:19) at Socket.emit (events.js:159:13) at emitErrorNT (internal/streams/destroy.js:64:8) at process._tickCallback (internal/process/next_tick.js:152:19) name: 'MongoNetworkError', message: 'failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]' } (node:1) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] at Pool.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/topologies/server.js:503:11) at Pool.emit (events.js:159:13) at Connection.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/connection/pool.js:326:12) at Object.onceWrapper (events.js:254:19) at Connection.emit (events.js:159:13) at Socket.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/connection/connection.js:245:50) at Object.onceWrapper (events.js:254:19) at Socket.emit (events.js:159:13) at emitErrorNT (internal/streams/destroy.js:64:8) at process._tickCallback (internal/process/next_tick.js:152:19) (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
- so I killed all containers and ran this:
docker-compose -f docker-compose-example.yml up --build client
This was the final error, so I decided to open issue.
I would really like to get this running because it seems that this is the only implementation of a fully build multi-signature address tree. (You implemented the multisigDigestPool)
I had it working months ago, updated my OS and no I can't run it.
Thanks in advance!
