Giter Site home page Giter Site logo

Comments (9)

rsercano avatar rsercano commented on May 28, 2024

Hi @tennox do you encounter this always or in a few of startups ?

from nosqlclient.

tennox avatar tennox commented on May 28, 2024

I tried it often and it never worked.
Curiously I've now tried again, and it works... 🤷

from nosqlclient.

rsercano avatar rsercano commented on May 28, 2024

Strange, but I'm glad it worked haha :)

from nosqlclient.

virus2016 avatar virus2016 commented on May 28, 2024

Not working again?

from nosqlclient.

rsercano avatar rsercano commented on May 28, 2024

Hello @virus2016 there's no issue reported related with it so far, please feel free to reopen with more details.

from nosqlclient.

virus2016 avatar virus2016 commented on May 28, 2024

Yeah the internal MongoDB service doesn't spin up so I just used our external one. Thanks

from nosqlclient.

rsercano avatar rsercano commented on May 28, 2024

Hi again @virus2016 I just started locally, but it's working tho.

from nosqlclient.

WashingtonSouza avatar WashingtonSouza commented on May 28, 2024

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.

rsercano avatar rsercano commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.