{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/cp-docker-images/issues/654","repository_url":"https://api.github.com/repos/confluentinc/cp-docker-images","labels_url":"https://api.github.com/repos/confluentinc/cp-docker-images/issues/654/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/cp-docker-images/issues/654/comments","events_url":"https://api.github.com/repos/confluentinc/cp-docker-images/issues/654/events","html_url":"https://github.com/confluentinc/cp-docker-images/issues/654","id":392380014,"node_id":"MDU6SXNzdWUzOTIzODAwMTQ=","number":654,"title":"Unable to install kafka-connect-datagen:0.1.0 ","user":{"login":"mstolin","id":1873375,"node_id":"MDQ6VXNlcjE4NzMzNzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1873375?v=4","gravatar_id":"","url":"https://api.github.com/users/mstolin","html_url":"https://github.com/mstolin","followers_url":"https://api.github.com/users/mstolin/followers","following_url":"https://api.github.com/users/mstolin/following{/other_user}","gists_url":"https://api.github.com/users/mstolin/gists{/gist_id}","starred_url":"https://api.github.com/users/mstolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstolin/subscriptions","organizations_url":"https://api.github.com/users/mstolin/orgs","repos_url":"https://api.github.com/users/mstolin/repos","events_url":"https://api.github.com/users/mstolin/events{/privacy}","received_events_url":"https://api.github.com/users/mstolin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-12-18T23:32:29Z","updated_at":"2019-01-03T19:32:09Z","closed_at":null,"author_association":"NONE","body":"After running `docker-compose up -d` in `examples/cp-all-in-one` i get the following error:\r\n```\r\n$ docker-compose up -d\r\nBuilding connect\r\nDownloading context: https://github.com/confluentinc/kafka-connect-datagen/raw/master/Dockerfile-confluenthub     778B\r\nStep 1/3 : FROM confluentinc/cp-kafka-connect:5.0.0\r\n ---> 7df8759460f7\r\nStep 2/3 : ENV CONNECT_PLUGIN_PATH=\"/usr/share/java,/usr/share/confluent-hub-components\"\r\n ---> Using cache\r\n ---> 54861200b09e\r\nStep 3/3 : RUN  confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:0.1.0\r\n ---> Running in e32e29b5eae7\r\nRunning in a \"--no-prompt\" mode \r\njava.net.UnknownHostException: api.hub.confluent.io \r\n \r\nError: Unknown error \r\nERROR: Service 'connect' failed to build: The command '/bin/sh -c confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:0.1.0' returned a non-zero code: 7\r\n```\r\n\r\nI was able to avoid this error after i set `connect` back to `image: confluentinc/cp-kafka-connect:5.0.0` ."},"comment":{"url":"https://api.github.com/repos/confluentinc/cp-docker-images/issues/comments/451251816","html_url":"https://github.com/confluentinc/cp-docker-images/issues/654#issuecomment-451251816","issue_url":"https://api.github.com/repos/confluentinc/cp-docker-images/issues/654","id":451251816,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTI1MTgxNg==","user":{"login":"ybyzek","id":12448600,"node_id":"MDQ6VXNlcjEyNDQ4NjAw","avatar_url":"https://avatars3.githubusercontent.com/u/12448600?v=4","gravatar_id":"","url":"https://api.github.com/users/ybyzek","html_url":"https://github.com/ybyzek","followers_url":"https://api.github.com/users/ybyzek/followers","following_url":"https://api.github.com/users/ybyzek/following{/other_user}","gists_url":"https://api.github.com/users/ybyzek/gists{/gist_id}","starred_url":"https://api.github.com/users/ybyzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybyzek/subscriptions","organizations_url":"https://api.github.com/users/ybyzek/orgs","repos_url":"https://api.github.com/users/ybyzek/repos","events_url":"https://api.github.com/users/ybyzek/events{/privacy}","received_events_url":"https://api.github.com/users/ybyzek/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T19:32:09Z","updated_at":"2019-01-03T19:32:09Z","author_association":"CONTRIBUTOR","body":"1. `ksql-datagen` and `kafka-connect-datagen` are NOT required to try out KSQL, but they are _helpful_ to produce data into Kafka topics, so that when you use KSQL, you will see actual data streaming in.  However, if you have another way to produce Kafka data, then you can ignore these errors and just generate your own data.\r\n\r\nBut, if you are relying on `ksql-datagen` or `kafka-connect-datagen` to generate data, then we need to proceed troubleshooting:\r\n\r\n2. If you are using the branch `5.1.0-post`, there should be no error about `monitoring-interceptors-5.0.1.jar` (note it is referencing version 5.0.1 instead of 5.1.0).  See the source here: https://github.com/confluentinc/cp-docker-images/blob/5.1.0-post/examples/cp-all-in-one/docker-compose.yml#L162 .  So that suggests you are not using the latest `5.1.0-post` branch.  Can you double check, perhaps try something like:\r\n\r\n```bash\r\ngit fetch\r\ngit checkout 5.1.0-post\r\ngit pull\r\n```\r\n\r\n3. Regarding the Confluent Hub connectivity error on `javax.net.ssl.SSLHandshakeException` , I wonder if this is a problem with Windows (which is unsupported with the confluent hub client).  And if you have the access, perhaps try on mac or linux."}}
{"actor":{"display_login":"ybyzek"}}