Replies: 2 comments 1 reply
-
First of all, make sure that your installation finished properly by running If that works out fine, run the query locally: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. This is my output: `nominatim@nominatim: Debug output for forward_lookup()Parameters: [2025-02-20 14:00:26.141346] Analyze query (using ICU tokenizer)Normalized query: Transliterated query: [2025-02-20 14:00:26.141750] Word tokens:| type | token | word_token | lookup_word | penalty | count | info || WORD | 20738 | ben | bèn | 0.3333333333333333 | 2 | {'count': 2} |
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When i execute
curl -v "https://nominatim.mydomain.tld/nominatim/search?format=geocodejson&limit=1&addressdetails=1&country=PL&city=Ben&street=Ben+7&postalcode="
if receive
`* Trying 1.2.3.4:443...
< HTTP/2 503
< server: nginx
< date: Thu, 20 Feb 2025 13:20:06 GMT
< content-type: text/plain; charset=utf-8
< content-length: 31
<
Query took too long to process.
`
The postgres-log shows
2025-02-20 13:00:56.790 UTC [13388] www-data@nominatim ERROR: canceling statement due to user request 2025-02-20 13:00:56.790 UTC [13388] www-data@nominatim STATEMENT: SELECT placex.place_id, placex.osm_type, placex.osm_id, placex.name, placex.class, placex.type, placex.address, placex.extratags, placex.housenumber, placex.postcode, placex.country_code, placex.wikipedia, placex.parent_place_id, placex.rank_address, placex.rank_search, placex.linked_place_id, placex.admin_level, ST_AsEWKB(placex.centroid) AS centroid, ST_AsEWKB(ST_Expand(placex.geometry, $1::INTEGER)) AS bbox, placex.importance, $2 + weigh_search(search_name.nameaddress_vector, $3::VARCHAR, $4) + weigh_search(search_name.nameaddress_vector, $5::VARCHAR, $6) AS accuracy FROM placex, search_name WHERE placex.place_id = search_name.place_id AND (search_name.name_vector && $7::INTEGER[]) AND (search_name.nameaddress_vector @> $8::INTEGER[]) AND search_name.country_code IN ($9::VARCHAR) AND placex.linked_place_id IS NULL AND placex.indexed_status = $10::SMALLINT AND (search_name.address_rank >= $11::SMALLINT OR search_name.search_rank >= $11::SMALLINT) LIMIT $12
The api returns http code 503.
I use the api over nginx behind another nginx reverse proxy.
How to debug this?
Beta Was this translation helpful? Give feedback.
All reactions