perliedman / leaflet-routing-machine

Control for routing in Leaflet
https://www.liedman.net/leaflet-routing-machine/
Other
1.08k stars 350 forks source link

calculating the route caused an error. technical description follows: http request failed: error #579

Closed anirmukh closed 4 years ago

anirmukh commented 4 years ago

Routing Error

Hello,

I am trying to connect two points on the map using the routing control waypoints but it is not showing rather giving an error "Calculating the route caused an error. technical description follows: http request failed: error". Attached is the screen shot.

Is there any problem with the version which I am using.

Following is the source code. <!DOCTYPE html>

Leaflet Path
perliedman commented 4 years ago

Hi, most likely because OSRM's demo server is no longer operational, or at least not with HTTPS (see #574). Check your devtools network tab to see the actual error with the request.