{"action":"created","issue":{"url":"https://api.github.com/repos/akka/alpakka/issues/538","repository_url":"https://api.github.com/repos/akka/alpakka","labels_url":"https://api.github.com/repos/akka/alpakka/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/akka/alpakka/issues/538/comments","events_url":"https://api.github.com/repos/akka/alpakka/issues/538/events","html_url":"https://github.com/akka/alpakka/pull/538","id":267250202,"number":538,"title":"#527 Increase acquire connection timeout","user":{"login":"2m","id":422086,"avatar_url":"https://avatars3.githubusercontent.com/u/422086?v=4","gravatar_id":"","url":"https://api.github.com/users/2m","html_url":"https://github.com/2m","followers_url":"https://api.github.com/users/2m/followers","following_url":"https://api.github.com/users/2m/following{/other_user}","gists_url":"https://api.github.com/users/2m/gists{/gist_id}","starred_url":"https://api.github.com/users/2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2m/subscriptions","organizations_url":"https://api.github.com/users/2m/orgs","repos_url":"https://api.github.com/users/2m/repos","events_url":"https://api.github.com/users/2m/events{/privacy}","received_events_url":"https://api.github.com/users/2m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-20T17:38:28Z","updated_at":"2017-10-23T06:52:58Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/akka/alpakka/pulls/538","html_url":"https://github.com/akka/alpakka/pull/538","diff_url":"https://github.com/akka/alpakka/pull/538.diff","patch_url":"https://github.com/akka/alpakka/pull/538.patch"},"body":"So previous #536 did not really work. Trying again. This time increasing [connection acquire](http://docs.datastax.com/en/drivers/java/2.1/com/datastax/driver/core/PoolingOptions.html#setPoolTimeoutMillis-int-) timeout from the same default of 5 seconds.\r\n\r\n@chbatey are we doing this right? \r\n\r\nWe are trying to prevent spurious errors like this while testing:\r\n```\r\nCause: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.DriverException: Timeout while trying to acquire available connection (you may want to increase the driver number of per-host connections)))\r\n```\r\n\r\nRefs #527"},"comment":{"url":"https://api.github.com/repos/akka/alpakka/issues/comments/338563705","html_url":"https://github.com/akka/alpakka/pull/538#issuecomment-338563705","issue_url":"https://api.github.com/repos/akka/alpakka/issues/538","id":338563705,"user":{"login":"chbatey","id":1866779,"avatar_url":"https://avatars1.githubusercontent.com/u/1866779?v=4","gravatar_id":"","url":"https://api.github.com/users/chbatey","html_url":"https://github.com/chbatey","followers_url":"https://api.github.com/users/chbatey/followers","following_url":"https://api.github.com/users/chbatey/following{/other_user}","gists_url":"https://api.github.com/users/chbatey/gists{/gist_id}","starred_url":"https://api.github.com/users/chbatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chbatey/subscriptions","organizations_url":"https://api.github.com/users/chbatey/orgs","repos_url":"https://api.github.com/users/chbatey/repos","events_url":"https://api.github.com/users/chbatey/events{/privacy}","received_events_url":"https://api.github.com/users/chbatey/received_events","type":"User","site_admin":false},"created_at":"2017-10-23T06:52:58Z","updated_at":"2017-10-23T06:52:58Z","author_association":"MEMBER","body":"I can't think  of a good reason why this should be happening given that the failures aren't on the first test i.e. we're just using this timeout to let the docker cassandra get up and running.\r\n\r\nI've raised https://github.com/akka/alpakka/pull/542 to get the driver logs which will be a bit spammy but should give us the lifecycle of connections"}}
{"actor":{"display_login":"chbatey"}}