{"action":"created","issue":{"url":"https://api.github.com/repos/pharo-nosql/voyage/issues/104","repository_url":"https://api.github.com/repos/pharo-nosql/voyage","labels_url":"https://api.github.com/repos/pharo-nosql/voyage/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/pharo-nosql/voyage/issues/104/comments","events_url":"https://api.github.com/repos/pharo-nosql/voyage/issues/104/events","html_url":"https://github.com/pharo-nosql/voyage/issues/104","id":361798742,"node_id":"MDU6SXNzdWUzNjE3OTg3NDI=","number":104,"title":"VOMongoReplicationUrlResolver>>basicLookupReplicaSetStatusIfFound does not use authentication","user":{"login":"maxbareis","id":161119,"node_id":"MDQ6VXNlcjE2MTExOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/161119?v=4","gravatar_id":"","url":"https://api.github.com/users/maxbareis","html_url":"https://github.com/maxbareis","followers_url":"https://api.github.com/users/maxbareis/followers","following_url":"https://api.github.com/users/maxbareis/following{/other_user}","gists_url":"https://api.github.com/users/maxbareis/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbareis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbareis/subscriptions","organizations_url":"https://api.github.com/users/maxbareis/orgs","repos_url":"https://api.github.com/users/maxbareis/repos","events_url":"https://api.github.com/users/maxbareis/events{/privacy}","received_events_url":"https://api.github.com/users/maxbareis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-19T15:17:04Z","updated_at":"2018-09-23T21:56:01Z","closed_at":null,"author_association":"NONE","body":"Setup MongoDB ReplicaSet with authentication enabled (SHA1 mechanism)\r\nWith this message: (VOMongoRepository\r\n        mongoUrls: {'127.0.0.1:27017' . '127.0.0.1:27018' . '127.0.0.1:27019'}\r\n        database: 'myDB'\r\n        username: 'myUser'\r\n        password: 'myPass') enableReplication\r\nthe connectionPool is created.\r\nAs soon as you send messages like save on VoyageRoot objects or selectOne on the repository you receive the authentication error. "},"comment":{"url":"https://api.github.com/repos/pharo-nosql/voyage/issues/comments/423850950","html_url":"https://github.com/pharo-nosql/voyage/issues/104#issuecomment-423850950","issue_url":"https://api.github.com/repos/pharo-nosql/voyage/issues/104","id":423850950,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg1MDk1MA==","user":{"login":"tinchodias","id":3044265,"node_id":"MDQ6VXNlcjMwNDQyNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3044265?v=4","gravatar_id":"","url":"https://api.github.com/users/tinchodias","html_url":"https://github.com/tinchodias","followers_url":"https://api.github.com/users/tinchodias/followers","following_url":"https://api.github.com/users/tinchodias/following{/other_user}","gists_url":"https://api.github.com/users/tinchodias/gists{/gist_id}","starred_url":"https://api.github.com/users/tinchodias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinchodias/subscriptions","organizations_url":"https://api.github.com/users/tinchodias/orgs","repos_url":"https://api.github.com/users/tinchodias/repos","events_url":"https://api.github.com/users/tinchodias/events{/privacy}","received_events_url":"https://api.github.com/users/tinchodias/received_events","type":"User","site_admin":false},"created_at":"2018-09-23T21:56:01Z","updated_at":"2018-09-23T21:56:01Z","author_association":"CONTRIBUTOR","body":"Hello @maxbareis \r\nCould you give more details on how to reproduce this bug?\r\n\r\nAs I never used authentication in mongodb, I looked at `MongoAuthTest` to learn but don't see how to do `root authMechanism: (SCRAMSHA1AuthMechanism root: root)` in the voyage repo. How do you do it in your case?\r\n\r\nI tried:\r\n```\r\nrepo := VOMongoRepository\r\nmongoUrls: {'127.0.0.1:27017' . '127.0.0.1:27018' . '127.0.0.1:27019'}\r\ndatabase: 'test'\r\nusername: 'pharounittest'\r\npassword: 'test'.\r\nrepo enableReplication.\r\nrepo save: (VOTestDog new name: 'eli'; yourself).\r\nrepo selectAll: VOTestDog.\r\n```\r\n\r\nAlso I did setup a replication environment using the instructions in `MongoReplicationTestResources>>_manual_set_up_`.\r\n\r\nIdeally we should create a test case that shows the bug."}}
{"actor":{"display_login":"tinchodias"}}