Nitjsefni / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

Route is not calculated with OSMNavigator using OSRM Route Provider #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install OSMNavigator tool at official URL: 
http://osmbonuspack.googlecode.com/svn/BonusPackDownloads/OSMNavigator_v5.1.apk.
zip

2. Set OSRM Route provider;
3. Open the app and set start/end points.

What is the expected output? What do you see instead?

Expected: Route is shown in similar way like the app does with other route 
providers.

Current: "Technical issue when getting the route" toast is shown. No route is 
displayed - just straight line between two points.

What version of the products are you using (Android SDK, osmdroid,
OSMBonusPack)?

Android SDK 4.0.4
OSMDroid 4.2 and 4.3
OSMBonusPack 4.8 and 5.1

Please provide any additional information below.

When I run the following url from browser either on my PC or Phone device - 
"status" equals 0 in response (i.e. status is OK):

http://router.project-osrm.org/viaroute?&loc=50.470594,30.356403&loc=50.464033,3
0.359600999999998&instructions=true&alt=false

When I run the same request in my app - it returns 502 error code (Bad Gateway) 
and "status" equals 2.

Original issue reported on code.google.com by azhovnuv...@gmail.com on 26 Jan 2015 at 3:00

GoogleCodeExporter commented 9 years ago
I reproduce. 
I will investigate. 

Original comment by mathieu....@gmail.com on 26 Jan 2015 at 6:13

GoogleCodeExporter commented 9 years ago
I opened OSRM issue: https://github.com/Project-OSRM/osrm-backend/issues/1359

Original comment by mathieu....@gmail.com on 26 Jan 2015 at 9:23

GoogleCodeExporter commented 9 years ago
There was a regression in the OSRM http header parsing code. This has been 
fixed and should work fine again.

Original comment by dennis.l...@gmail.com on 27 Jan 2015 at 9:03

GoogleCodeExporter commented 9 years ago
I confirm: it works fine again. Thanks Dennis!

Original comment by mathieu....@gmail.com on 27 Jan 2015 at 10:05

GoogleCodeExporter commented 9 years ago
Fix is confirmed from my side too. Thanks!

Original comment by azhovnuv...@gmail.com on 27 Jan 2015 at 10:41