# AWX problem with keepalive

**URL:** <https://forum.ansible.com/t/awx-problem-with-keepalive/33603>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 13, 2020, 12:20pm UTC](https://forum.ansible.com/t/awx-problem-with-keepalive/33603 "2020-08-13T12:20:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLAISE\_MICHEL](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@BLAISE\_MICHEL](https://forum.ansible.com/u/BLAISE_MICHEL)\
**Post date:** [August 13, 2020, 12:20pm UTC](https://forum.ansible.com/t/awx-problem-with-keepalive/33603/1 "2020-08-13T12:20:51Z")

</div>

I have an awx installation in gke and lot of server in datacenter on premise and i have lot of problem with the error

msg": “Failed to connect to the host via ssh: OpenSSH\_8.0p1, OpenSSL 1.1.1c FIPS 28 May 2019\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config\r\ndebug3: /etc/ssh/ssh\_config line 51: Including file /etc/ssh/ssh\_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config.d/05-redhat.conf\r\ndebug2: checking match for ‘final all’ host [pfrlmmgmaga01.int.adeo.com](http://pfrlmmgmaga01.int.adeo.com) originally [pfrlmmgmaga01.int.adeo.com](http://pfrlmmgmaga01.int.adeo.com)\r\ndebug3: /etc/ssh/ssh\_config.d/05-redhat.conf line 3: not matched ‘final’\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh\_config.d/05-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256,[curve25519-sha256@libssh.org](mailto:curve25519-sha256@libssh.org),ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1]\r\ndebug1: configuration requests final Match pass\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config\r\ndebug3: /etc/ssh/ssh\_config line 51: Including file /etc/ssh/ssh\_config.d/05-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config.d/05-redhat.conf\r\ndebug2: checking match for ‘final all’ host [pfrlmmgmaga01.int.adeo.com](http://pfrlmmgmaga01.int.adeo.com) originally [pfrlmmgmaga01.int.adeo.com](http://pfrlmmgmaga01.int.adeo.com)\r\ndebug3: /etc/ssh/ssh\_config.d/05-redhat.conf line 3: matched ‘final’\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh\_config.d/05-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-]\r\ndebug3: kex names ok: [curve25519-sha256,[curve25519-sha256@libssh.org](mailto:curve25519-sha256@libssh.org),ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1]\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O\_NONBLOCK\r\ndebug2: mux\_client\_hello\_exchange: master version 4\r\ndebug3: mux\_client\_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux\_client\_request\_session: entering\r\ndebug3: mux\_client\_request\_alive: entering\r\ndebug3: mux\_client\_request\_alive: done pid = 1678\r\ndebug3: mux\_client\_request\_session: session request sent\r\ndebug3: mux\_client\_read\_packet: read header failed: Broken pipe\r\ndebug2: Control master terminated unexpectedly\r\nShared connection to closed.”

failed: [[afrlmmgmaga01.int.adeo.com](http://afrlmmgmaga01.int.adeo.com)] (item=9) =\> {“ansible\_loop\_var”: “item”, “item”: “9”, “msg”: “Failed to connect to the host via ssh: Shared connection to [afrlmmgmaga01.int.adeo.com](http://afrlmmgmaga01.int.adeo.com) closed.”, “unreachable”: true}

and I don’t have problem when i have an awx in datacenter.

How can i change the tcp keepalive time in awx or ansible configuration ?

ENVIRONMENT- AWX version: 9.3.0

- AWX install method: openshift, minishift, docker on linux, docker for mac, boot2docker
- Ansible version: 2.9.5
- Operating System: linux
- Web Browser: chrome
