Unable to Fetch Docker Artifacts from Public Repositories

Original Slack Thread

Hi,
I am receiving below error when I run ./gradlew quickstart. I see others have posted regarding this same issue, but none of the suggestions seem to help. I am running this command on Ubuntu, have installed docker cmd, and docker compose, but still receiving below error due to 7 tasks having failed during execution. Can someone please help to resolve these?


1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':datahub-upgrade:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':metadata-jobs:mce-consumer-job:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':docker:mysql-setup:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':metadata-service:war:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':metadata-jobs:mae-consumer-job:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':docker:kafka-setup:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

7: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':docker:elasticsearch-setup:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at <https://help.gradle.org>

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings>

BUILD FAILED in 9m 4s
256 actionable tasks: 108 executed, 148 up-to-date```

Please run with --info to get details on what went wrong or there may be logs earlier with the cause and share. Thanks!

hi <@U03MF8MU5P0>, thanks for replying. attached are the logs requested:attachment

Your docker instance cannot fetch artifacts from public repositories. Possibly some corporate firewall/proxy that is interfering with connecting to the public internet.

Hi <@U03MF8MU5P0>,

I now get only the below error when I run ./gradlew quickstart:

#8 ERROR: Get "<https://github.com/aws/aws-msk-iam-auth/releases/download/v1.1.6/aws-msk-iam-auth-1.1.6-all.jar>": dial tcp 140.82.114.4:443: i/o timeout
------
 &gt; <https://github.com/aws/aws-msk-iam-auth/releases/download/v1.1.6/aws-msk-iam-auth-1.1.6-all.jar>:
------
ERROR: failed to solve: DeadlineExceeded: failed to load cache key: Get "<https://github.com/aws/aws-msk-iam-auth/releases/download/v1.1.6/aws-msk-iam-auth-1.1.6-all.jar>": dial tcp 140.82.114.4:443: i/o timeout```
Would you happen to know how I can resolve this?

Perhaps it was temporary? I can definitely fetch that from the internet at the moment.