You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2023. It is now read-only.
ERROR: Service 'connect' failed to build: The command '/bin/sh -c confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:latest' returned a non-zero code: 7
#888
Open
CX1data opened this issue
Dec 17, 2020
· 3 comments
When trying to build the container I'm getting the following:
james.grant@DEM-C02XJGAAJG5H cp-all-in-one % docker-compose up -d --build
Building connect
Step 1/3 : FROM confluentinc/cp-kafka-connect:5.1.4
---> 3b42e7260b0a
Step 2/3 : ENV CONNECT_PLUGIN_PATH="/usr/share/java,/usr/share/confluent-hub-components"
---> Using cache
---> 0556eedb9ef9
Step 3/3 : RUN confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:latest
---> Running in bcaa4a900f56
Running in a "--no-prompt" mode
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Error: Unknown error
ERROR: Service 'connect' failed to build: The command '/bin/sh -c confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:latest' returned a non-zero code: 7
james.grant@DEM-C02XJGAAJG5H cp-all-in-one %
MacOS Catalina (10.15.7). corporate build (i.e. I don't have admin)
Docker Version 18.06.1-ce-mac73 (26764)
I've also tried % docker-compose build --no-cache connect as was suggested in a similar issue ticket but for an earlier release. Same result.
I also tried editing the Dockerfile and removed the --noprompt flag on step 3, and got the following output - it may be a "red herring" but there's an option that gets displayed neither option is selected:
james.grant@DEM-C02XJGAAJG5H cp-all-in-one % docker-compose up -d --build
Building connect
Step 1/3 : FROM confluentinc/cp-kafka-connect:5.1.4
---> 3b42e7260b0a
Step 2/3 : ENV CONNECT_PLUGIN_PATH="/usr/share/java,/usr/share/confluent-hub-components"
---> Using cache
---> 9f459d7a6541
Step 3/3 : RUN confluent-hub install confluentinc/kafka-connect-datagen:latest
---> Running in 9403384f93c3
The component can be installed in any of the following Confluent Platform installations:
1. / (installed rpm/deb package)
2. / (where this tool is installed)
Choose one of these to continue the installation (1-2): No line found
Error: Unknown error
ERROR: Service 'connect' failed to build: The command '/bin/sh -c confluent-hub install confluentinc/kafka-connect-datagen:latest' returned a non-zero code: 7
james.grant@DEM-C02XJGAAJG5H cp-all-in-one %
Any ideas?
The text was updated successfully, but these errors were encountered:
Currently trying to follow the Quick Start gude https://docs.confluent.io/5.1.4/quickstart/ce-docker-quickstart.html#ce-docker-quickstart
When trying to build the container I'm getting the following:
MacOS Catalina (10.15.7). corporate build (i.e. I don't have admin)
Docker Version 18.06.1-ce-mac73 (26764)
I've also tried
% docker-compose build --no-cache connect
as was suggested in a similar issue ticket but for an earlier release. Same result.I also tried editing the Dockerfile and removed the --noprompt flag on step 3, and got the following output - it may be a "red herring" but there's an option that gets displayed neither option is selected:
Any ideas?
The text was updated successfully, but these errors were encountered: