# awxweb:8052 not found when running jobs

**URL:** <https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 15, 2017, 12:30pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496 "2017-09-15T12:30:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cody\_Harlow](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Post date:** [September 15, 2017, 12:30pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/1 "2017-09-15T12:30:15Z")

</div>

[https://github.com/ansible/awx/issues/135](https://github.com/ansible/awx/issues/135)

Still having issues related to this.I rebuilt with the latest version and I’m stilling getting the same error. I can ping awx from awxweb and vice versa but if I try to curl the API from awx, it tells me that awxweb can’t be found. It’s almost like it’s trying to find awxweb outside of the container, because it’s giving me my companies custom 404 page.

Any help would be appreciated and if I need to provide more info please let me know.

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [September 15, 2017, 12:35pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/2 "2017-09-15T12:35:03Z")

</div>

That’s really wild. When you ping awxweb does it resolve internally to docker or to some system outside of the docker network?

You may have bridge networking configured… you may need to get a little fancier and make sure your docker network is isolated from your company network… the find another way to route traffice to the AWX front end.

---

<div class="post-metadata">

**Author:** ![Cody\_Harlow](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Post date:** [September 15, 2017, 12:43pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/3 "2017-09-15T12:43:24Z")

</div>

It looks like it resolves internally fine.

[root@awx awx]# ping awxweb  
PING awxweb (172.17.0.5) 56(84) bytes of data  
64 bytes from axweb (172.17.0.5): icmp\_seq1 ttl-64 time-0.0102 ms

64 bytes from axweb (172.17.0.5): icmp\_seq2 ttl-64 time-0.0087 ms

64 bytes from axweb (172.17.0.5): icmp\_seq3 ttl-64 time-0.0106 ms

64 bytes from axweb (172.17.0.5): icmp\_seq4 ttl-64 time-0.0101 ms

I know another group in my company has gotten Tower to run and install, is the Tower environment the same setup as the AWX environment?

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [September 15, 2017, 1:00pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/4 "2017-09-15T13:00:20Z")

</div>

Tower and AWX _are_ a little different. Tower is generally a bare metal/vm install while AWX requires a container environment (Docker or minishift/openshift). The deployment topology is a little different because of that also.

---

<div class="post-metadata">

**Author:** ![franck\_labatut](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@franck\_labatut](https://forum.ansible.com/u/franck_labatut)\
**Post date:** [September 15, 2017, 6:37pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/5 "2017-09-15T18:37:48Z")

</div>

Hi,

i’ve already experienced such thing caused by my proxy set using usual environment variables, without “awxweb” append in the no\_proxy variable.

are you in such scenario ?

Franck

---

<div class="post-metadata">

**Author:** ![franck\_labatut](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@franck\_labatut](https://forum.ansible.com/u/franck_labatut)\
**Post date:** [September 15, 2017, 6:39pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/6 "2017-09-15T18:39:34Z")

</div>

another idea :

you run your containers using docker-compose without the link alias required to reach the container hostname ?

[https://docs.docker.com/compose/compose-file/#links](https://docs.docker.com/compose/compose-file/#links)

my two additional cents

---

<div class="post-metadata">

**Author:** ![Cody\_Harlow](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Post date:** [September 15, 2017, 6:49pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/7 "2017-09-15T18:49:41Z")

</div>

That does sound very similar. So you added awxweb to the no\_proxy variable?

---

<div class="post-metadata">

**Author:** ![franck\_labatut](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@franck\_labatut](https://forum.ansible.com/u/franck_labatut)\
**Post date:** [September 15, 2017, 6:51pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/8 "2017-09-15T18:51:49Z")

</div>

indeed:

no\_proxy=‘.local,awxweb’

you can confirm it running a tcpdump before reproducing the issue, thus displaying the error message

---

<div class="post-metadata">

**Author:** ![Cody\_Harlow](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Post date:** [September 15, 2017, 7:05pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/9 "2017-09-15T19:05:56Z")

</div>

Do I need to rebuild to change the proxy?

---

<div class="post-metadata">

**Author:** ![franck\_labatut](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@franck\_labatut](https://forum.ansible.com/u/franck_labatut)\
**Post date:** [September 15, 2017, 7:10pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/10 "2017-09-15T19:10:56Z")

</div>

i think so

---

<div class="post-metadata">

**Author:** ![Cody\_Harlow](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Post date:** [September 15, 2017, 10:31pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/11 "2017-09-15T22:31:39Z")

</div>

The only file I need to edit is the inventory file in the installer folder correct?

---

<div class="post-metadata">

**Author:** ![franck\_labatut](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@franck\_labatut](https://forum.ansible.com/u/franck_labatut)\
**Post date:** [September 16, 2017, 7:40am UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/12 "2017-09-16T07:40:25Z")

</div>

using the last revision of awx yes, variables can be found at the bottom of the inventory file and they are used by docker\_image module used by the installer playbooks.  
If you use a proxy and you didn’t register any entry for awxweb in your dns server, then you need to bypass the proxy for it otherwise the proxy server will be unable to resolve awxweb and will throw an error imho

---

<div class="post-metadata">

**Author:** ![Cody\_Harlow](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Post date:** [September 18, 2017, 3:32pm UTC](https://forum.ansible.com/t/awxweb-8052-not-found-when-running-jobs/25496/13 "2017-09-18T15:32:36Z")

</div>

Franck,

You were dead on! Thank you! I had to add no\_proxy to the dockerfile and rebuilt and it worked.
