Connection between locations not found when using Generic Weighting

Hello everyone. I’m trying to create a generic profile, but when i upload osm data and make request - i get error: “message”:“Connection between locations not found”,“hints”:[{“message”:“Connection between locations not found”,“details”:“com.graphhopper.util.exceptions.ConnectionNotFoundException”}]}. But I’m pretty shure that it has no deal with map graph, because if i use car profile - everything is ok.

My config is:

graph.flag_encoders: generic
graph.encoded_values: road_class,road_class_link,road_environment,max_speed,road_access,surface,max_width,max_height,max_weight,max_axle_load,max_length,toll,track_type
graph.bytes_for_flags: 12 generic off
prepare.min_network_size: 300
prepare.min_one_way_network_size: 300
routing.non_ch.max_waypoint_distance: 1000000
graph.dataaccess: RAM_STORE


  • type: http
    port: 8989
    bindHost: localhost
    appenders: []
  • type: http
    port: 8990
    bindHost: localhost
  • type: file
    timeZone: UTC
    currentLogFilename: logs/graphhopper.log
    logFormat: “%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n”
    archive: true
    archivedLogFilenamePattern: ./logs/graphhopper-%d.log.gz
    archivedFileCount: 30
    neverBlock: true
  • type: console
    timeZone: UTC
    logFormat: “%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n”

Any ideas? Thanks for help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.