{"action":"created","issue":{"url":"https://api.github.com/repos/andymccurdy/redis-py/issues/624","labels_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/624/comments","events_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/624/events","html_url":"https://github.com/andymccurdy/redis-py/issues/624","id":85729781,"number":624,"title":"Connect via Unix Socket and Connection Pool","user":{"login":"cgloeckner","id":3219690,"avatar_url":"https://avatars.githubusercontent.com/u/3219690?v=3","gravatar_id":"","url":"https://api.github.com/users/cgloeckner","html_url":"https://github.com/cgloeckner","followers_url":"https://api.github.com/users/cgloeckner/followers","following_url":"https://api.github.com/users/cgloeckner/following{/other_user}","gists_url":"https://api.github.com/users/cgloeckner/gists{/gist_id}","starred_url":"https://api.github.com/users/cgloeckner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgloeckner/subscriptions","organizations_url":"https://api.github.com/users/cgloeckner/orgs","repos_url":"https://api.github.com/users/cgloeckner/repos","events_url":"https://api.github.com/users/cgloeckner/events{/privacy}","received_events_url":"https://api.github.com/users/cgloeckner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-06T09:45:15Z","updated_at":"2015-06-07T07:08:25Z","closed_at":"2015-06-07T07:08:25Z","body":"Hi, I'm not actual sure whether this should work (in theory) or not (maybe a misconception on my side?). I configured my redis server to allow connections via the unix domain socket. Unfortunately my testing code (using a connection pool) is not working that way. Could it be my fault based on a wrong usage? Using the unix domain socket without connection pool is working great.\r\n\r\n```python\r\nPython 3.4.0 (default, Apr 11 2014, 13:05:18) \r\n[GCC 4.8.2] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import redis\r\n>>> rdb = redis.ConnectionPool(unix_socket_path=\"/tmp/redis.sock\")\r\n>>> r = redis.Redis(connection_pool=rdb)\r\n>>> r.info()\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/redis/connection.py\", line 872, in get_connection\r\n    connection = self._available_connections.pop()\r\nIndexError: pop from empty list\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python3.4/dist-packages/redis/client.py\", line 657, in info\r\n    return self.execute_command('INFO')\r\n  File \"/usr/local/lib/python3.4/dist-packages/redis/client.py\", line 562, in execute_command\r\n    connection = pool.get_connection(command_name, **options)\r\n  File \"/usr/local/lib/python3.4/dist-packages/redis/connection.py\", line 874, in get_connection\r\n    connection = self.make_connection()\r\n  File \"/usr/local/lib/python3.4/dist-packages/redis/connection.py\", line 883, in make_connection\r\n    return self.connection_class(**self.connection_kwargs)\r\nTypeError: __init__() got an unexpected keyword argument 'unix_socket_path'\r\n```\r\n\r\nredis-py was installed using pip. Any suggestions?"},"comment":{"url":"https://api.github.com/repos/andymccurdy/redis-py/issues/comments/109706672","html_url":"https://github.com/andymccurdy/redis-py/issues/624#issuecomment-109706672","issue_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/624","id":109706672,"user":{"login":"cgloeckner","id":3219690,"avatar_url":"https://avatars.githubusercontent.com/u/3219690?v=3","gravatar_id":"","url":"https://api.github.com/users/cgloeckner","html_url":"https://github.com/cgloeckner","followers_url":"https://api.github.com/users/cgloeckner/followers","following_url":"https://api.github.com/users/cgloeckner/following{/other_user}","gists_url":"https://api.github.com/users/cgloeckner/gists{/gist_id}","starred_url":"https://api.github.com/users/cgloeckner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgloeckner/subscriptions","organizations_url":"https://api.github.com/users/cgloeckner/orgs","repos_url":"https://api.github.com/users/cgloeckner/repos","events_url":"https://api.github.com/users/cgloeckner/events{/privacy}","received_events_url":"https://api.github.com/users/cgloeckner/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T07:08:25Z","updated_at":"2015-06-07T07:08:25Z","body":"Thanks, again! This time it's running :)"}}