confluentinc / kafka-connect-datagen

Connector that generates data for demos
Apache License 2.0
20 stars 87 forks source link

cant download connector on virtual machine #9

Closed counter2015 closed 6 years ago

counter2015 commented 6 years ago
[root@mycentos confluent]# confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:0.1.0
Running in a "--no-prompt" mode 
Implicit acceptance of the license below:  
The Apache License, Version 2.0 
https://www.apache.org/licenses/LICENSE-2.0 
Downloading component Kafka Connect Datagen 0.1.0, provided by Confluent, Inc. from Confluent Hub and installing into /root/bin/confluent-5.0.1/share/confluent-hub-components 
Implicit confirmation of the question: Do you want to uninstall existing version 0.1.0? 
java.net.SocketException: Connection reset 

Error: Unknown error

Environment:the virtual machine can access google from firefox, and I use VMware workstation, the os is centos7. Is there any way to download it on my virtual machine?

thank you.

counter2015 commented 6 years ago

ok, After many times of retries and it worked, plz delete it.

rmoff commented 6 years ago

Hi @counter2015, just to help us troubleshoot this for others in the future, can you describe how your host machine is connected to the internet? is there a web proxy, for example?

counter2015 commented 6 years ago

Yes, I use socks proxy, and my virutal machine use NAT to connect to host machine, and java version is 1.8.0_191. Moreover I had tried switch the status of my VPN software but it didn't work (for download the connector). I don't know why it worked after that time.