# Errors when running templates

**URL:** <https://forum.ansible.com/t/errors-when-running-templates/36331>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [February 14, 2022, 5:11pm UTC](https://forum.ansible.com/t/errors-when-running-templates/36331 "2022-02-14T17:11:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boardy404](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@Boardy404](https://forum.ansible.com/u/Boardy404)\
**Post date:** [February 14, 2022, 5:11pm UTC](https://forum.ansible.com/t/errors-when-running-templates/36331/1 "2022-02-14T17:11:03Z")

</div>

Hi everyone,

I am deploying AWX using the 0.16.0 operator with the default task, web, ee and redis images into eks with external postgres db. I am using persistent project directories, via a mounted efs filesystem.

I am using a manual project, and also an SCM project. However, when I try to run a template from either project I am getting the following:

Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 3029, in run res = self.\_run\_internal(receptor\_ctl) File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 3087, in \_run\_internal unit\_status = receptor\_ctl.simple\_command(f’work status {self.unit\_id}') File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/receptorctl/socket\_interface.py”, line 70, in simple\_command self.connect() File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/receptorctl/socket\_interface.py”, line 90, in connect self.handshake() File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/receptorctl/socket\_interface.py”, line 43, in handshake m = re.compile(“Receptor Control, node (.+)”).fullmatch(self.readstr()) File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/receptorctl/socket\_interface.py”, line 36, in readstr return self.\_sockfile.readline().decode().strip() File “/usr/lib64/python3.8/socket.py”, line 669, in readinto return self.\_sock.recv\_into(b) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 1499, in run res = receptor\_job.run() File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 3034, in run receptor\_ctl.simple\_command(f"work release {self.unit\_id}“) File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/receptorctl/socket\_interface.py”, line 71, in simple\_command self.writestr(f”{command}\n") File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/receptorctl/socket\_interface.py”, line 40, in writestr self.\_sockfile.flush() File “/usr/lib64/python3.8/socket.py”, line 687, in write return self.\_sock.send(b) BrokenPipeError: [Errno 32] Broken pipe

Now, I am pretty sure this is something I have broken (previously we were only using SCM projects and the output was different but the playbook was actually trying to run) - but I am not sure where to start looking to diagnose the problem - has anyone had anything similar?

Thanks!

---

<div class="post-metadata">

**Author:** ![Boardy404](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@Boardy404](https://forum.ansible.com/u/Boardy404)\
**Post date:** [February 14, 2022, 6:17pm UTC](https://forum.ansible.com/t/errors-when-running-templates/36331/2 "2022-02-14T18:17:41Z")

</div>

Worth mentioning that the playbooks are only run on localhost so there are no remote hosts at this stage.

---

<div class="post-metadata">

**Author:** ![Boardy404](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@Boardy404](https://forum.ansible.com/u/Boardy404)\
**Post date:** [March 1, 2022, 9:01am UTC](https://forum.ansible.com/t/errors-when-running-templates/36331/3 "2022-03-01T09:01:34Z")

</div>

The issues I was seeing are related to Istio. Excluding the worker pod from sidecar injection resolved it.
