# AWX fails to sync git projects and Job output is unavailable

**URL:** <https://forum.ansible.com/t/awx-fails-to-sync-git-projects-and-job-output-is-unavailable/34479>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 20, 2021, 4:32pm UTC](https://forum.ansible.com/t/awx-fails-to-sync-git-projects-and-job-output-is-unavailable/34479 "2021-01-20T16:32:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Infinite\_Trojan](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@Infinite\_Trojan](https://forum.ansible.com/u/Infinite_Trojan)\
**Post date:** [January 20, 2021, 4:32pm UTC](https://forum.ansible.com/t/awx-fails-to-sync-git-projects-and-job-output-is-unavailable/34479/1 "2021-01-20T16:32:24Z")

</div>

Hello fellas,

cloning/Syncing project from git.  
When I execute this from UI PROJECT the **Job-status fails with “No Route to host error”** ,but **I see all my playbooks/roles and collections are available/getting updated in /var/lib/awx/project/\_15\_\_git\_projects directory.**

Even I can see Playbooks in UI templates but sync status shows as failed.  
This is what I get in Job-status. because of this, I am unable to trigger my Job templates even though Playbooks are available.

TASK [update project using git] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \> [fatal: [localhost]: FAILED! =\> {“changed”: false, “cmd”: “/usr/bin/git clone --origin origin ‘https://$encrypted$:$encrypted$@’ /var/lib/awx/projects/\_15\_\_git\_projects”, “msg”: "Cloning into ‘/var/lib/awx/projects/\_15\_\_git\_projects’…\nfatal: unable to access ‘https://’: **Failed to connect to port 443: No route to host", “rc”: 128, “stderr”:** “Cloning into ‘/var/lib/awx/projects/\_15\_\_git\_projects’…\nfatal: **unable to access ‘’: Failed to connect to port 443: No route to host** \n”, “stderr\_lines”: [“Cloning into ‘/var/lib/awx/projects/\_15\_\_git\_projects’…”, "fatal: unable to access ‘h’: Failed to connect to port 443: **No route to host"], “stdout”: “”, “stdout\_lines”: }**

to confirm this I tried cloning from docker instance as well and connectivity to my git is fine.

# docker exec -it awx\_web bash

bash-4.4# /usr/bin/git clone --origin origin ‘’ Cloning into ‘awx\_roles’…  
Username for ‘’: s.a.awxro.user01  
Password for ‘’':  
remote: Enumerating objects: 217, done.  
remote: Counting objects: 100% (217/217), done.  
remote: Compressing objects: 100% (124/124), done.  
remote: Total 217 (delta 33), reused 195 (delta 26), pack-reused 0  
Receiving objects: 100% (217/217), 49.24 KiB | 1.37 MiB/s, done.  
Resolving deltas: 100% (33/33), done.

**I don’t have any more hair to rip out over this.**

ENVIRONMENT- AWX version: 16.0.0

- AWX install method: docker on linux, External PG database version 10.
- Ansible version: 2.9.15
- Proxy: Tested with Proxy and without proxy.
- Web Browser: Chrome / Firefox  
EXPECTED RESULTS

Project Sync job should be successful. and we should see job output in api/v2/project\_updates/110/

**ACTUAL RESULTS**

Job-status shows Failed and api/v2/project\_updates/110/ shows

**HTTP 500 Internal Server Error Content-Type: application/json Vary:**  
**Accept**  
**{**  
**“detail”: “A server error has occurred.”**  
**}**

**[AWX fails to sync Projects and Job output is unavailable. · Issue #9117 · ansible/awx · GitHub](https://github.com/ansible/awx/issues/9117)**

TIA.
