MetaCell / nwb-explorer

NWB Explorer is a web application to visualise and analyse the content of NWB:N 2 files
Other
25 stars 16 forks source link

(some?) pre-signed S3 URLs do not work #244

Closed yarikoptic closed 3 years ago

yarikoptic commented 3 years ago

In follow up to prior integration with the dandiarchive.org: https://github.com/dandi/dandi-infrastructure/issues/10

With our recent migration to a new backend we changed the URLs we provide, although IIRC it should have not been in substantial way since previously the URLs also lead to redirection to pre-signed (IIRC, but I could be wrong on this) urls. ATM trying out following urls on http://nwbexplorer.opensourcebrain.org/ :

Do you think it is some issue which could be addressed on nwb-explorer side or we need to figure out some workaround on our (dandi) side?

Thank you in advance

Attn @satra @pgleeson

satra commented 3 years ago

i would suggest supporting the api url as that's likely to stick around, internally the s3 redirect could be hashed/cached, but i leave that at the explorer level.

yarikoptic commented 3 years ago

@pgleeson et al ping on this.

filippomc commented 3 years ago

@yarikoptic yes agree it can be annoying for the user. Will implement the file loading in order to follow redirects.