Skip to content

[Bug] Geocoder Test fails despite the config is correct #926

@michelwilson

Description

@michelwilson

I'm running Reitti using docker-compose, and I also run Paikka using the same compose file. Using a shell in the Reitti container, I can access my Paikka instance:

$ docker exec -it reitti-reitti-1 sh
/app # curl 'http://paikka:8080/api/v1/reverse?lat=48.8584&lon=2.2945&limit=5'
{"metadata":{"importTimestamp":"2026-04-16T19:24:06.933418124Z","file":"netherlands-latest-filtered.osm.pbf","paikkaVersion":"1.0.0","dataVersion":"20260416-192406","gridLevel":12},"query":{"lon":2.2945,"lat":48.8584,"lang":"en","limit":5},"count":0,"results":[],"dataSources":{"OpenStreetMap":"https://openstreetmap.org/copyright"}}

Entering http://paikka:8080 as base url in a new geocoding instance and testing it, I only get a red popup saying "Test Failed: Failed to call geocoding service: TMP". I tried increasing logging to the trace level on the com.dedicatedcode.reitti.service.geocoding package gives me no additional information about why this isn't working. I believe the container and networking are configured correctly, otherwise curl would give an error instead of a json reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions