Mongo service killed when connect from MongoCompass

Hello, I installed mongo locally using homebrew and added a replicaset and everything seems working fine when I use mongosh. then I installed MongoCompass and whenever I try to connect the DB the service killed I have to restart the mongo service from homebrew.
and here is my mongod.conf file

  destination: file
  path: /opt/homebrew/var/log/mongodb/mongo.log
  logAppend: true
  dbPath: /opt/homebrew/var/mongodb
  ipv6: true
  replSetName: rs0
  oplogSizeMB: 100

can you please advise me?

Edit: I tried to remove the replication from mongod.conf and I was able to connect from MongoCompass normally, yet I need the replication as my app working with sessions

Why mongod gets killed when you attempt to connect from Compass?
What connect string you used when connecting to your replica
Please show output of rs.status() when you connected from mongosh