bisweb icon indicating copy to clipboard operation
bisweb copied to clipboard

Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'. ?

Open yarikoptic opened this issue 3 years ago • 5 comments

what could be a reason?

continuation to https://github.com/dandi/dandi-infrastructure/pull/88 to make https://bioimagesuiteweb.github.io/webapp/viewer.html?image=https://api.dandiarchive.org/api/assets/d62f3ac5-2a0f-4170-a2d9-37d9bb2085c0/download/ (which redirects to a pre-signed S3 URL) work.

access from datasets.datalad.org works fine on another image: https://bioimagesuiteweb.github.io/webapp/viewer.html?image=https://datasets-dev.datalad.org/dbic/QA/sub-emmet/ses-20180508/anat/sub-emmet_ses-20180508_acq-MPRAGE_T1w.nii.gz but when trying to get the asset from api download url -- getting that error logged in the console.

The same error with a direct url to S3 (not presigned, to get content-disposition): https://bioimagesuiteweb.github.io/webapp/viewer.html?image=https://dandiarchive.s3.amazonaws.com/blobs/a62/0e5/a620e50a-22e9-4694-8ac5-5b784df07ccd so I guess it is not dandi-api issue, thus inquiring here.

Search for it +S3 gives no immediate hits, thus inquiring here for ideas.

yarikoptic avatar Jul 30 '21 16:07 yarikoptic

Let me take a look when I am back to the office. My hunch is that this is a configuration problem on the server side.

XeniosP avatar Aug 02 '21 17:08 XeniosP

Just a gentle ping (unless still far from the office ;))

yarikoptic avatar Aug 16 '21 15:08 yarikoptic

We need to debug this together.

XeniosP avatar Aug 20 '21 18:08 XeniosP

Hi, How did you resolve this issue?

EnkhAmar avatar Nov 24 '21 10:11 EnkhAmar

There is a fix on the unstableapp branch i.e. https://bioimagesuiteweb.github.io/webapp/unstableapp/viewer.html ...

It was mostly an issue on Bisweb looking for a suffix on the filename -- we changed the default behavior to assume NIFTI-1 if there was none (unless my memory fails me).

bioimagesuiteweb avatar Nov 24 '21 13:11 bioimagesuiteweb