Comments (6)
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.
This depends on your OS.
On Windows you have to escape special characters different than on Linux.
from meteor-now.
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.
@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.
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.
@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)
- Tests are failing on Windows
- MongoDB with Meteor 1.7 fails
- Meteor 1.7 mongo error HOT 4
- Support for GitHub Integration
- Use multi stage Docker builds HOT 5
- ▲ The built image size (417.0M) exceeds the 100MiB limit HOT 10
- Does meteor-now support now settings in now.json or package.json? HOT 5
- Does not support standard Mongo connection string HOT 2
- just saying thanks HOT 1
- Support METEOR_PACKAGE_DIRS HOT 1
- [FAQ] Will this work with any CI? HOT 1
- Way to change code without a full re-deploy HOT 1
- first run throws error HOT 1
- Compatibility with Now 2.0? HOT 28
- Possible to deploy without rebuilding if deploy failed HOT 1
- The property `features` is not allowed in now.json HOT 9
- Alias Support not workinb HOT 1
- Project name should be taken from package.json or now.json in priority
- [Error]: `Cannot read property '1' of null` HOT 3
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 meteor-now.