# Influxdb sink Connector Failed

**URL:** <https://forum.confluent.io/t/influxdb-sink-connector-failed/5929>\
**Category:** Kafka Connect\
**Created:** [31 August 2022 06:41 UTC](https://forum.confluent.io/t/influxdb-sink-connector-failed/5929 "2022-08-31T06:41:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijaluc](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@rijaluc](https://forum.confluent.io/u/rijaluc)\
**Post date:** [31 August 2022 06:41 UTC](https://forum.confluent.io/t/influxdb-sink-connector-failed/5929/1 "2022-08-31T06:41:37Z")

</div>

Hello all,

I have an issue with the configuration InfluxDB Connector  
The error is « Failed to connect [http://localhost:8086](http://localhost:8086) Connection refused  
can someone help me with this  
This is my configuration  
{  
“name”: “InfluxDBSinkConnectorConnector\_0”,  
“config”: {  
“name”: “InfluxDBSinkConnectorConnector\_0”,  
“connector.class”: “io.confluent.influxdb.InfluxDBSinkConnector”,  
“key.converter”: “org.apache.kafka.connect.storage.StringConverter”,  
“topics”: “telegraf”,  
“influxdb.url”: “[http://localhost:8086](http://localhost:8086)”,  
“influxdb.username”: “rijaluc”,  
“influxdb.password”: “\*\*\*\*\*\*\*\*\*\*”  
}  
}

---

<div class="post-metadata">

**Author:** ![gianlucanatali](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/gianlucanatali/32/302_2.png) [@gianlucanatali](https://forum.confluent.io/u/gianlucanatali)\
**Post date:** [2 September 2022 16:33 UTC](https://forum.confluent.io/t/influxdb-sink-connector-failed/5929/2 "2022-09-02T16:33:24Z")

</div>

Hi @rijaluc , maybe this reources will be helpful, you can start from this example from [kafka-docker-playground.io](https://kafka-docker-playground.io/#/content) and customize to your need:  
[connect-influxdb-sink](https://github.com/vdesabou/kafka-docker-playground/tree/master/connect/connect-influxdb-sink)

Let us know how it goes!

---

<div class="post-metadata">

**Author:** ![rijaluc](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@rijaluc](https://forum.confluent.io/u/rijaluc)\
**Post date:** [5 September 2022 12:57 UTC](https://forum.confluent.io/t/influxdb-sink-connector-failed/5929/3 "2022-09-05T12:57:46Z")

</div>

Hello @gianlucanatali thanks for your support

After checking it works fine, but it’s only works in Influxdb Version 1.x and **Influxdb V1. x does not support UI (user interface)**. So, Are there a solution to use it on Influxdb version 2.x?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [5 October 2022 12:58 UTC](https://forum.confluent.io/t/influxdb-sink-connector-failed/5929/4 "2022-10-05T12:58:37Z")

</div>

Closed on 5 October 2022 12:58 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
