rundeck-winrm-plugin icon indicating copy to clipboard operation
rundeck-winrm-plugin copied to clipboard

WinRm Rundeck error

Open jpjayprasad opened this issue 8 years ago • 2 comments

I am trying to execute power shell commands on windows nodes through rundeck using winrm plugin. The rundeck job runs fine while i specify fqdn of the server as hostname in the rundeck resources xml. But in case if i specify ip address of the server as hostname in the rundeck resources xml, I'm getting the below given error.

[overthere-winrm:xx.xxx.xxx.xxx] failed: WinRM Error: Unexpected HTTP response on http://xx.xxx.xxx.xxx:5985/wsman: (401) 11:27:47 Failed: WinRMProtocolError: WinRM Error: Unexpected HTTP response on http://xx.xxx.xxx.xxx:5985/wsman: (401

Is there anything we can do with winrm rundeck plugin to solve this issue.?

jpjayprasad avatar Dec 21 '16 05:12 jpjayprasad

I'm seeing the same error with the 1.3.3 jar. I dont get the error with the 1.3.1 jar installed with my rundeck config

ChrisPr1 avatar Jan 11 '17 19:01 ChrisPr1

I'm already using 1.3.1 jar and getting this error. The below given is the winrm configuration of my project. project.winrm-auth-type=kerberos project.winrm-connection-timeout=60000 project.winrm-password-storage-path=keys/rundeckservice/rundeckservice project.winrm-protocol=http project.winrm-timeout=PT180.000S

Do i have to modify or add any more parameters to address the issue?

jpjayprasad avatar Jan 12 '17 06:01 jpjayprasad