Failed to connect to windows server behind a bastion host from AWX

91 views
Skip to first unread message

Karthik Kumaraswamy

unread,
Jun 8, 2022, 6:30:59 AM6/8/22
to AWX Project
Hi All,

I'm receiving below error while trying to establish connectivity with a windows host which is behind our bastion host

Variables passed are as below:

ansible_connection: psrp
ansible_psrp_protocol: http
ansible_psrp_proxy: 'socks5h://13.212.12.113:22'

Proxy Server: 13.212.12.113

Windows host: 10.116.3.69

"msg": "Failed to connect to the host via PSRP: SOCKSHTTPConnectionPool(host='10.116.3.69', port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.contrib.socks.SOCKSConnection object at 0x7f714c301910>, 'Connection to 10.116.3.69 timed out. (connect timeout=30)'))",
48
"unreachable": true

Karthik Kumaraswamy

unread,
Jun 10, 2022, 12:49:35 AM6/10/22
to AWX Project
Dear All,

Can someone assist me on this please ?

AWX Project

unread,
Jun 10, 2022, 5:45:51 AM6/10/22
to AWX Project
Have you tried this outside of AWX with ansible-playbook?
Are you getting any messages in the logs in your bastion host that indicate any kind of issue?

-The AWX Team

Reply all
Reply to author
Forward
0 new messages