rundeck-plugins / rundeck-winrm-plugin

Rundeck WinRM Node Executor plugin
Other
56 stars 28 forks source link

WinRm Rundeck error #46

Open jpjayprasad opened 7 years ago

jpjayprasad commented 7 years ago

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.?

ChrisPr1 commented 7 years ago

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

jpjayprasad commented 7 years ago

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?