Timeout Error when using reverseGeocode()


#1

Hey,

I’m constantly getting this Error: Timeout of 5000ms exceeded.

My console logs:

{ Error: Timeout of 5000ms exceeded
at RequestBase._timeoutError (/home/hannes/Downloads/spotmap-hamburg-webgis/node_modules/openrouteservice-js/node_modules/superagent/lib/request-base.js:679:15)
at Timeout._timer.setTimeout (/home/hannes/Downloads/spotmap-hamburg-webgis/node_modules/openrouteservice-js/node_modules/superagent/lib/request-base.js:694:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)  
timeout: 5000,
code: 'ECONNABORTED',
errno: 'ETIME',
response: undefined }

Is there a way to change the timeout of 5000ms?