CIDARLAB / Fluigi-Cloud

Cloud Framework that powers Fluigi Cloud
BSD 2-Clause "Simplified" License
5 stars 3 forks source link

Can't download Files From the Cloud #15

Closed DavidThe4sian closed 7 years ago

DavidThe4sian commented 7 years ago

When I try to use the download button in the editor, it returns the following error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDenied Access Denied 2F8D792AD8872E95 XfDZfjhP+0M3bLKkQmsFaoc3BtNKyx/57+SI4yjIFfrhcDdvR3gWzl7wzkIMZrWyZmiprrAtUQg=
rkrishnasanka commented 7 years ago

This is happening because its trying to give you access to the S3 bucket object. Our original idea was to just provide the link of the bucket but I don't think thats a really good idea anymore. Its better to pipe the downloads through the node server.

aonanam commented 7 years ago

Strange, I could download files with no issue as of a few weeks ago (albeit they had no extensions). Did something change?

rkrishnasanka commented 7 years ago

Well regardless it would make sense to pipe through nodejs now because we have to name the file correctly.

aonanam commented 7 years ago

Files now download correctly by grabbing from s3, storing in server, then serving up to user. May change this structure later, but issue is resolved.