Opendistro - kafka connect

Hi, im tyring to use kafka-connect with open distro, I’m using the es-sink-connector.
i get an erorr: java.lang.IllegalStateException: Not a JSON Object: "Unauthorized".
I’m using the admin user to access from the connector, but the same error.
i saw on few blogs that there is a problem to connect kafka-connect-es-sink and open-distro, is it true?
thanksss!

I haven’t heard that but from the documentation it seems like it should work - it certainly looks you’re not passing your credentials from the error message.

yes, it bit wired, that is the connector that i’m creating :
curl -X POST http://localhost:8083/connectors -H “Content-Type: application/json” -d ‘{
“name”: “simple-elasticsearch-connector2”,
“config”: {
“connector.class”: “io.confluent.connect.elasticsearch.ElasticsearchSinkConnector”,
“connection.url”: “http://od-master.internal:9200”,
“tasks.max”: “1”,
“topics”: “test”,
“key.ignore”: “true”,
“name”: “simple-elasticsearch-connector2”,
“connection.username”: “admin”,
“connection.password”: “admin”,
“value.converter”: “org.apache.kafka.connect.json.JsonConverter”,
“value.converter.schemas.enable”: “false”,
“schema.ignore”: “true”,
“type.name”: “_doc”
} }’

(my admin user is admin:admin)

“connection.url”: “http://od-master.internal:9200”,

Shouldn’t that be https?