tulip / oplogtoredis

Publish MongoDB oplog entries to Redis
Apache License 2.0
38 stars 9 forks source link

v2.0.0 connectivity issues #53

Open nicoskk opened 8 months ago

nicoskk commented 8 months ago

I recently updated the package to v.2.0.0 from v1.1.0 and i cannot connect to the mongoDB. The error i get is: {"error": "server selection error: context deadline exceeded, current topology: { Type: ReplicaSetNoPrimary, Servers: [{ Addr: 127.0.0.1:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp 127.0.0.1:27017: connect: connection refused }, ] }"}

Database used is mongo 4.4, and i've also tried 4.2 but i had the same error. My environment variables are: environment:

Both mongo and oplogtoredis are running inside containers, on the same network

Any help please?