I need to install a software on windows 2008R2 machine which actually takes nearly 40 to 50 minutes .I am able to bootstrap and initiate the process. The installation has begun but after 30 minutes , chef is throwing an error .
ERROR: WinRM::WinRMHTTPTransportError: Bad HTTP response returned from server (500)
I want to know the status of that installation . Is there anyway to increase the timeout ..??
That isn't a timeout from Chef itself. It is just reporting that the server sent back an HTTP 500 (WinRM uses SOAP under the hood). Looking through the WinRM service docs there is a
MaxShellRunTimethat might be what you want, but the default value of that is 8 hours so probably not the timeout you are hitting.