PBM not creating pbm connections

Exit: connect to PBM: create mongo connection: mongo ping: server selection error: server selection timeout, current topology: { Type: ReplicaSetNoPrimary, Servers: }

Could you please provide more details, what you are doing in which environment and by which command