Elasticsearch failed

Submitted by cliffhanger@ga… on

Hi

I'm getting repeated fails when searching for specific butterfly species in Roxboroughshire and Pebbleshire.

The error reads;

'Elasticsearch query failed'

It doesn't happen for all.   Where it does work the results are wrong or incomplete 

Thanks

Comments

Submitted by Turftrawler on Fri, 25/07/2025 - 09:08

Permalink

I'm repeatedly getting this error over the last 3 days for a routine search that has always worked until now. Is there an issue here that is being fixed?

Submitted by CristianeForgiarini on Fri, 25/07/2025 - 11:10

Permalink

Hi, I spoke with one of the iRecord developers and he said: 'It’s just a generic error caused by any response from the code which handles Elasticsearch returning a response that is not OK. Reasons I’m aware of include timeouts (when server performance is poor due to load or slow code), or sometimes a search string with a special character (e.g. search for just a single “ character).'

He also mentioned they are constantly improving the system to reduce these types of warnings in iRecord. 

Submitted by Turftrawler on Fri, 25/07/2025 - 16:21

Permalink

Thing is, if I go into "Explore all records" and create a filter with say "What = Sorbus", selecting "Sorbus" from the drop-down menu it comes back instantly with two MessageBoxes saying  "Elasticsearch query failed". This happens on two different computers, with Bing and with Google. And I have been making such searches routinely for years, always successful until 3 days ago. My connection is "fast" according to the Which SpeedTest. Now, today, if I try to load a record it comes back with "Data could not be saved - Validation errors occurred ... An error occurred whilst validating the information ...More information ... in warehouse logs (2025-07-25 15.51.55) ... more information related to occurrence general ... [and] ...sample general ..."

I am suggesting maybe there is an issue somewhere. If it is at my end how do I make contact to get help solving it?

Hi Turftrawler, Querying "Sorbus" for "Explore all records" or "My records" works for me. If this continues can you send an email with a screenshot to irecord {at} ceh.ac.uk to allow us to further diagnose the problem. Thanks

Submitted by James Emerson on Fri, 25/07/2025 - 22:04

Permalink

I have the same issue, for the past few days whenever I try to search my records I get the Elasticsearch query failed box popup. I've emailed a screenshot.

Submitted by Giles King-Salter on Mon, 28/07/2025 - 12:12

Permalink

I am also getting the same pop-up error message "Elasticsearch query failed" on 'Explore All Records' when I try to filter by e.g. species, taxon group or vice county. I think it started at the end of last week, and it's the same today.

Submitted by nickebarber on Mon, 28/07/2025 - 13:01

Permalink

Hi Oli, I've been having the same issue for several days now. The Elasticsearch failure message pops up after inputting the first piece of data into the Explore All Records search.

Submitted by mforster321 on Mon, 28/07/2025 - 13:50

Permalink

Same problem for me, first noticed Friday 25th. If I create a search filter the Elasticsearch query failed message immediately pops up twice, and then at every subsequent move of the map to a new search location.  All new filters are so afflicted. 

I can add one additional characterisation. A named stored filter I created some months ago works as normal when applied. However, creating a new filter, storing it and applying that is not a workaround - the new stored filter suffers with the same problem.  To summarise: existing stored search filter still works, any and all new search filters, stored or transient,  fail.