-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure in executing Winrm command from remote Ubuntu server 16.04 to remote Windows R2 2012 server #271
Comments
Looks like the problem is in the authentication. From what I recall, you were having issues with jruby and the NTLM gem and had a PR in flight that was never merged. I just added a commit to your former PR and made a new PR #272 . Can you give the change in that PR a try? |
Hi, |
Do you have access to a non jruby environment. I'd be curious to see if we can isolate jruby as being the likely culprit. Wherever the problem is I highly suspect it to be inside of rubyntlm since the last thing we see on the wire is the challenge response and the ball is in rubyntlm's court to return credentials. I just dont have any jruby environment to validate. |
Hi , |
I think the hang is occuring somewhere in the |
Hi
We are using winrm 2.1.1 with Jruby 9.1.1.0. We are executing some basic powershell commands as well as command-line commands in negotiate as transport mode from a remote Ubuntu server(16.04 LTS) to Windows R2 2012 server were winrm is configured.Below is the code snippet which we are using:
When we are executing the above code we are simply getting connection time out while executing the commands (for both powershell and cmd commands). We are not getting any specific error logs, so we are stuck and unable to debug the root cause.
We have also traced the network packets using Wireshark Tool and we are getting following logs -
Case 1 . Failure in executing command via ubuntu server to Windows server
a. 72.251.240.36 -Ubuntu server
b. 10.0.37.104 Windows R2 2012 server where winrm is configured
Case 2 . Success in executing the command via ubuntu server to Windows server
a. 72.251.240.36 -Ubuntu server
b. 10.0.37.104 Windows R2 2012 server where winrm is configured
Please Note: While executing the above code snippet command or any other commands as well , out of 10 times,only 2 times the commands gets executed successfully through the same ubuntu server(72.251.240.36) on the same Windows server(10.0.37.104) .Rest of the time we get a timeout.
Thanks in advance !!
Do let us know if you need any more details.
The text was updated successfully, but these errors were encountered: