Coder Social home page Coder Social logo

Comments (6)

CaptainN avatar CaptainN commented on June 8, 2024 1

Okay, the problem was that I had a $ in my password. Is there a way to detect that and kick up a better error message?

from meteor-now.

lmachens avatar lmachens commented on June 8, 2024 1

This depends on your OS.
On Windows you have to escape special characters different than on Linux.

from meteor-now.

CaptainN avatar CaptainN commented on June 8, 2024

I also tried it quoted, no change

> [0] Error: Slash in host identifier
> [0]     at parseConnectionString (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/url_parser.js:219:15)
> [0]     at parseHandler (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/url_parser.js:129:14)
> [0]     at module.exports (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/url_parser.js:25:12)
> [0]     at connect (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongo_client.js:878:3)
> [0]     at connectOp (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongo_client.js:268:3)
> [0]     at executeOperation (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:420:24)
> [0]     at MongoClient.connect (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongo_client.js:259:10)
> [0]     at Function.MongoClient.connect (/usr/src/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongo_client.js:480:22)
> [0]     at new MongoConnection (packages/mongo/mongo_driver.js:169:11)
> [0]                                           throw(ex);
> [0]                                           ^
> [0]     at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
> [0]     at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)
> [0]     at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
> [0]     at new Collection (packages/mongo/collection.js:97:40)
> [0]     at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
> [0]     at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
> [0]     at server_main.js (packages/accounts-base/server_main.js:9:12)

from meteor-now.

AshHimself avatar AshHimself commented on June 8, 2024

@CaptainN - not sure if this is your issue but I define the MONGO_URL before meteor-now

MONGO_URL=mongodb://user:[email protected]:13004/db meteor run --port 4000 --settings production.settings.json

from meteor-now.

CaptainN avatar CaptainN commented on June 8, 2024

It's a problem after deploying, I think. I'm defining it using the -e (environment) switch as described in the docs. Starting the app local is no problem, I just can't get it to work for deployment.

from meteor-now.

jkrup avatar jkrup commented on June 8, 2024

@CaptainN Unfortunately I think the $ causing an issue is a local issue from which terminal application you use bash/fish/sh. In the README perhaps we can more clearly recommend using secrets https://github.com/jkrup/meteor-now#using-meteor_settings

from meteor-now.

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.