# Error creating connection to Oracle

**URL:** <https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980>\
**Category:** Beats\
**Tags:** beats-module, metricbeat\
**Created:** [December 8, 2020, 11:32am UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980 "2020-12-08T11:32:59Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![jenssc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenssc/32/77950_2.png) [@jenssc](https://discuss.elastic.co/u/jenssc)\
**Post date:** [December 14, 2020, 1:17pm UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980/21 "2020-12-14T13:17:04Z")

</div>

... but I need to put the oracle:// in the host setting.

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [December 14, 2020, 1:57pm UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980/22 "2020-12-14T13:57:07Z")

</div>

Good to know 👍 Glad you got it working 🎉

---

<div class="post-metadata">

**Author:** ![jenssc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenssc/32/77950_2.png) [@jenssc](https://discuss.elastic.co/u/jenssc)\
**Post date:** [December 14, 2020, 2:20pm UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980/23 "2020-12-14T14:20:53Z")

</div>

Another minor issue - if you have a # in your password the connector can't build a correct connection.

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [December 14, 2020, 3:20pm UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980/24 "2020-12-14T15:20:34Z")

</div>

Hm, do you have any suspicion whether that's a problem when parsing the config or something within the Oracle connection library? If it's the former maybe it has to be quoted or escaped in yaml somehow.

---

<div class="post-metadata">

**Author:** ![jenssc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenssc/32/77950_2.png) [@jenssc](https://discuss.elastic.co/u/jenssc)\
**Post date:** [December 15, 2020, 6:24am UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980/25 "2020-12-15T06:24:06Z")

</div>

I'm pretty sure the problem is parsing the configuration since the connection string ends up looking really strange. I did try encoding it but that didn't seem to help anything.

---

<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:** [January 12, 2021, 6:24am UTC](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980/26 "2021-01-12T06:24:09Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/error-creating-connection-to-oracle/257980.md?page=1)
