Hello,
i try to connect to a windows machine in our environment with the command:
s = winrm.Session('winpc1.xxx.de', auth=('user', 'secret'), proxy='http://DOMAIN%5Cuser:secret@proxyserver:8080')
i get the error message:
File "/home/ansible/.local/lib/python3.8/site-packages/winrm/transport.py", line 352, in _send_message_request raise WinRMTransportError("http", ex.response.status_code, response_text.decode()) winrm.exceptions.WinRMTransportError: Bad HTTP response returned from server. Code 502
We use a proxy server in our environment. Either i want to use a kerberos authentication here how can i realize this?