{"action":"created","issue":{"url":"https://api.github.com/repos/WinRb/WinRM/issues/142","labels_url":"https://api.github.com/repos/WinRb/WinRM/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/WinRb/WinRM/issues/142/comments","events_url":"https://api.github.com/repos/WinRb/WinRM/issues/142/events","html_url":"https://github.com/WinRb/WinRM/issues/142","id":73649063,"number":142,"title":"WinRM ProtocolError","user":{"login":"sduggisetty","id":11965009,"avatar_url":"https://avatars.githubusercontent.com/u/11965009?v=3","gravatar_id":"","url":"https://api.github.com/users/sduggisetty","html_url":"https://github.com/sduggisetty","followers_url":"https://api.github.com/users/sduggisetty/followers","following_url":"https://api.github.com/users/sduggisetty/following{/other_user}","gists_url":"https://api.github.com/users/sduggisetty/gists{/gist_id}","starred_url":"https://api.github.com/users/sduggisetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sduggisetty/subscriptions","organizations_url":"https://api.github.com/users/sduggisetty/orgs","repos_url":"https://api.github.com/users/sduggisetty/repos","events_url":"https://api.github.com/users/sduggisetty/events{/privacy}","received_events_url":"https://api.github.com/users/sduggisetty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-06T15:01:48Z","updated_at":"2015-05-07T13:46:17Z","closed_at":"2015-05-07T13:01:43Z","body":"Hi,\r\n\r\ni am trying to connect a server through the winrm. But getting below error.\r\n\r\nCould someone please help me on this.\r\nError: \r\n19:34:52\t[overthere-winrm:] failed: WinRM Error: Unexpected HTTP response on http://<ip>:5985/wsman:   (401)\r\n19:34:52\tFailed: WinRMProtocolError: WinRM Error: Unexpected HTTP response on http://<ip>:5985/wsman:   (401)\r\n\r\n\r\nHere are the more details for your info:\r\n\r\nServer type: Windows 2008 server\r\n\r\nwinrm config:\r\n\r\nC:\\Windows\\system32>winrm get winrm/config\r\nConfig\r\n    MaxEnvelopeSizekb = 150\r\n    MaxTimeoutms = 900000\r\n    MaxBatchItems = 32000\r\n    MaxProviderRequests = 4294967295\r\n    Client\r\n        NetworkDelayms = 5000\r\n        URLPrefix = wsman\r\n        AllowUnencrypted = false\r\n        Auth\r\n            Basic = true\r\n            Digest = true\r\n            Kerberos = true\r\n            Negotiate = true\r\n            Certificate = true\r\n            CredSSP = false\r\n        DefaultPorts\r\n            HTTP = 5985\r\n            HTTPS = 5986\r\n        TrustedHosts\r\n    Service\r\n        RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)S:P(AU;FA;GA;;;WD)(AU;SA;GWGX;;;WD)\r\n        MaxConcurrentOperations = 4294967295\r\n        MaxConcurrentOperationsPerUser = 15\r\n        EnumerationTimeoutms = 60000\r\n        MaxConnections = 25\r\n        MaxPacketRetrievalTimeSeconds = 120\r\n        AllowUnencrypted = true\r\n        Auth\r\n            Basic = true\r\n            Kerberos = true\r\n            Negotiate = true\r\n            Certificate = false\r\n            CredSSP = false\r\n            CbtHardeningLevel = Relaxed\r\n        DefaultPorts\r\n            HTTP = 5985\r\n            HTTPS = 5986\r\n        IPv4Filter = *\r\n        IPv6Filter = *\r\n        EnableCompatibilityHttpListener = false\r\n        EnableCompatibilityHttpsListener = false\r\n        CertificateThumbprint\r\n    Winrs\r\n        AllowRemoteShellAccess = true\r\n        IdleTimeout = 180000\r\n        MaxConcurrentUsers = 5\r\n        MaxShellRunTime = 2147483647\r\n        MaxProcessesPerShell = 15\r\n        MaxMemoryPerShellMB = 1024\r\n        MaxShellsPerUser = 5\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WinRb/WinRM/issues/comments/99871803","html_url":"https://github.com/WinRb/WinRM/issues/142#issuecomment-99871803","issue_url":"https://api.github.com/repos/WinRb/WinRM/issues/142","id":99871803,"user":{"login":"sduggisetty","id":11965009,"avatar_url":"https://avatars.githubusercontent.com/u/11965009?v=3","gravatar_id":"","url":"https://api.github.com/users/sduggisetty","html_url":"https://github.com/sduggisetty","followers_url":"https://api.github.com/users/sduggisetty/followers","following_url":"https://api.github.com/users/sduggisetty/following{/other_user}","gists_url":"https://api.github.com/users/sduggisetty/gists{/gist_id}","starred_url":"https://api.github.com/users/sduggisetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sduggisetty/subscriptions","organizations_url":"https://api.github.com/users/sduggisetty/orgs","repos_url":"https://api.github.com/users/sduggisetty/repos","events_url":"https://api.github.com/users/sduggisetty/events{/privacy}","received_events_url":"https://api.github.com/users/sduggisetty/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T13:46:17Z","updated_at":"2015-05-07T13:46:17Z","body":"am still unable to connect. getting same error.\r\n\r\nPlease help.."}}