# Failed to clone the catalog from githubexit status 128

**URL:** <https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884>\
**Category:** Rancher 1.x\
**Created:** [November 5, 2015, 7:54pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884 "2015-11-05T19:54:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [November 5, 2015, 7:54pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884/1 "2015-11-05T19:54:05Z")

</div>

fatal: unable to access ‘[https://github.com/rancher/rancher-catalog.git/](https://github.com/rancher/rancher-catalog.git/)’: Failed to connect to [github.com](http://github.com) port 443: Connection timed out  
time=“2015-11-05T19:38:25Z” level=fatal msg="Failed to clone the catalog from githubexit status 128"  
time=“2015-11-05T19:38:26Z” level=info msg="Starting Rancher Catalog service"  
time=“2015-11-05T19:38:26Z” level=info msg="Cloning the catalog from github url [https://github.com/rancher/rancher-catalog.git](https://github.com/rancher/rancher-catalog.git)"  
Cloning into ‘./DATA’…

```
    Rancher v0.44.0
    Cattle v0.107.0
    User Interface v0.65.0
    Rancher Compose v0.5.1

```

I have another instance of Rancher, running the same version, and it seems to be working fine. Oh, and I can execute: git clone [https://github.com/rancher/rancher-catalog.git](https://github.com/rancher/rancher-catalog.git) on the host where the rancher server container is running.

I restarted Docker (1.8.2) and now the rancher server log is steaming this…

fatal: destination path ‘./DATA’ already exists and is not an empty directory.  
time=“2015-11-05T19:51:51Z” level=fatal msg=“Failed to clone the catalog from githubexit status 128”

Please advise.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [November 5, 2015, 8:01pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884/2 "2015-11-05T20:01:31Z")

</div>

> [@ebishop](#):
>
> Failed to connect to [github.com](http://github.com) port 443: Connection timed out

Firewall? The catalog service just calls essentially `git clone https://github.com/rancher/rancher-catalog` and the error message seems pretty clear that it tried to connect but never got a response.

---

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [November 5, 2015, 8:22pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884/3 "2015-11-05T20:22:04Z")

</div>

> [@ebishop](#):
>
> fatal: destination path ‘./DATA’ already exists and is not an empty directory.

what does this imply?  
fatal: destination path ‘./DATA’ already exists and is not an empty directory.

---

<div class="post-metadata">

**Author:** ![prachi](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/prachi/32/532_2.png) [@prachi](https://forums.suse.com/u/prachi)\
**Post date:** [November 5, 2015, 9:00pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884/4 "2015-11-05T21:00:22Z")

</div>

> [@ebishop](#):
>
> fatal: destination path

This is again a git clone error, because the ./DATA folder was not empty when git tried to clone the repo.

But this is strange since rancher service does remove this folder and clones the catalog newly every time you restart it.

Did you see this error after you restarted Docker? Or any specific steps that lead you to this error?

---

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [November 5, 2015, 9:24pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884/5 "2015-11-05T21:24:28Z")

</div>

I did restart docker along the way. It’s likely a firewall issue, as @vincent sugggested. I was able to pass in a proxy env varible and it works now. This is just a problem I didn’t have before 44, that I know of. And I suppose the problem was on my end. 😁

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [November 5, 2015, 9:32pm UTC](https://forums.suse.com/t/failed-to-clone-the-catalog-from-githubexit-status-128/884/6 "2015-11-05T21:32:00Z")

</div>


