# Need shorter Elasticsearch endpoint URL

**URL:** <https://discuss.elastic.co/t/need-shorter-elasticsearch-endpoint-url/178771>\
**Category:** Elasticsearch\
**Created:** [April 27, 2019, 11:35pm UTC](https://discuss.elastic.co/t/need-shorter-elasticsearch-endpoint-url/178771 "2019-04-27T23:35:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpmccallum](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tpmccallum/32/40499_2.png) [@tpmccallum](https://discuss.elastic.co/u/tpmccallum)\
**Post date:** [April 27, 2019, 11:35pm UTC](https://discuss.elastic.co/t/need-shorter-elasticsearch-endpoint-url/178771/1 "2019-04-27T23:35:58Z")

</div>

I am getting the following error when using Amazon Elasticsearch

`UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)`

The Amazon Endpoint URL is super long and I believe that this is the cause i.e.  
Endpoint: [https://search-smart-contract-search-engine-cdul1234567890ularygq62khi.ap-southeast-2.es.amazonaws.com/](https://search-smart-contract-search-engine-cdul1234567890ularygq62khi.ap-southeast-2.es.amazonaws.com/)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 28, 2019, 1:37am UTC](https://discuss.elastic.co/t/need-shorter-elasticsearch-endpoint-url/178771/2 "2019-04-28T01:37:43Z")

</div>

Not sure about what do you mean. Where do you see this message ?  
What is your question?

BTW did you look at [https://www.elastic.co/cloud](https://www.elastic.co/cloud) and [https://aws.amazon.com/marketplace/pp/B01N6YCISK](https://aws.amazon.com/marketplace/pp/B01N6YCISK) ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI and what is coming next 🙂 ...

---

<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:** [May 26, 2019, 1:37am UTC](https://discuss.elastic.co/t/need-shorter-elasticsearch-endpoint-url/178771/3 "2019-05-26T01:37:57Z")

</div>

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