Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

MongoDB error: “j must be numeric or a boolean value” #203

Open
Jobarion opened this issue Apr 25, 2015 · 7 comments
Open

MongoDB error: “j must be numeric or a boolean value” #203

Jobarion opened this issue Apr 25, 2015 · 7 comments

Comments

@Jobarion
Copy link

I was basically told to post this here since it's apperantly caused by genghis.
http://stackoverflow.com/questions/29757055/mongodb-j-must-be-numeric-or-a-boolean-value

@bobthecow
Copy link
Owner

  • Are you using the Ruby or PHP version of Genghis?
  • What Ruby/PHP version are you running?
  • What MongoDB driver version are you running?
  • How are you connecting to the database? (Is it on localhost? If not, what kind of URL are you entering?)

@Jobarion
Copy link
Author

Ruby: 1.9.3p484
MongoDB: 3.0.2
I'm entering a domain. (e.g. mongo.example.net)

@mmeinert
Copy link

Same here
Ruby: ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
MongoDB: 3.0.4
URL : IP_of_the_server:5678

Thank you in advance

@iby
Copy link

iby commented Jul 3, 2015

👍

@nriesco
Copy link

nriesco commented Nov 16, 2015

Same for me:
OS: MacOS X El Capitan - 10.11.1 (15B42)
Ruby: 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
MongoDB: 3.0.5
URL: (local) http://0.0.0.0:5678/
Browser: Chrome 46.0.2490.86 (64-bit)

Thanks

@matschaffer
Copy link

I haven't used genghis but I hit this exact error trying to use the 1.9.2 mongo gem to connect to a mongo 3 server in a rails app. Downgrading mongo to 2.6 resolved the error in that case.

@Jobarion
Copy link
Author

Yes, it's due to the new authentication mechanism in MongoDB 3.0. I honestly doubt it's going to get fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants