igvteam / igv-webapp

IGV Web App
https://igv.org/app
MIT License
118 stars 44 forks source link

Error accessing resource on Dropbox cram #238

Closed aardes closed 2 years ago

aardes commented 2 years ago

Dear,

Recently I have issue with loading CRAM files through the online version, File is loaded correctly but when I search for a position it gives me the following error:

Error accessing resource: https://dl.dropboxusercontent.com/********.cram Status: 0

I tried an old version of the javascript code locally as well as the IGV application and the link is correct and I am able to load my cram file and search for the position.

May I kindly ask you to look into this issue?

Thanks in advance Amin

jrobinso commented 2 years ago

Hi, I can't reproduce the issue. Here is my test CRAM, for hg19, jump to gene SLC25A3

cram: https://www.dropbox.com/s/sk1d88s54v06n6u/heart_slc25a3.cram?dl=0 index: https://www.dropbox.com/s/3ngrv2qsrrr07bo/heart_slc25a3.crai?dl=0

Could you share a link to a CRAM file that is giving you an issue?

aardes commented 2 years ago

Dear Jim,

Thanks for the fast response, may I have your email address?

Regards

aardes commented 2 years ago

and for your info, I tried different browsers and for the link you shared, I see the exact same error.

Screenshot 2022-03-07 at 21 10 06
jrobinso commented 2 years ago

That doesn't look like the webapp (igv.org/app), so I can't really tell what you are using. Can you try it at https://igv.org/app?

If you need to send a link to private data you can send it to igvteam (at) broadinstitute.org

aardes commented 2 years ago

Please have the full screenshot, I am using the igv app.

image

I've just noticed that it's related to the browser, I tried google chrome and it's working, Safari and Firefox generate this error.

image
jrobinso commented 2 years ago

Ahh, important detail. We'll look into it. You say it does work in older versions of igv.js? What is the latest version you have seen it working?

aardes commented 2 years ago

I have the v1.6.3 in my application and working, before updating to the new version I perform a couple of tests and at the beginning, I thought that it's on my side but then I saw the web app also have the same issue.

jrobinso commented 2 years ago

We do not have a release tagged v1.6.3. Where did you get this from?

helgathorv commented 2 years ago

@aardes Did you mean v1.6.3 of the IGV-Web App? When I install that version, I see the same problems (ie works in Chrome and not in Safari/Firefox)

jrobinso commented 2 years ago

Sorry my mistake, I thought the reference was to igv.js version number. I can't find any version of igv.js going back to version 2.0.0 (2018) that works with Firefox+dropbox.

jrobinso commented 2 years ago

BTW Firefox+dropbox most definitely worked at some point in the past, something changed either at Dropbox or with the browsers. I filed an issue at Dropbox, unless and until they respond there isn't anything we can do.

https://www.dropboxforum.com/t5/Dropbox-installs-integrations/CORS-requests-involving-OPTIONS-preflight-failing-from-Firefox/m-p/582217/highlight/false#M118137

aardes commented 2 years ago

Thank a lot, I can understand. I will inform the users to use chrome.

jrobinso commented 2 years ago

I think this is fixed. It was a problem at Dropbox.

jrobinso commented 2 years ago

Hi,

Dropbox reports they have fixed the problem. We tested Safari and indeed it looks fixed.

On Tue, Mar 8, 2022 at 3:08 AM Amin Ardeshirdavani @.***> wrote:

Thank a lot, I can understand. I will inform the users to use chrome.

— Reply to this email directly, view it on GitHub https://github.com/igvteam/igv-webapp/issues/238#issuecomment-1061662026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHD2HEIAEG5VOJJTX57XL3U64YKPANCNFSM5QDYG54A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>