Error while fetching graphs and stats on cdr.link
When visiting https://tor-temporary.cdr.link/#report, I am running into the following error while trying to fetch the graphs and statistics.
StatusCode: 500
Unable to process GET request to elasticsearch URL 'http://zammad-elasticsearch:9200/zammad_production_ticket/_search'. Elasticsearch is not reachable. It's possible that it's not running. Please check whether it is installed.
Response:
#<UserAgent::Result:0x0000766e363321e0 @success=false, @body=nil, @data=nil, @code=0, @content_type=nil, @error="#<Errno::ECONNREFUSED: Failed to open TCP connection to zammad-elasticsearch:9200 (Connection refused - connect(2) for \"zammad-elasticsearch\" port 9200)>", @header=nil>
Payload:
{"query":{"bool":{"must":[{"range":{"created_at":{"from":"2022-01-01T00:00:00Z","to":"2022-12-31T23:59:59Z"}}}],"must_not":[{"term":{"state.name.keyword":"merged"}}]}},"size":0,"aggs":{"time_buckets":{"date_histogram":{"field":"created_at","calendar_interval":"month","time_zone":"UTC"}}},"sort":[{"updated_at":{"order":"desc"}},"_score"]}
Payload size: 0M
@irl, hi! can you please have a look? Thank you :)