openrouteservice icon indicating copy to clipboard operation
openrouteservice copied to clipboard

Getting Error 500 while calculing Isochrones

Open 6CRIPT opened this issue 7 months ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Where did you encounter this issue?

self-hosted instance

Request URL

http://localhost:8080/ors/v2/isochrones/driving-car

POST Request Body

body = {
        "locations": [[request.long, request.lat]],
        "range": request.range
    }

Response

Error HTTP al llamar a ORS: Server error '500 ' for url 'http://localhost:8080/ors/v2/isochrones/driving-car' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500

Current behavior

I have followed the instructions to use a local instance of ORS using docker ( http://giscience.github.io/openrouteservice/run-instance/running-with-docker ) and when running my docker, I try to call the local API which is successfully running on port 8080 but get a 500 Error. I tried to download a .osm.bsf file and putting it into the files folder, then writting "environment: REBUILD_GRAPHS: "true" "

and "volumes:

  • ./ors-docker:/home/ors "

on the docker-compose.yaml file.

I do not have too much experience with docker ner ORS so I do not really know what this could do but was recommended by ChatGPT.

However I get the 500 Error.

Expected behavior

Get my isochrones as usual like when using the open online API.

Openrouteservice Version

latest

Build date

No response

Graph date

No response

Forum Topic Link

No response

6CRIPT avatar May 26 '25 23:05 6CRIPT