New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heroku deploy failed after updating to mongoDB 2.6.4; Error: database names cannot contain the character '.'" #128
Comments
Hey Kyli, I am facing exactly the same issue so I am wondering if you found any solution? I know I could switch to Connect-Redis instead but I am trying to avoid doing that :) Thanks in advance ;) |
hey nicolaslair, there was a somehow similar issue running on mongolab after updating from mongodb 2.4 to 2.6.4. what about you? |
Thanks Kyli, I tried different updates yesterday but I am still facing the same issue. Could I ask you how you initialise connect-mongo for the replica sets? |
I am facing the same issue, I also use mongodb instances of mongolab.
But if the url just have one host, such as mongodb://foo:bar@d1.mongolab.com:39530/hw, then it works. |
Same issue here, with 2 hosts in the url |
I am having the same issue after installing "connect-mongo" to solve a session store issue I was having. Also if I uninstall that package it works. Still looking for a solution. |
connect-mongo is still broken with compose.io. any alternatives for mongodb session storage? |
Hi all, I got it working by using mongoose and sending the db param to var mongoUri = process.env.MONGOHQ_URL: mongoose.connect(mongoUri, {safe: true, auto_reconnect: true }); app.use(express.session({ Hope it helps you guys, it's on production and is working fine for me! Niko On Tue, Dec 16, 2014 at 6:03 PM, etinif notifications@github.com wrote:
niko |
Thanks Niko! The workaround you suggested worked well for us too (we use compose.io). Used a code bit like:
Also, version 0.7 of connect-mongo now supports multiple hosts in the url. |
Hi,
i have been running this great ultimate-seed at Heroku and it has been working fine on the free tier MongoHQ (now Compose) with MongoDB 2.4 database but on upgrading to the 1GD SSD with mongoDB 2.6.4 i get an application error. looking at the logs I'm getting this error:
of course there is no . in the database name. config file is ok like this (fake data)
there is almost the same issue with another MEAN like repository:
angular-fullstack/generator-angular-fullstack#416
they suggest to remove the usage of mongodb as session store if i got it right. but i use it as session store.
any help very much appreciated!
The text was updated successfully, but these errors were encountered: