Thanks Reiner for the reply. Much appreciated!
Here is the useful information from the log in debug mode. The rundeck version we are on is: 3.2.1-20200113
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 500 1578 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] Starting new HTTP connection (1): servername (connectionpool.py:208)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 401 0 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] Resetting dropped connection: servername (connectionpool.py:243)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 401 0 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 200 0 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 200 1899 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 200 1104 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 200 5908 (connectionpool.py:396)[urllib3.connectionpool]
This then runs a cmd file which executes against a sql db. It normally takes 15 hours to run outside of rundeck.
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 500 1578 (connectionpool.py:396)[urllib3.connectionpool]
these then get logged quite a bit up until the 8 hour mark. Then this gets logged:
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 401 0 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] Resetting dropped connection: servername (connectionpool.py:243)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 401 0 (connectionpool.py:396)[urllib3.connectionpool]
[DEBUG ] servername:5985 "POST /wsman HTTP/1.1" 400 0 (connectionpool.py:396)[urllib3.connectionpool]
[ERROR ] Execution finished with the following error (winrm-exec.py:268)[root]
[ERROR ] Bad HTTP response returned from server. Code 400 (winrm-exec.py:269)[root]
I had set the timeout settings in the project config file, like this:
project.winrm-connection-timeout=72000000
project.winrm-timeout=PT72000.000s
(I know thats long, but the process runs forever)
Greatly appreciate the help on this. Please let me know if you need more info.