I have OSRM (node-osrm) set up locally and it produces correct results for routes on the server. However, when I request routes from it via leaflet routing machine I get the following error in the browser:
leaflet-routing-machine.js:2605 Routing error: Object {status: undefined}status: undefined__proto__: ObjectdefaultErrorHandler
@ leaflet-routing-machine.js:2605fire
@ leaflet-src.js:588(anonymous function)
@ leaflet-routing-machine.js:2900_routeDone
@ leaflet-routing-machine.js:4693(anonymous function)
@ leaflet-routing-machine.js:4645loaded
@ leaflet-routing-machine.js:46
The app works with the mapbox router and the response looks slight different (different order).