Skip to content

MongoDb Topology is closed error #10

@kutlayozger

Description

@kutlayozger

Description

I installed typesense and typesense-mongodb
typesense-mongodb cli gives an error below.
UnhandledPromiseRejectionWarning: MongoError: Topology is closed, please connect

Steps to reproduce

MongoDB and typesense-mongodb installed on windows and typesense installed on ubuntu (192.168.1.71).

I wrote below command in terminal
typesense-mongodb --mongo-collection=test --mongo-database=test --typesense-collection=log --mongo-url=mongodb://localhost:27017/?replicaSet=rs0 --typesense-url=http://192.168.1.71:8108 --typesense-api-key=xyz
It gives an error shown below picture.
image

How would I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions