Giter Site home page Giter Site logo

Comments (8)

bobthecow avatar bobthecow commented on September 1, 2024

Does this happen with and without auth? My suspicion is that it's something permissions-related, but I haven't been able to track it down yet.

from genghis.

remialvado avatar remialvado commented on September 1, 2024

It happens without auth

from genghis.

remialvado avatar remialvado commented on September 1, 2024

Any idea ? Do you want me to test something to help you debug ?

from genghis.

Scorpiion avatar Scorpiion commented on September 1, 2024

Hi, I think I know why this issue happens, Dart's mongo driver had to be updated to be able to list collections on Mongo 3+. So it's probably the driver, either it's not updated or you need to change the function used.

See the Dart driver issue (by me) here https://github.com/vadimtsushko/mongo_dart/issues/67

TLDR: The driver needs to use db.getCollectionInfos on 3+ to list collections, the old way of doing it is deprecated in 3+.

from genghis.

vogre avatar vogre commented on September 1, 2024

Changing
spec.add_dependency 'mongo', '>= 1.8.0', '<= 1.11.1'
to use '1.12.3' (latest 1.x release) fixes it.

from genghis.

dioptre avatar dioptre commented on September 1, 2024

+1

from genghis.

remialvado avatar remialvado commented on September 1, 2024

I did not reply earlier but found a fix by using mongo driver 1.6.6 instead of driver 1.5.x. As a matter of fact, it seems that there is a new driver for PHP called mongodb. In version 1.0, it supports the same thing as mongo in 1.6.x but in version 1.1, it will support PHP 7.0 as well as MongoDB 3.2. The legacy mongo driver won't be updated anymore.

from genghis.

chriskinsman avatar chriskinsman commented on September 1, 2024

What is the best way to fix 2.3.11?

I am running the gem version on OSX and can't figure out the best way to update the driver for MongoDb 3.2.1.

from genghis.

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.