'Unable to read PBF file. at com.graphhopper.reader.osm.pbf.PbfReader.run(PbfReader.java:50)

i setup openrouteservice in my local sysytem an getting this below error -

Unable to read PBF file. at com.graphhopper.reader.osm.pbf.PbfReader.run(PbfReader.java:50)

Couldn’t process file data/osm_file.pbf, error: java.net.SocketTimeoutException: connect timed out

i have used my own osm pbf file.

Inside docker conatiner - elevation_cache folder is empty.

one more thing if i use default heidelberg.osm.gz then its working fine but when i use my osm pbf file. its giving above error.

i have checked multiple custom pbf but it not worked.

please help me fast.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source