Routes not found with GraphHopper on openstreetmap.org?

Couldn’t find a route between those two places

Works for me.

Hm strange, for me it also works when I open a new private window in Firefox or use Chrome. But in my (non-private) Firefox window it does not (even when I open a new one).

Did you delete cache and cookies? Maybe an old js file or something?

Yes but that did not help. It seems to be a CORS issue:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://graphhopper.com/api/1/route?vehicle=car&locale=en&ke…&instructions=true&point=51.529%2C9.078&point=50.927%2C8.502. (Reason: CORS request did not succeed).

But I do not understand why this is not a problem in the private window. Using Firefox 77.0.1.

It seems we send out a (wrong) CORS issue when errors happen (we seem to miss the CORS header in the error message in our load balancer). So it also could be something else. E.g. there is a limit per IP for openstreetmap.org and graphhopper.com/maps and this could produce an error. But that it works in a private window is a bit strange as it should have no influence on our per-IP limit.

Powered by Discourse