Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yarikoptic opened this issue Jul 30, 2021 · 5 comments

Comments

@yarikoptic
Copy link
Contributor

what could be a reason?

continuation to dandi/dandi-infrastructure#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.

@XeniosP
Copy link
Collaborator

XeniosP commented Aug 2, 2021

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.

@yarikoptic
Copy link
Contributor Author

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

@XeniosP
Copy link
Collaborator

XeniosP commented Aug 20, 2021

We need to debug this together.

@EnkhAmar
Copy link

Hi, How did you resolve this issue?

@bioimagesuiteweb
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants