Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting the docker #1

Open
xanpj opened this issue May 5, 2018 · 0 comments
Open

Starting the docker #1

xanpj opened this issue May 5, 2018 · 0 comments

Comments

@xanpj
Copy link

xanpj commented May 5, 2018

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:

  1. First I set my envs for AUTH_USER, AUTH_PASSWORD and IOTA_SEED

  2. npm install
    npm run dev

this didn't work because there was no mongo db running so I tried the following:

  1. 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.

  1. 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.

Error:
bildschirmfoto 2018-05-05 um 19 06 41

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!

@xanpj xanpj changed the title Startin the docker Starting the docker May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant