Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"status":207 ("status_message": "Cannot find route between points") #688

Closed
ArGeBre opened this issue Jul 30, 2013 · 25 comments
Closed

"status":207 ("status_message": "Cannot find route between points") #688

ArGeBre opened this issue Jul 30, 2013 · 25 comments

Comments

@ArGeBre
Copy link

ArGeBre commented Jul 30, 2013

Hi,
I compiled a very recent version of OSRM (July 23rd) and ran it with an even more recent Geofabrik download of Germany. Everything works fine (build from source, osrm-extract, osrm-prepare, osrm-routed with nearest and locate queries. However all viaroute queries result in status 207 no matter which points I try - even a route between identical points, which I believe should result in a status 0.
My system is a Debian "wheezy" 64 bit:
Linux osrm 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
Any ideas?
Arne

@DennisOSRM
Copy link
Collaborator

Check server.ini. What does the log say?

@ArGeBre
Copy link
Author

ArGeBre commented Jul 30, 2013

server.ini:
Threads = 8
IP = 192.168.10.14
Port = 5000

hsgrData=/images/.osrm-maps/germany-20130730.osrm.hsgr
nodesData=/images/.osrm-maps/germany-20130730.osrm.nodes
edgesData=/images/.osrm-maps/germany-20130730.osrm.edges
ramIndex=/images/.osrm-maps/germany-20130730.osrm.ramIndex
fileIndex=/images/.osrm-maps/germany-20130730.osrm.fileIndex
namesData=/images/.osrm-maps/germany-20130730.osrm.names
timestamp=/images/.osrm-maps/germany-20130730.osrm.timestamp

osrm-routed log (console):
[? /srv/osrm/source/Project-OSRM/routed.cpp:71] Process ./osrm-routedcould not be locked to RAM

[server] starting up engines, saved at Tue Jul 23 11:48:55 2013
[server] http 1.1 compression handled by zlib version 1.2.7
[i /srv/osrm/source/Project-OSRM/Server/DataStructures/QueryObjectsStorage.cpp:34] loading graph data
[i /srv/osrm/source/Project-OSRM/Server/DataStructures/QueryObjectsStorage.cpp:47] Data checksum is 1254380133
[i /srv/osrm/source/Project-OSRM/Server/DataStructures/QueryObjectsStorage.cpp:53] Loading Timestamp
[i /srv/osrm/source/Project-OSRM/Server/DataStructures/QueryObjectsStorage.cpp:65] Loading auxiliary information
[i /srv/osrm/source/Project-OSRM/Server/DataStructures/QueryObjectsStorage.cpp:75] Loading names index
[i /srv/osrm/source/Project-OSRM/Server/DataStructures/QueryObjectsStorage.cpp:93] All query data structures loaded
[handler] registering plugin hello
[handler] registering plugin locate
[handler] registering plugin nearest
[handler] registering plugin timestamp
[handler] registering plugin viaroute
[server] running and waiting for requests
[...]
[i /srv/osrm/source/Project-OSRM/Server/RequestHandler.h:65] 30-07-2013 11:45:45 192.168.10.254 - Lynx/2.8.8dev.12 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/2.12.18 /nearest?loc=53.0853143,8.8319732
[i /srv/osrm/source/Project-OSRM/Server/RequestHandler.h:65] 30-07-2013 11:46:03 192.168.10.254 - Lynx/2.8.8dev.12 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/2.12.18 /locate?loc=53.0853143,8.8319732
[i /srv/osrm/source/Project-OSRM/Server/RequestHandler.h:65] 30-07-2013 11:46:48 192.168.10.254 - Lynx/2.8.8dev.12 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/2.12.18 /viaroute?loc=53.08531,8.83197&loc=53.08531,8.83197&instructions=true

All looks OK...

@ArGeBre
Copy link
Author

ArGeBre commented Jul 30, 2013

Hi again,
in order to double-check I downloaded a subset of the German map (Niedersachsen) and tried again and guess what - it worked! Then I re-build the map of Germany and got the same error (message status 207)

My test case:
/nearest?loc=53.0853143,8.8319732 (works with boths maps)
/nearest?loc=53.1452964,8.1786671 (works with boths maps)
/viaroute?loc=53.08531,8.83197&loc=53.14529,8.17866&instructions=true (works only with Niedersachsen)

Any help appreciated...
Arne

@ArGeBre
Copy link
Author

ArGeBre commented Aug 5, 2013

Any news on this issue?

Arne

Am 30.07.2013 14:43, schrieb Dennis Luxen:

Check server.ini. What does the log say?


Reply to this email directly or view it on GitHub
#688 (comment).

@DennisOSRM
Copy link
Collaborator

Are you running on real hardware or a VM?

@ArGeBre
Copy link
Author

ArGeBre commented Aug 5, 2013

On real hardware - host to a number of VMs but not under load (load
average: 0,11, 0,16, 0,17) with 16 GB RAM...

Am 05.08.2013 17:00, schrieb Dennis Luxen:

Are you running on real hardware or a VM?


Reply to this email directly or view it on GitHub
#688 (comment).

@DennisOSRM
Copy link
Collaborator

what does df -h say?

@ArGeBre
Copy link
Author

ArGeBre commented Aug 6, 2013

root@krake:~# df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
rootfs 957M 234M 724M 25% /
udev 10M 0 10M 0% /dev
tmpfs 1,6G 464K 1,6G 1% /run
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,9G 0 3,9G 0% /run/shm
/dev/md1 957M 33M 925M 4% /tmp
/dev/md2 9,4G 1019M 8,4G 11% /usr
/dev/md3 3,8G 280M 3,5G 8% /var
/dev/md5 94G 849M 93G 1% /var/lib/postgresql
/dev/md4 3,8G 33M 3,7G 1% /home
/dev/md10 94G 3,5G 90G 4% /kvmswaps
/dev/md11 94G 17G 77G 18% /images
/dev/md12 90G 25G 66G 28% /pgbackups

@ArGeBre
Copy link
Author

ArGeBre commented Aug 6, 2013

I just re-compiled in DEBUG mode and when starting osrm-routed I get end
endless stream of error messages with the German map:

[d
/srv/osrm/source/Project-OSRM_20130723/Server/DataStructures/../../DataStructures/StaticGraph.h:103]
cannot find first segment of edge (854392,854389,853533)
[d
/srv/osrm/source/Project-OSRM_20130723/Server/DataStructures/../../DataStructures/StaticGraph.h:108]
cannot find second segment of edge (854392,854389,853533)
[d
/srv/osrm/source/Project-OSRM_20130723/Server/DataStructures/../../DataStructures/StaticGraph.h:103]
cannot find first segment of edge (854392,32789631,32789647)
[d
/srv/osrm/source/Project-OSRM_20130723/Server/DataStructures/../../DataStructures/StaticGraph.h:108]
cannot find second segment of edge (854392,32789631,32789647)
[d
/srv/osrm/source/Project-OSRM_20130723/Server/DataStructures/../../DataStructures/StaticGraph.h:103]
cannot find first segment of edge (854397,854399,944732)
[d
/srv/osrm/source/Project-OSRM_20130723/Server/DataStructures/../../DataStructures/StaticGraph.h:108]
cannot find second segment of edge (854397,854399,944732)
...

Not so with the Niedersachsen map

@DennisOSRM
Copy link
Collaborator

This makes sense, it basicaly says that your data file is broken. It looks like the free space under /tmp was full when the file was preprocessed.

@emiltin
Copy link
Contributor

emiltin commented Aug 6, 2013

it would be good if osrm would output a meaningful error message if it runs out of disk space, and delete any half-baked output files?

@ArGeBre
Copy link
Author

ArGeBre commented Aug 6, 2013

Agreed!
And it would be helpful to be able to specify an alternative location
for temp files. My /tmp partition is 1GB an 100% full when running the
osrm-prepare command. The temp filename is dynamic so I cannot even use
a soft link to point someplace else...

@DennisOSRM
Copy link
Collaborator

@ArGeBre good point. Will implement a more safer way to store temporary data.

@ArGeBre
Copy link
Author

ArGeBre commented Nov 8, 2013

Wonderful! My test runs had come to a halt because of that. Looking
forward to a new version...
Arne

@ArGeBre
Copy link
Author

ArGeBre commented Apr 9, 2014

Hi, any progress on this issue? Just downloaded fresh git clone and was planning to give it another try...

@DennisOSRM
Copy link
Collaborator

OTOH, i think this was implemented like 3 months ago with this guy:
https://github.com/DennisOSRM/Project-OSRM/blob/master/Contractor/TemporaryStorage.h#L81

@DennisOSRM
Copy link
Collaborator

Found it, it's done with #801

@MarioMobile
Copy link

hi
I get the error on some routes on my old and on my new server - so now I tried the demo-Server
http://router.project-osrm.org/viaroute?loc=47.2811722,11.5278353803541&loc=47.1581976694319,11.7305527936659&output=json&alt=false
also returns 'Cannot find route between points', status 207
regards

@Smarre
Copy link

Smarre commented Nov 26, 2014

I can confirm same as @MarioMobile, with http://router.project-osrm.org/viaroute?loc=60.25486045,24.8686498668678&loc=60.26287425,24.8527709929466

Funnily, the routing works with the web frontend, guess I’ll dig into how that does it.

@Smarre
Copy link

Smarre commented Nov 26, 2014

Okay, it seems thatthe web ui fails too, but it behaves differently. Note, that this is git version, I’m using.

@DennisOSRM
Copy link
Collaborator

There's plenty of unconnected roads in that area, @Smarre. All the purple spots are badly connected and it is not possible to go from one unconnected piece to another.

bildschirmfoto 2014-11-26 um 16 24 35

@Smarre
Copy link

Smarre commented Nov 27, 2014

Okay, it’s strange, since Google Maps gives does give me a route. Also, this kind of routing used to work in past; I think with git build like 1 year ago or so.
googlemaps1

@DennisOSRM
Copy link
Collaborator

As mentioned above, it is a data issue with all the unconnected roads lying around.

@ArGeBre
Copy link
Author

ArGeBre commented Nov 27, 2014

Hi guys,

my original post referred to an "Cannot find route between points"
message caused by a silent error that occurred while building the
network (/tmp partition too small).

Maybe move this topic to a new thread?

Cheers,
Arne

Am 27.11.2014 10:40, schrieb Smarre:

Okay, it’s strange, since Google Maps gives does give me a route.
Also, this kind of routing used to work in past; I think with git
build like 1 year ago or so.
googlemaps1
https://cloud.githubusercontent.com/assets/1035375/5214843/07fe2134-762a-11e4-8ac3-dbed64d9e701.png


Reply to this email directly or view it on GitHub
#688 (comment).

@Smarre
Copy link

Smarre commented Nov 27, 2014

@ArGeBre: that’s okay for me, but I won’t do anything, if @DennisOSRM thinks there is nothing to fix. Myself, I don’t really understand why the routing should fail, there’s road close enough to the point; there is a house which Nominatim converted the address to coordinates, to the coordinates here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants