{"action":"created","issue":{"url":"https://api.github.com/repos/dancannon/gorethink/issues/175","labels_url":"https://api.github.com/repos/dancannon/gorethink/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/dancannon/gorethink/issues/175/comments","events_url":"https://api.github.com/repos/dancannon/gorethink/issues/175/events","html_url":"https://github.com/dancannon/gorethink/issues/175","id":68761317,"number":175,"title":"Connect fails to single server","user":{"login":"lamielle","id":16318,"avatar_url":"https://avatars.githubusercontent.com/u/16318?v=3","gravatar_id":"","url":"https://api.github.com/users/lamielle","html_url":"https://github.com/lamielle","followers_url":"https://api.github.com/users/lamielle/followers","following_url":"https://api.github.com/users/lamielle/following{/other_user}","gists_url":"https://api.github.com/users/lamielle/gists{/gist_id}","starred_url":"https://api.github.com/users/lamielle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamielle/subscriptions","organizations_url":"https://api.github.com/users/lamielle/orgs","repos_url":"https://api.github.com/users/lamielle/repos","events_url":"https://api.github.com/users/lamielle/events{/privacy}","received_events_url":"https://api.github.com/users/lamielle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dancannon/gorethink/labels/s:wontfix","name":"s:wontfix","color":"696969"},{"url":"https://api.github.com/repos/dancannon/gorethink/labels/t:bug","name":"t:bug","color":"FF7575"}],"state":"closed","locked":false,"assignee":{"login":"dancannon","id":414768,"avatar_url":"https://avatars.githubusercontent.com/u/414768?v=3","gravatar_id":"","url":"https://api.github.com/users/dancannon","html_url":"https://github.com/dancannon","followers_url":"https://api.github.com/users/dancannon/followers","following_url":"https://api.github.com/users/dancannon/following{/other_user}","gists_url":"https://api.github.com/users/dancannon/gists{/gist_id}","starred_url":"https://api.github.com/users/dancannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancannon/subscriptions","organizations_url":"https://api.github.com/users/dancannon/orgs","repos_url":"https://api.github.com/users/dancannon/repos","events_url":"https://api.github.com/users/dancannon/events{/privacy}","received_events_url":"https://api.github.com/users/dancannon/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-04-15T18:53:26Z","updated_at":"2015-04-23T20:57:47Z","closed_at":"2015-04-23T20:29:07Z","body":"Recent changes related to clustering and auto-discovery seem to have broken connection code which worked in 0.6.x.  Details:\r\n\r\n    var err error\r\n    session, err = gorethink.Connect(gorethink.ConnectOpts{\r\n            Address:  \"localhost:28015\",\r\n            Database: \"database\",\r\n            MaxIdle: 10,\r\n            Timeout: time.Second * 10,\r\n    })\r\n    if err != nil {\r\n            return err\r\n    }\r\n\r\nUsing this pattern worked in 0.6.x.  I recently updated to the latest gorethink sources in master and found that connecting to the localhost RethinkDB instance produces the following error:\r\n\r\n    2015/04/15 11:50:55.781453 Failure setting up RethinkDB: no connections were made when creating the session\r\n\r\nI see that a new 'Addresses' field is available.  I've tried that with a slice of the single \"localhost:28015\" string but I receive the same error.\r\n\r\nIs master known to be unstable and shouldn't be used?  If not, is this bug known?\r\n\r\nFinally, unrelated, but I see a few typos in the new documentation that mentions 'Addresses' usage.  'Conenct' is misspelled and there is a trailing \"localhost:28015\" which was not reverted when the API was changed."},"comment":{"url":"https://api.github.com/repos/dancannon/gorethink/issues/comments/95716857","html_url":"https://github.com/dancannon/gorethink/issues/175#issuecomment-95716857","issue_url":"https://api.github.com/repos/dancannon/gorethink/issues/175","id":95716857,"user":{"login":"dancannon","id":414768,"avatar_url":"https://avatars.githubusercontent.com/u/414768?v=3","gravatar_id":"","url":"https://api.github.com/users/dancannon","html_url":"https://github.com/dancannon","followers_url":"https://api.github.com/users/dancannon/followers","following_url":"https://api.github.com/users/dancannon/following{/other_user}","gists_url":"https://api.github.com/users/dancannon/gists{/gist_id}","starred_url":"https://api.github.com/users/dancannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancannon/subscriptions","organizations_url":"https://api.github.com/users/dancannon/orgs","repos_url":"https://api.github.com/users/dancannon/repos","events_url":"https://api.github.com/users/dancannon/events{/privacy}","received_events_url":"https://api.github.com/users/dancannon/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T20:57:47Z","updated_at":"2015-04-23T20:57:47Z","body":"Definitely not, its interesting to see how different people are using RethinkDB in production. If you have any more questions get in touch (https://gitter.im/dancannon/gorethink might be a good place to send me questions)"}}