I try to connect my aws msk which is in private vpc with msk connector to my cloud.elastic.io elasticsearch. MSK cluster and elastic.io are in same region us-west-2
I use https://www.confluent.io/hub/confluentinc/kafka-connect-elasticsearch but always get error
The connector configuration is invalid. Message: Connector configuration is invalid and contains the following 4 error(s): Could not connect to Elasticsearch. Error message: java.util.concurrent.ExecutionException: java.net.ConnectException
connection.url/password/username are correct I checked them multiple times.
Also I'm able to do connection from https://confluent.io/ but not from aws msk connector.
I tried to use default vpc and create a msk cluster but it also didn't work.