Comments (2)
Did you deploy with docker compose up -d
? Could you show full log?
from moleculer-node-realworld-example-app.
Yes I used docker compose -d
,
I'm running under windows 7 (docker use virtual box so), that may cause the problem, because I'm not able to connect to mongo from cmd , even to access traefik , I had to use the virtual box address ip
Now to see log error I don't use -d
flag anymore,
Here are errors I got
articles_1 | [2018-02-28T20:04:35.347Z] INFO 34f17fac6be4-15/REGISTRY: Node 'eda477062b2e-15' connected.
articles_1 | [2018-02-28T20:04:42.474Z] ERROR 34f17fac6be4-15/ARTICLES: Connection error! { MongoError: failed to connect to server [mongo:27017] on first connect [MongoError: getaddrinfo ENOTFOUND mongo mongo:27017]
articles_1 | at Pool.<anonymous> (/app/node_modules/mongodb-core/lib/topologies/server.js:336:35)
articles_1 | at emitOne (events.js:96:13)
articles_1 | at Pool.emit (events.js:188:7)
articles_1 | at Connection.<anonymous> (/app/node_modules/mongodb-core/lib/connection/pool.js:280:12)
articles_1 | at Connection.g (events.js:292:16)
articles_1 | at emitTwo (events.js:106:13)
articles_1 | at Connection.emit (events.js:191:7)
articles_1 | at Socket.<anonymous> (/app/node_modules/mongodb-core/lib/connection/connection.js:187:49)
articles_1 | at Socket.g (events.js:292:16)
articles_1 | at emitOne (events.js:96:13)
articles_1 | at Socket.emit (events.js:188:7)
articles_1 | at connectErrorNT (net.js:1040:8)
articles_1 | at _combinedTickCallback (internal/process/next_tick.js:80:11)
articles_1 | at process._tickCallback (internal/process/next_tick.js:104:9)
articles_1 | name: 'MongoError',
articles_1 | message: 'failed to connect to server [mongo:27017] on first connect [MongoError: getaddrinfo ENOTFOUND mongo mongo:27017]' }
from moleculer-node-realworld-example-app.
Related Issues (2)
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 moleculer-node-realworld-example-app.