{"action":"created","issue":{"url":"https://api.github.com/repos/Anorov/PySocks/issues/32","repository_url":"https://api.github.com/repos/Anorov/PySocks","labels_url":"https://api.github.com/repos/Anorov/PySocks/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/Anorov/PySocks/issues/32/comments","events_url":"https://api.github.com/repos/Anorov/PySocks/issues/32/events","html_url":"https://github.com/Anorov/PySocks/issues/32","id":119232579,"number":32,"title":"Does PySocks work with SQLAlchemy","user":{"login":"gane5h","id":182680,"avatar_url":"https://avatars.githubusercontent.com/u/182680?v=3","gravatar_id":"","url":"https://api.github.com/users/gane5h","html_url":"https://github.com/gane5h","followers_url":"https://api.github.com/users/gane5h/followers","following_url":"https://api.github.com/users/gane5h/following{/other_user}","gists_url":"https://api.github.com/users/gane5h/gists{/gist_id}","starred_url":"https://api.github.com/users/gane5h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gane5h/subscriptions","organizations_url":"https://api.github.com/users/gane5h/orgs","repos_url":"https://api.github.com/users/gane5h/repos","events_url":"https://api.github.com/users/gane5h/events{/privacy}","received_events_url":"https://api.github.com/users/gane5h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-11-27T18:14:30Z","updated_at":"2016-07-14T10:28:12Z","closed_at":null,"body":"I'm having to route all outgoing connections from SQLAlchemy via a proxy server. Is this the right library to accomplish this task? Thanks!"},"comment":{"url":"https://api.github.com/repos/Anorov/PySocks/issues/comments/232627060","html_url":"https://github.com/Anorov/PySocks/issues/32#issuecomment-232627060","issue_url":"https://api.github.com/repos/Anorov/PySocks/issues/32","id":232627060,"user":{"login":"nhywieza","id":8528287,"avatar_url":"https://avatars.githubusercontent.com/u/8528287?v=3","gravatar_id":"","url":"https://api.github.com/users/nhywieza","html_url":"https://github.com/nhywieza","followers_url":"https://api.github.com/users/nhywieza/followers","following_url":"https://api.github.com/users/nhywieza/following{/other_user}","gists_url":"https://api.github.com/users/nhywieza/gists{/gist_id}","starred_url":"https://api.github.com/users/nhywieza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhywieza/subscriptions","organizations_url":"https://api.github.com/users/nhywieza/orgs","repos_url":"https://api.github.com/users/nhywieza/repos","events_url":"https://api.github.com/users/nhywieza/events{/privacy}","received_events_url":"https://api.github.com/users/nhywieza/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T10:28:12Z","updated_at":"2016-07-14T10:28:12Z","body":"I get the same problem.\r\nI solve it with a clumsy way.\r\n_socket = socket.socket\r\nsocks.setdefaultproxy(socks.PROXY_TYPE_HTTP, proxy_host, proxy_port)\r\nsocket.socket = socks.socksocket\r\n.......\r\n\r\nbefore SQLALchemy operation, I set socket.socket = _socket(the origin socket.socket)"}}
{"actor":{"display_login":"nhywieza"}}