# awx not working on k8s version 1.23.6

**URL:** <https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [May 26, 2022, 3:59pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662 "2022-05-26T15:59:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Declan\_Gowran](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@Declan\_Gowran](https://forum.ansible.com/u/Declan_Gowran)\
**Post date:** [May 26, 2022, 3:59pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/1 "2022-05-26T15:59:28Z")

</div>

awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’

SUMMARY  
After Kubernetes Cluster Upgrade to v1.23.6 pods are now unable to communicate with each other with below error in awx-web pod logs

2022-05-10 15:37:04,088 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:04,090 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 2.  
2022-05-10 15:37:12,102 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:12,104 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 3.  
2022-05-10 15:37:16,111 INFO success: nginx entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: nginx entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: uwsgi entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: uwsgi entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: daphne entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: daphne entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: wsbroadcast entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:16,111 INFO success: wsbroadcast entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:20,123 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:20,126 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 4.  
2022-05-10 15:37:28,142 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:28,143 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 5.  
2022-05-10 15:37:34,151 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:34,151 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-05-10 15:37:36,152 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:36,154 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 6.  
2022-05-10 15:37:44,169 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:44,170 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 7.  
2022-05-10 15:37:52,180 WARNING [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 failed: ‘Cannot connect to host 10.36.0.10:8052 ssl:False [Connect call failed (‘10.36.0.10’, 8052)]’.  
2022-05-10 15:37:52,182 DEBUG [-] awx.main.wsbroadcast Connection from awx-767cb986bb-fv9tr to 10.36.0.10 attempt number 8.

ENVIRONMENT  
AWX version: 0.21.0  
Operator version: 0.21.0  
Kubernetes version: 1.23.6  
AWX install method: K8S via operator  
STEPS TO REPRODUCE  
remove deployment and redeploy on version k8s 1.23.6

EXPECTED RESULTS  
pods communicate and awx comes online

ACTUAL RESULTS  
nothing , service does not appear to come online

ADDITIONAL INFORMATION  
seems related to SSL

AWX-OPERATOR LOGS  
--------------------------- Ansible Task StdOut -------------------------------

TASK [Remove ownerReferences reference] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [localhost] =\> (item=None) =\> {“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”, “changed”: false}

{“level”:“info”,“ts”:1652197108.1342492,“logger”:“proxy”,“msg”:“Read object from cache”,“resource”:{“IsResourceRequest”:true,“Path”:“/api/v1/namespaces/awx/secrets/awx-broadcast-websocket”,“Verb”:“get”,“APIPrefix”:“api”,“APIGroup”:“”,“APIVersion”:“v1”,“Namespace”:“awx”,“Resource”:“secrets”,“Subresource”:“”,“Name”:“awx-broadcast-websocket”,“Parts”:[“secrets”,“awx-broadcast-websocket”]}}

--------------------------- Ansible Task StdOut -------------------------------

TASK [Remove ownerReferences reference] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [localhost] =\> (item=None) =\> {“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”, “changed”: false}

{“level”:“info”,“ts”:1652197108.564614,“logger”:“runner”,“msg”:“Ansible-runner exited successfully”,“job”:“471168312615460271”,“name”:“awx”,“namespace”:“awx”}

----- Ansible Task Status Event StdOut ([awx.ansible.com/v1beta1](http://awx.ansible.com/v1beta1), Kind=AWX, awx/awx) -----

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=63 changed=0 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 1, 2022, 9:36pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/2 "2022-06-01T21:36:26Z")

</div>

there is a known bug around this – those wsbroadcast warnings from the awx-web pod are benign and can be ignored. Is there any other issue with the app you are experiencing?

Seth

---

<div class="post-metadata">

**Author:** ![Narender](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@Narender](https://forum.ansible.com/u/Narender)\
**Post date:** [August 29, 2022, 3:31pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/3 "2022-08-29T15:31:44Z")

</div>

Hi Seth,

We are having the same issue and our awx pods keeps restarting after trying for connecting for few minutes.

Thanks,

Nari

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [August 31, 2022, 2:44pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/4 "2022-08-31T14:44:55Z")

</div>

Hi Nari,

I wouldn’t expect restarting from this issue, Do the k8s logs show helpful information as to why they are restarting?

AWX Team

---

<div class="post-metadata">

**Author:** ![Narender](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@Narender](https://forum.ansible.com/u/Narender)\
**Post date:** [August 31, 2022, 3:20pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/5 "2022-08-31T15:20:51Z")

</div>

Hi,

This is the only error that we are getting in the logs.

Thanks

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [September 2, 2022, 5:31pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/6 "2022-09-02T17:31:01Z")

</div>

I misspoke, the wsbroadcast is supposed to run in the awx-web container, so your original logs are something worth attending to.

@dgowran

where you able to fix the issue? what command did you run to scale up the replica set?

Thanks for any info you can provide

AWX Team

---

<div class="post-metadata">

**Author:** ![Declan\_Gowran](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@Declan\_Gowran](https://forum.ansible.com/u/Declan_Gowran)\
**Post date:** [September 8, 2022, 12:58pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/7 "2022-09-08T12:58:44Z")

</div>

I had to redeploy the whole environment and setup to fix this issue, its also just re surfaced after 3 months , so will have to redeploy again it seems

2022-09-08 12:11:35,290 INFO success: nginx entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: nginx entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: uwsgi entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: uwsgi entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: daphne entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: daphne entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: wsbroadcast entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:35,290 INFO success: wsbroadcast entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:36,292 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:11:36,294 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 4.  
2022-09-08 12:11:44,306 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:11:44,307 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 5.  
2022-09-08 12:11:52,316 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:11:52,317 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 6.  
2022-09-08 12:11:55,322 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:11:55,322 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for \> than 30 seconds (startsecs)  
2022-09-08 12:12:00,328 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:12:00,329 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 7.  
2022-09-08 12:12:08,340 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:12:08,341 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 8.  
2022-09-08 12:12:16,356 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:12:16,360 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 9.  
2022-09-08 12:12:24,372 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 failed: ‘Cannot connect to host 10.44.0.45:8052 ssl:False [Connect call failed (‘10.44.0.45’, 8052)]’.  
2022-09-08 12:12:24,373 DEBUG [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 attempt number 10.  
2022-09-08 12:12:29,354 WARNING [-] awx.main.wsbroadcast Removing {‘awx-86b895fbbd-lspr7’} from websocket broadcast list  
2022-09-08 12:12:29,355 WARNING [-] awx.main.wsbroadcast Connection from awx-86b895fbbd-xld8r to 10.44.0.45 cancelled  
2022-09-08 12:14:21,301 DEBUG [d2afa78ba41945ccbdf405db0231b4ba] awx.analytics.performance request: \<WSGIRequest: OPTIONS ‘/api/v2/schedules/’\>, response\_time: 1.050s

---

<div class="post-metadata">

**Author:** ![Declan\_Gowran](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@Declan\_Gowran](https://forum.ansible.com/u/Declan_Gowran)\
**Post date:** [September 8, 2022, 1:00pm UTC](https://forum.ansible.com/t/awx-not-working-on-k8s-version-1-23-6/36662/8 "2022-09-08T13:00:05Z")

</div>

interesting , that prior to this modules just stopped working and initiated a pod restart to clear, on restart this issue as surfaced and affects Gitsync and tokens with only this in logs above
