# JDBC sql server

**URL:** <https://discuss.elastic.co/t/jdbc-sql-server/163773>\
**Category:** Logstash\
**Created:** [January 10, 2019, 3:43pm UTC](https://discuss.elastic.co/t/jdbc-sql-server/163773 "2019-01-10T15:43:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Costi](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@Costi](https://discuss.elastic.co/u/Costi)\
**Post date:** [January 10, 2019, 3:43pm UTC](https://discuss.elastic.co/t/jdbc-sql-server/163773/1 "2019-01-10T15:43:37Z")

</div>

Hi!

I am using jdbc to connect to sql server and to query a table to index the data in elasticsearch. When i run from logstash a get the following error: An unknown error occurred sending a bulk request to Elasticsearch. We will retry indefinitely {:error\_message=\>""\xD1" from ASCII-8BIT to UTF-8", :error\_class=\>"LogStash::Json::GeneratorError", :backtrace=\>["C:/logstash-6.5.1/logstash-6.5.1/logstash-core/lib/logstash/json.rb:27:in `jruby\_dump'"

Does anyone have an ideea?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 7, 2019, 3:43pm UTC](https://discuss.elastic.co/t/jdbc-sql-server/163773/2 "2019-02-07T15:43:43Z")

</div>

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