Comments (9)
Hi @tennox do you encounter this always or in a few of startups ?
from nosqlclient.
I tried it often and it never worked.
Curiously I've now tried again, and it works... 🤷
from nosqlclient.
Strange, but I'm glad it worked haha :)
from nosqlclient.
Not working again?
from nosqlclient.
Hello @virus2016 there's no issue reported related with it so far, please feel free to reopen with more details.
from nosqlclient.
Yeah the internal MongoDB service doesn't spin up so I just used our external one. Thanks
from nosqlclient.
Hi again @virus2016 I just started locally, but it's working tho.
from nosqlclient.
Hi, I'm having the same problem, when I run the command: docker run --name mongoclient -p 3000:3000 --link mongodb:mongodb -d mongoclient/mongoclient the container was created but never up, when I check the errors I see:
`[-] External MONGO_URL not found. Starting local MongoDB...
=> Starting app on port 3000...
2021-01-03T03:42:25.024+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2021-01-03T03:42:25.025+0000 W ASIO [main] No TransportLayer configured during NetworkInterface startup
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] MongoDB starting : pid=6 port=27017 dbpath=/data/db 64-bit host=d1396c227c08
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] db version v4.2.10-17-g872b733
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] git version: 872b733e4bfebd4572ed18992fe7649f9250ad9f
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] allocator: tcmalloc
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] modules: none
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] build environment:
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] distmod: debian92
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] distarch: x86_64
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] target_arch: x86_64
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] options: { storage: { engine: "wiredTiger" } }
2021-01-03T03:42:25.027+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7400M,cache_overflow=(file_max=0M),session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress],
2021-01-03T03:42:25.808+0000 I STORAGE [initandlisten] WiredTiger message [1609645345:808175][6:0x7f7c672ebb00], txn-recover: Set global recovery timestamp: (0, 0)
{"error":{"name":"MongoNetworkError"},"level":"error","message":"uncaughtException: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) {\n name: 'MongoNetworkError',\n [Symbol(mongoErrorContextSymbol)]: {}\n}]\nMongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) {\n name: 'MongoNetworkError',\n [Symbol(mongoErrorContextSymbol)]: {}\n}]\n at Pool. (/opt/meteor/dist/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/topologies/server.js:438:11)\n `
How can I solve it ?
This connection error still happening?
from nosqlclient.
Hi, I'm having the same problem, when I run the command: docker run --name mongoclient -p 3000:3000 --link mongodb:mongodb -d mongoclient/mongoclient the container was created but never up, when I check the errors I see:
`[-] External MONGO_URL not found. Starting local MongoDB...=> Starting app on port 3000...
2021-01-03T03:42:25.024+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2021-01-03T03:42:25.025+0000 W ASIO [main] No TransportLayer configured during NetworkInterface startup
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] MongoDB starting : pid=6 port=27017 dbpath=/data/db 64-bit host=d1396c227c08
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] db version v4.2.10-17-g872b733
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] git version: 872b733e4bfebd4572ed18992fe7649f9250ad9f
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] allocator: tcmalloc
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] modules: none
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] build environment:
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] distmod: debian92
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] distarch: x86_64
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] target_arch: x86_64
2021-01-03T03:42:25.026+0000 I CONTROL [initandlisten] options: { storage: { engine: "wiredTiger" } }
2021-01-03T03:42:25.027+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7400M,cache_overflow=(file_max=0M),session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress],
2021-01-03T03:42:25.808+0000 I STORAGE [initandlisten] WiredTiger message [1609645345:808175][6:0x7f7c672ebb00], txn-recover: Set global recovery timestamp: (0, 0)
{"error":{"name":"MongoNetworkError"},"level":"error","message":"uncaughtException: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) {\n name: 'MongoNetworkError',\n [Symbol(mongoErrorContextSymbol)]: {}\n}]\nMongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) {\n name: 'MongoNetworkError',\n [Symbol(mongoErrorContextSymbol)]: {}\n}]\n at Pool. (/opt/meteor/dist/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/topologies/server.js:438:11)\n `How can I solve it ?
This connection error still happening?
Hi @WashingtonSouza have you tried without linking first? Also I recommend you to use an external MONGO_URL
for nosqlclient's connections & settings. That way you wouldn't rely meteor's MongoDB
from nosqlclient.
Related Issues (20)
- node-fibers is missing in 4.0.0 docker image HOT 4
- Connect to localhost of Docker host HOT 4
- uncaughtException: other.isNegative is not a function HOT 1
- Self signed certificates don't work
- Add global credentials HOT 2
- TTL indexes are created with "expireAfterSeconds" as String not Int HOT 2
- MONGO_URL environment variable not creating connection HOT 2
- How use selector filter return field? HOT 1
- {"externalError":"connection-closed","methodArray":[{"find":[{}]},...,"level":"error","message":"[connection-error]"} HOT 8
- how can i listen :: by set env HOT 8
- Option to turn off transitions HOT 3
- Cant connect to Mongo Cloud DB (Atlas) HOT 2
- Need to wait loading to perform a query on large collections HOT 3
- Heroku deploy error HOT 2
- In case of using a connection url the shell connection fails. HOT 2
- running without docker HOT 1
- SecurIty: Credentials are leaked on the log file HOT 3
- URL in Github Project seems to be wrong HOT 1
- Unauthorized access leads to leakage of sensitive information HOT 5
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 nosqlclient.