georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

exporting layer via WPS fails #489

Closed landryb closed 2 years ago

landryb commented 2 years ago

I've enabled WPS in geoserver, including gs:DownloadEstimator,gs:Download - trying to export a vector layer from geoserver fails.

I see 4 requests being done, all successful, but no file is sent to the user.

at that point no other request seems done, and the user has zero feedback. From my understanding the url pointed at by wps:Reference is the process result and should be fetched ?

Trying to manually fetch https://FQDN/geoserver/ows?service=WPS&version=1.0.0&request=GetExecutionResult&executionId=31669d01-03cf-4252-8dd2-8bae8326bf00&outputId=result.zip&mimetype=application/zip Yields Unknown output result.zip for execution id 31669d01-03cf-4252-8dd2-8bae8326bf00, either the execution was never submitted or too much time elapsed since the process completed but i guess i was too late (eg 25mn later) ?

if there's no WPS available (eg user not connected and gets a 401 on the DescribeProcess), ms2 fallbacks to WFS download which works.

tdipisa commented 2 years ago

@landryb it seems properly working on our DEV. Can you please let me know if you still have the same problem and, if yes, some step to reproduce it (in our DEV possibly)?

landryb commented 2 years ago

I see that it currently works fine on https://georchestra.geo-solutions.it/mapstore/#/ - i've also tested it in my wip testing instance running 98b95eb and it also works fine. So something probably fixed the issue since then, closing. Thanks !