Error_message: 500


#1

Hello!
I have my own installation of OpenPOIService as a docker container… I am running Linux Ubuntu Server 18.04.
Container at port 5000 is working OK. Also postgresql database is working ok in another container. I can access from one container to the other container (for example using postgresql client, I get access to database in postgresql container, I can execute SQL queries, etc…). Communication between dockers its ok, and database access is ok.
I can import data from differents osm pbf files.

But when I try to execute the examples, I get:
{
“error_message”: 500
}
Only 1 example is working:

curl -X POST http://localhost:5000/pois -H ‘content-type: application/json’ -d ‘{
“request”: “list” }’

Any other example does not work…

From host:
curl -X POST ‘http://localhost:5000/pois’ -H ‘Content-Type: application/json’ -H ‘Accept: application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8’ -d ‘{“request”:“pois”,“geometry”:{“bbox”:[[8.8034,53.0756],[8.7834,53.0456]],“geojson”:{“type”:“Point”,“coordinates”:[8.8034,53.0756]},“buffer”:200}}’
{
“error_message”: 500
}

curl -X POST
http://localhost:5000/pois
-H ‘Content-Type: application/json’
-d ‘{
“request”: “stats”,
“geometry”: {
“bbox”: [
[8.8034, 53.0756],
[8.7834, 53.0456]
],
“geojson”: {
“type”: “Point”,
“coordinates”: [8.8034, 53.0756]
},
“buffer”: 100
}
}’

{
“error_message”: 500
}

I try to use different hostnames: localhost, ipaddress, DNS name…
I also executed differents examples at the host and inside the container. But always get the same error…

Any idea what I could do?

Thanks in advance,
Luis.-


#2

Hi @Luis_Zurutuza,

We currently don’t have anyone working on the openpoiservice package.
You could take a look at the logs and see what the actual problem is.

best regards