StatusCode: 500reporting

{“error”:“Unable to process GET request to elasticsearch URL ‘’. Elasticsearch is not reachable, probably because it’s not running or even installed.\n\nResponse:\n#\u003cUserAgent::Result:0x000055d31ff6ea58 @success=false, @body=nil, @data=nil, @code=0, @content_type=nil, @error=”#\u003cErrno::ECONNREFUSED: Failed to open TCP connection to (Connection refused - connect(2) for \“\” port 9200)\u003e"\u003e\n\nPayload:\n{“query”:{“bool”:{“must”:[{“range”:{“created_at”:{“from”:“2019-12-31T18:30:00Z”,“to”:“2020-12-31T18:29:59Z”}}}],“must_not”:[{“term”:{“state.keyword”:“merged”}}]}},“size”:0,“aggs”:{“time_buckets”:{“date_histogram”:{“field”:“created_at”,“interval”:“month”,“time_zone”:“Asia/Calcutta”}}},“sort”:[{“updated_at”:{“order”:“desc”}},"_score"]}\n\nPayload size: 0M"}

I have checked the same elastic services are running & Zammad services are also running.

It seems it tries to connect on a public ip ( Maybe the firewall is blocking port 9200.
Also it’s not really a good idea to run ElasticSearch on a public address/port, since standard no authorization is required.

1 Like

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