openrouteservice-js
openrouteservice-js copied to clipboard
issue:
Configuration
- ORS Client:
"openrouteservice-js": "^0.3.2" - Node.js:
v18.8.0. - Target geography: United States, Oregon
- Parameters passed to
Openrouteservice.Isochrones.calculatebelow (5 point geometries passed inlocations
Issue:
When running Isochrone operations using the openrouteservice-js client, seeing intermittent issues with 'Operation was abortederrors. Error below.err.code` is 20.
Stack Trace. `'AbortError: The operation was aborted. at new DOMException (node:internal/per_context/domexception:53:5) at abortFetch (node:internal/deps/undici/undici:6374:21) at requestObject.signal.addEventListener.once (node:internal/deps/undici/undici:6308:9) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:731:20) at AbortSignal.dispatchEvent (node:internal/event_target:673:26) at abortSignal (node:internal/abort_controller:292:10) at AbortController.abort (node:internal/abort_controller:322:5) at AbortSignal.abort (node:internal/deps/undici/undici:5636:36) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:731:20) at AbortSignal.dispatchEvent (node:internal/event_target:673:26)'
Mostly anecdotal but issues are increasingly spawned with larger ranges. For instance, 5 and 10km ranges have no issues, 50km has a few, and 75km has more failures.
Hi @Tmodurr, could be a timeout issue. For very large ranges you could try with less or only one location per requests.