{"action":"created","issue":{"url":"https://api.github.com/repos/diyan/pywinrm/issues/51","labels_url":"https://api.github.com/repos/diyan/pywinrm/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/diyan/pywinrm/issues/51/comments","events_url":"https://api.github.com/repos/diyan/pywinrm/issues/51/events","html_url":"https://github.com/diyan/pywinrm/pull/51","id":68793801,"number":51,"title":"Could you please help me with this Error message.?","user":{"login":"bhupal1reddy","id":10935765,"avatar_url":"https://avatars.githubusercontent.com/u/10935765?v=3","gravatar_id":"","url":"https://api.github.com/users/bhupal1reddy","html_url":"https://github.com/bhupal1reddy","followers_url":"https://api.github.com/users/bhupal1reddy/followers","following_url":"https://api.github.com/users/bhupal1reddy/following{/other_user}","gists_url":"https://api.github.com/users/bhupal1reddy/gists{/gist_id}","starred_url":"https://api.github.com/users/bhupal1reddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhupal1reddy/subscriptions","organizations_url":"https://api.github.com/users/bhupal1reddy/orgs","repos_url":"https://api.github.com/users/bhupal1reddy/repos","events_url":"https://api.github.com/users/bhupal1reddy/events{/privacy}","received_events_url":"https://api.github.com/users/bhupal1reddy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-15T21:44:51Z","updated_at":"2015-04-24T18:50:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/diyan/pywinrm/pulls/51","html_url":"https://github.com/diyan/pywinrm/pull/51","diff_url":"https://github.com/diyan/pywinrm/pull/51.diff","patch_url":"https://github.com/diyan/pywinrm/pull/51.patch"},"body":"Hello Diyan,\r\n\r\nI am trying to set this up and I get the following error.\r\n\r\n>>> import winrm\r\n>>> s = winrm.Session('windowshost', auth=('username', 'password'))\r\n>>> r = s.run_cmd('ipconfig', ['/all'])\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"winrm/__init__.py\", line 28, in run_cmd\r\n    shell_id = self.protocol.open_shell()\r\n  File \"winrm/protocol.py\", line 103, in open_shell\r\n    rs = self.send_message(xmltodict.unparse(rq))\r\n  File \"winrm/protocol.py\", line 173, in send_message\r\n    return self.transport.send_message(message)\r\n  File \"winrm/transport.py\", line 103, in send_message\r\n    raise WinRMTransportError('http', ex.reason)\r\nwinrm.exceptions.WinRMTransportError: 500 WinRMTransport. [Errno 111] Connection refused\r\n>>>\r\n\r\n\r\n\r\nCould you please help."},"comment":{"url":"https://api.github.com/repos/diyan/pywinrm/issues/comments/96033157","html_url":"https://github.com/diyan/pywinrm/pull/51#issuecomment-96033157","issue_url":"https://api.github.com/repos/diyan/pywinrm/issues/51","id":96033157,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:50:36Z","updated_at":"2015-04-24T18:50:36Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2417333/badge)](https://coveralls.io/builds/2417333)\n\nCoverage decreased (-4.18%) to 57.18% when pulling **b4b3cb23180dc0006e4233d4da52215d6fbf377b on requests** into **3da6bec21682bf701e81ef598c62b62313e8db25 on master**.\n"}}