# Logstash getting response code 500

**URL:** <https://discuss.elastic.co/t/logstash-getting-response-code-500/175610>\
**Category:** Logstash\
**Created:** [April 5, 2019, 2:03pm UTC](https://discuss.elastic.co/t/logstash-getting-response-code-500/175610 "2019-04-05T14:03:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeevan\_jena](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeevan_jena/32/43570_2.png) [@jeevan\_jena](https://discuss.elastic.co/u/jeevan_jena)\
**Post date:** [April 5, 2019, 2:03pm UTC](https://discuss.elastic.co/t/logstash-getting-response-code-500/175610/1 "2019-04-05T14:03:43Z")

</div>

Hi I have configured the elastic URL and and the URL on its own opens in the browser also. But when i run my image in the docker terminal I get a 500,

[2019-04-05T13:57:30,506][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[https://XXXX.com:443/](https://XXXX.com:443/)", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=\>"Got response code '500' contacting Elasticsearch at URL '[https://XXXX.com:443/](https://XXXX.com:443/)'"}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 5, 2019, 3:18pm UTC](https://discuss.elastic.co/t/logstash-getting-response-code-500/175610/2 "2019-04-05T15:18:15Z")

</div>

What error do you get in the elasticsearch logs?

---

<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 3, 2019, 3:18pm UTC](https://discuss.elastic.co/t/logstash-getting-response-code-500/175610/3 "2019-05-03T15:18:21Z")

</div>

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