Unexpected error for curbside

When processing the following request:

{
	"configuration": {
		"routing": {
			"calc_points": true,
			"consider_traffic": false,
			"fail_fast": true,
			"network_data_provider": "openstreetmap",
			"return_snapped_waypoints": true,
			"snap_preventions": [
				"motorway",
				"tunnel",
				"ferry"
			],
			"curbside_strictness": "soft"
		}
	},
	"objectives": [
		{
			"type": "min",
			"value": "completion_time"
		}
	],
	"relations": [],
	"services": [
		{
			"address": {
				"curbside": "right",
				"lat": 28.772119,
				"location_id": "1CB79E06-7820-4CF6-9984-62DEBC41F244",
				"lon": -81.6048149,
				"name": "5077 Tanzanite Drive"
			},
			"duration": 60,
			"group": "medium",
			"id": "1CB79E06-7820-4CF6-9984-62DEBC41F244",
			"name": "5077 Tanzanite Drive",
			"time_windows": []
		}
	],
	"vehicle_types": [
		{
			"profile": "car",
			"speed_factor": 1,
			"type_id": "vhc_EjJr4oRwo3huUiGKth1CCrp7iEs2"
		}
	],
	"vehicles": [
		{
			"earliest_start": 1639659600,
			"return_to_depot": true,
			"start_address": {
				"lat": 28.5541614,
				"location_id": "01776A68-3786-4D3B-8EC6-DA6CF46A47BD",
				"lon": -81.5653466,
				"name": "902 Carter Rd"
			},
			"type_id": "vhc_EjJr4oRwo3huUiGKth1CCrp7iEs2",
			"vehicle_id": "EjJr4oRwo3huUiGKth1CCrp7iEs2"
		}
	]
}

We get the following error:

{
	"message": "Cannot retrieve costs from matrix service",
	"status": "finished"
}

This seems to be related to the curbside provided to the service. Swap it to any and the route optimizes correctly, it also seems to be specific to this location as we have successfully optimized with curbside on other routes. Given that we’ve set curbside_strictness: soft we’d expect it to ignore the curbside if it couldn’t meet the requirements.

Also I’m assuming it’s related but if we pass fail_fast: false instead then we get an internal server error returned.

{
	"message": "Internal Server Error",
	"status": "finished"
}

Thanks for the report. We are working on a fix for this. This is the corresponding issue: https://github.com/graphhopper/graphhopper/issues/2502