Download Stored File S3


#1

I am facing an issue when try to use
:Download Stored File

curl -x GET “http://localhost/apex-api/bloc/file/download
-H “accept: application/json;charset=utf-8”
-d “ea5e32eff6edcfa1da15a124b73c6995096799a7”
Also tried with postman and Wget, but no luck at all, always returns “Gateway Timeout”.

I can see the contracts created into Dashboard and the files in my S3 bucket.

We are using outh2 authentication and need some help to understand how to pass the parameters.

Thanks in advanced.


#2

@rchagas Thank you for finding the bug. The fix will be available as a part of next STRATO release.
In the meantime, you can run the custom build of STRATO v4.2.0 with the fix by passing the custom image name to APEX_IMAGE env var when starting STRATO, e.g.:
APEX_IMAGE=registry-aws.blockapps.net:5000/blockapps-repo/apex:4.2.0-ext-storage-download-fix NODE_HOST=localhost ./strato --single