cds-astro / aladin-lite

An astronomical HiPS visualizer in the browser
https://aladin.cds.unistra.fr/AladinLite/
GNU General Public License v3.0
103 stars 42 forks source link

aladin-lite not showing hips in latest firefox #201

Closed havok2063 closed 1 month ago

havok2063 commented 1 month ago

Aladin-lite is not displaying hips images for me anymore in Firefox 131. This link shows the issue for me https://aladin.cds.unistra.fr/AladinLite/ , but problem originally noticed in a downstream application.

There are no obvious network errors in the dev console but I do see the following when the page loads. Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://irsa.ipac.caltech.edu/data/hips/CDS/DSS2/color/properties. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

It works ok in Safari 17.5 and the latest Brave browser. Maybe it's just me and I have some wonky settings? Letting you know in case you have any browser CI tests.

ManonMarchand commented 1 month ago

I cannot reproduce in Firefox 131.0 (nor in version 131.0.2)

tboch commented 1 month ago

hi @havok2063 , I cannot reprodce the problem either in Firefox 131, on MacOS. The CORS message is unrelated I think.

If you look at the network tab of the developer tools, can you see the tiles being downloaded?

havok2063 commented 1 month ago

Yes it's very strange. It worked the other day and I checked Firefox on a different machine and that works fine.

I checked the network tab and the tiles are being downloaded. If I hover over the tile image in the network tab, I do see the image preview. However the main display remains all black.

bmatthieu3 commented 1 month ago

Can you check that the behavior is the same in the last released beta ?

It is used at this link: https://aladin.cds.unistra.fr/AladinLite/doc/API/examples/show-proper-motions/

havok2063 commented 1 month ago

Yeah I see the same behavior.

havok2063 commented 1 month ago

I noticed I also see this message in the console Blocked https://aladin.cds.unistra.fr/AladinLite/ from extracting canvas data because no user input was detected.

havok2063 commented 1 month ago

I found the issue. I had fingerprint protection enabled in my Mozilla settings, via an extension I recently installed. I had to disable this and now everything loads correctly. This was under the Enhanced Tracking Protection under Browser Privacy in my Firefox settings.