# Docker לפעמים נכשל להתחבר ל-github.com

**URL:** <https://meta.discourse.org/t/docker-sometimes-fails-to-connect-to-github-com/250643>\
**Category:** Self-hosting\
**Created:** [4 בינואר,‏ 2023,‏ 1:40am UTC](https://meta.discourse.org/t/docker-sometimes-fails-to-connect-to-github-com/250643 "2023-01-04T01:40:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hiddenseal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hiddenseal/32/284273_2.png) [@hiddenseal](https://meta.discourse.org/u/hiddenseal)\
**Post date:** [4 בינואר,‏ 2023,‏ 1:40am UTC](https://meta.discourse.org/t/docker-sometimes-fails-to-connect-to-github-com/250643/1 "2023-01-04T01:40:13Z")

</div>

While trying to upgrade Discourse via `./launcher rebuild app` I get an issue with

```plaintext
fatal: unable to access 'https://github.com/discourse/REPO.git/': Failed to connect to github.com port 443: Connection timed out

```

However, the problem is: sometimes this fails even for discourse. But if you try to do it again, immediately after, with no changes, it may go through, but fail on one of the plugins. If I remove all the plugins, the discourse connection may fail or it may go through and actually build the whole thing.

I’ve seen this

> [@Can't build container, no clear errors](https://meta.discourse.org/t/cant-build-container-no-clear-errors/219495/2):
>
> Since you said it works on the host, you need to debug the container networking.

but I don’t know how to debug the container networking.

---

_[View the full topic](https://meta.discourse.org/t/docker-sometimes-fails-to-connect-to-github-com/250643)._
