{"action":"created","issue":{"url":"https://api.github.com/repos/alaisi/postgres.async/issues/17","labels_url":"https://api.github.com/repos/alaisi/postgres.async/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/alaisi/postgres.async/issues/17/comments","events_url":"https://api.github.com/repos/alaisi/postgres.async/issues/17/events","html_url":"https://github.com/alaisi/postgres.async/issues/17","id":89016055,"number":17,"title":"java.lang.IllegalStateException - Channel is closed","user":{"login":"donbonifacio","id":483669,"avatar_url":"https://avatars.githubusercontent.com/u/483669?v=3","gravatar_id":"","url":"https://api.github.com/users/donbonifacio","html_url":"https://github.com/donbonifacio","followers_url":"https://api.github.com/users/donbonifacio/followers","following_url":"https://api.github.com/users/donbonifacio/following{/other_user}","gists_url":"https://api.github.com/users/donbonifacio/gists{/gist_id}","starred_url":"https://api.github.com/users/donbonifacio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donbonifacio/subscriptions","organizations_url":"https://api.github.com/users/donbonifacio/orgs","repos_url":"https://api.github.com/users/donbonifacio/repos","events_url":"https://api.github.com/users/donbonifacio/events{/privacy}","received_events_url":"https://api.github.com/users/donbonifacio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-17T13:26:04Z","updated_at":"2015-12-02T06:15:18Z","closed_at":null,"body":"I can't replicate this and don't understand it yet. Sometimes I have the `java.lang.IllegalStateException - Channel is closed` exception when getting results. For example:\r\n\r\n```clojure\r\n(let [sql (str \"select model from \" (:table config) \" where id = $1\")]\r\n    (async-go config sql\r\n      (let [db (config/get-connection config)\r\n            response (async/<! (query! db [sql model-id]))]\r\n```\r\n\r\n(It's not only on`query!`, also got this on `update!`.)\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/alaisi/postgres.async/issues/comments/161190878","html_url":"https://github.com/alaisi/postgres.async/issues/17#issuecomment-161190878","issue_url":"https://api.github.com/repos/alaisi/postgres.async/issues/17","id":161190878,"user":{"login":"alaisi","id":88996,"avatar_url":"https://avatars.githubusercontent.com/u/88996?v=3","gravatar_id":"","url":"https://api.github.com/users/alaisi","html_url":"https://github.com/alaisi","followers_url":"https://api.github.com/users/alaisi/followers","following_url":"https://api.github.com/users/alaisi/following{/other_user}","gists_url":"https://api.github.com/users/alaisi/gists{/gist_id}","starred_url":"https://api.github.com/users/alaisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaisi/subscriptions","organizations_url":"https://api.github.com/users/alaisi/orgs","repos_url":"https://api.github.com/users/alaisi/repos","events_url":"https://api.github.com/users/alaisi/events{/privacy}","received_events_url":"https://api.github.com/users/alaisi/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T06:15:18Z","updated_at":"2015-12-02T06:15:18Z","body":"Hi,\r\n\r\ncan you test with the the master branch version to see if it fixes the problems you've been having. Configure the connection pool with:\r\n\r\n```clojure\r\n(open-db {:hostname ...\r\n          :validation-query \"select 1\" })\r\n```\r\n"}}