confluentinc/kafka-connect-datagen

cant download connector on virtual machine

counter2015 opened this issue · 3 comments

[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.

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

rmoff commented

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?

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.