{"action":"created","issue":{"url":"https://api.github.com/repos/dancannon/gorethink/issues/278","repository_url":"https://api.github.com/repos/dancannon/gorethink","labels_url":"https://api.github.com/repos/dancannon/gorethink/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/dancannon/gorethink/issues/278/comments","events_url":"https://api.github.com/repos/dancannon/gorethink/issues/278/events","html_url":"https://github.com/dancannon/gorethink/issues/278","id":139603906,"number":278,"title":"connection timeouts (TLS)","user":{"login":"DefinitelyCarter","id":6287039,"avatar_url":"https://avatars.githubusercontent.com/u/6287039?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyCarter","html_url":"https://github.com/DefinitelyCarter","followers_url":"https://api.github.com/users/DefinitelyCarter/followers","following_url":"https://api.github.com/users/DefinitelyCarter/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyCarter/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyCarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyCarter/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyCarter/orgs","repos_url":"https://api.github.com/users/DefinitelyCarter/repos","events_url":"https://api.github.com/users/DefinitelyCarter/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyCarter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T15:13:09Z","updated_at":"2016-03-10T13:22:04Z","closed_at":null,"body":"I'm getting intermittent connection timeouts when connecting to a compose rethinkdb instance using TLS.  Restarting my app fixes the issue; however, i'm not sure how to debug these timeouts that are happening.  The app is running in a docker container hosted on a azure vm.\r\n\r\n```\r\napi_1 | 2016/03/07 18:43:05 read tcp 172.17.0.8:46752->xx.xx.xx.xx:11329: read: connection timed out \r\napi_1 | 2016/03/07 18:50:47 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 18:57:44 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 18:58:44 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 18:59:40 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:00:43 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:01:37 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:03:08 read tcp 172.17.0.8:48800->xx.xx.xx.xx:11329: read: connection timed out \r\napi_1 | 2016/03/07 19:11:19 read tcp 172.17.0.8:49865->xx.xx.xx.xx:11329: read: connection timed out \r\napi_1 | 2016/03/07 19:25:44 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:25:51 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:26:24 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:27:50 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out \r\napi_1 | 2016/03/07 19:30:40 dial tcp xx.xx.xx.xx:11329: getsockopt: connection timed out\r\n```"},"comment":{"url":"https://api.github.com/repos/dancannon/gorethink/issues/comments/194837318","html_url":"https://github.com/dancannon/gorethink/issues/278#issuecomment-194837318","issue_url":"https://api.github.com/repos/dancannon/gorethink/issues/278","id":194837318,"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":"2016-03-10T13:22:04Z","updated_at":"2016-03-10T13:22:04Z","body":"Its quite difficult to tell what is going on just from those logs, are you specifying a connection timeout in `Connect()`? Also are the addresses in the logs valid addresses for your RethinkDB cluster?"}}