# Error\_message: 500

**URL:** https://ask.openrouteservice.org/t/error-message-500/1047
**Category:** openpoiservice
**Created:** [November 1, 2019, 12:30am UTC](https://ask.openrouteservice.org/t/error-message-500/1047 "2019-11-01T00:30:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Luis\_Zurutuza](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/l/d07c76/32.png) [@Luis\_Zurutuza](https://ask.openrouteservice.org/u/Luis_Zurutuza)
#### Post date: [November 1, 2019, 12:30am UTC](https://ask.openrouteservice.org/t/error-message-500/1047/1 "2019-11-01T00:30:34Z")

</div>

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](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](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](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.-

---

<div class="post-metadata">

### Author: ![amandus](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/amandus/32/669_2.png) [@amandus](https://ask.openrouteservice.org/u/amandus)
#### Post date: [November 18, 2019, 9:25am UTC](https://ask.openrouteservice.org/t/error-message-500/1047/2 "2019-11-18T09:25:50Z")

</div>

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
