Read Timed Out when loading bigger OSM files


#1

When loading Openrouteservice Docker with other OSM files bigger than the file provided on GitHub, I get the following error bellow:

ors-core     | 06-Dec-2018 16:03:30.910 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 17080`>`  ms
ors-core     | 06 Dec 16:03:31 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'data/new-brunswick-latest.osm' (1 threads) ...
ors-core     | 06 Dec 16:03:31 INFO [routing.RoutingProfileManager] -
ors-core     | 06 Dec 16:03:31 INFO [routing.RoutingProfileManager] -
ors-core     | 06 Dec 16:03:31 INFO [routing.RoutingProfileManager] - [1] Profiles: 'driving-car', location: 'data/graphs/vehicles-car'.
ors-core     | 06 Dec 16:04:33 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/new-brunswick-latest.osm, error: java.net.SocketTimeoutException: Read timed out
ors-core     | 06 Dec 16:04:33 INFO [routing.RoutingProfileManager] - [2] Profiles: 'driving-hgv', location: 'data/graphs/vehicles-hgv'.
ors-core     | java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/new-brunswick-latest.osm, error: java.net.SocketTimeoutException: Read timed out

#2

Hi @filipe-magellan - sorry for this late response - can you please provide some more context. How big is the file and what kind of machine are you trying to process it on? For which profiles? Were you able to get it to work for smaller pbf OSM files?