Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Request failed with AggregateError but data is downloaded correctly #267

Closed dthiex closed 1 year ago

dthiex commented 2 years ago

Executing this PG downloads me the data correctly but the Editor throws this error. In the network responses I don't see anything wrong reported by the backend. This happens only on FF (might be connected to what we already discovered, that FF seems to be not able to send the request to the local blob).

PG

{
  "process_graph": {
    "1": {
      "process_id": "load_collection",
      "arguments": {
        "id": "COPERNICUS_30",
        "spatial_extent": {
          "west": 14.503132250376241,
          "south": 45.98989222284457,
          "east": 14.578437275398317,
          "north": 46.04381770188389
        },
        "temporal_extent": null,
        "properties": {}
      }
    },
    "2": {
      "process_id": "save_result",
      "arguments": {
        "data": {
          "from_node": "1"
        },
        "format": "GTIFF"
      },
      "result": true
    }
  },
  "parameters": []
}

Error in Editor

Request failed
- Data:
  - Errors:
  -  Name: AggregateError
- ID: 

FF Console Error image

m-mohr commented 1 year ago

Yes, this is very likely the blob issue in FF again...

m-mohr commented 1 year ago

I've implemented and deployed a workaround for editor.openeo.org. For me this works, for you as well @dthiex ?

dthiex commented 1 year ago

Locally it worked but in the deployed version it's the same as before. @m-mohr Did you really deploy a new version already? I couldn't see a new version tag or a release note.

m-mohr commented 1 year ago

I did not check the deployed version, only locally. So it seems there was an issue with the deploy procedure, I reran it and now it also works on editor.openeo.org for me.

fyi: Deployments work automatically after commits. Releases are not made on each commit but every once in a while...

dthiex commented 1 year ago

So it seems there was an issue with the deploy procedure, I reran it and now it also works on editor.openeo.org for me.

Indeed it works now! Thanks for fixing this.