Skip to content

[BUG]: Pipeline fails to fetch data from ArcGIS Location Service #14

@gertln

Description

@gertln

Version

main

Which installation method(s) does this occur on?

No response

Describe the bug.

We completed the Earth 2 deployment as per the steps provided in the documentation and data fetching from the DFM field is working as expected.
However, when trying to fetch topology data from the ESRI field, gives pipeline failed error.
During installation we have used ArcGIS Location Service API key, but the data is not being fetched.
Could you please help us resolving pipeline failing issue.

Image

ESRI_fetching_logs.txt

Minimum reproducible example

Relevant log output

2025-09-24 13:31:15 [306,675ms] [Info] [omni.earth_2_command_center.app.dfm.utils.dfm] Running pipeline
2025-09-24 13:31:15 [306,700ms] [Info] [omni.earth_2_command_center.app.dfm.utils.dfm] DFM instance found running version 1.5.0
2025-09-24 13:31:17 [309,373ms] [Error] [omni.earth_2_command_center.app.dfm.utils.dfm] Error response from DFM api_class='dfm.api.response.ErrorResponse' http_status_code=500 message='Token Required\n(Error Code: 499)' traceback='Traceback (most recent call last):\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18812, in _refresh\n    dictdata = self._con.post(\n               ^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 1504, in post\n    return self._handle_response(\n           ^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 979, in _handle_response\n    self._handle_json_error(data["error"], errorcode)\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 1002, in _handle_json_error\n    raise Exception(errormessage)\nException: Token Required\n(Error Code: 499)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18855, in _hydrate\n    self._refresh()\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18827, in _refresh\n    dictdata = self._con.get(self.url, params)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 841, in get\n    return self._handle_response(\n           ^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 979, in _handle_response\n    self._handle_json_error(data["error"], errorcode)\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 1002, in _handle_json_error\n    raise Exception(errormessage)\nException: Token Required\n(Error Code: 499)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18812, in _refresh\n    dictdata = self._con.post(\n               ^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 1504, in post\n    return self._handle_response(\n           ^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 979, in _handle_response\n    self._handle_json_error(data["error"], errorcode)\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 1002, in _handle_json_error\n    raise Exception(errormessage)\nException: Token Required\n(Error Code: 499)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/app/dfm/service/execute/adapter/_adapter.py", line 314, in stream_body_wrapper\n    async for val in self.stream_body():\n  File "/app/dfm/service/execute/adapter/_nullary_adapter.py", line 26, in stream_body\n    async for res in body_result_to_async_generator(result):\n  File "/app/dfm/service/execute/adapter/_body_results.py", line 45, in body_result_to_async_generator\n    res = await result\n          ^^^^^^^^^^^^\n  File "/app/dfm/service/execute/adapter/esri/_load_elevation_data.py", line 333, in async_body\n    imagery_layer = apply_raster_function(imagery_layer, raster_function)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/raster/functions/__init__.py", line 8091, in apply\n    "url": layer._lyr_json["url"],\n           ^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/raster/_layer.py", line 820, in _lyr_json\n    if self._token is not None:\n       ^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18901, in _token\n    self._hydrate()\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18878, in _hydrate\n    self._refresh()\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/__init__.py", line 18827, in _refresh\n    dictdata = self._con.get(self.url, params)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 841, in get\n    return self._handle_response(\n           ^^^^^^^^^^^^^^^^^^^^^^\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 979, in _handle_response\n    self._handle_json_error(data["error"], errorcode)\n  File "/opt/conda/envs/dfm/lib/python3.12/site-packages/arcgis/gis/_impl/_con/_connection.py", line 1002, in _handle_json_error\n    raise Exception(errormessage)\nException: Token Required\n(Error Code: 499)\n'
2025-09-24 13:31:17 [309,374ms] [Error] [omni.earth_2_command_center.app.dfm_ui.ui.main] Something unexpected went wrong: ErrorResponseException.with_traceback() takes exactly one argument (0 given)
^C2025-09-24 13:32:14 [365,988ms] [Info] [carb.crashreporter-breakpad.plugin] enabled: false
2025-09-24 13:32:14 [366,089ms] [Info] [omni.kit.loop-default.plugin] RunLoopRunner: threads failed to stop in 100 ms
2025-09-24 13:32:14 [366,154ms] [Info] [omni.graph.exec.unstable.passRegistry] IPassRegistry::deregisterPass: deregistered pass PassStronglyConnectedComponents (pass id 1)
2025-09-24 13:32:14 [366,155ms] [Info] [omni.core.ITypeFactory] Module /home/hdsadmin/.local/share/ov/data/exts/v2/omni.activity.core-f62b5c39574602d8/bin/libomni.activity.core.plugin.so remained loaded after unload request.

Full env printout

Other/Misc.

No response

Code of Conduct

  • I agree to follow THIS PROJECT's Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions