WorldWideTelescope / wwt-windows-client

WorldWide Telescope Windows Application
Other
179 stars 55 forks source link

GLIMPSE/MIPSGAL corruption #148

Closed marksubbarao closed 4 years ago

marksubbarao commented 4 years ago

When I try and load the GLIMPSE/MIPSGAL image it only loads the base tile layers. After that WWT won't load any tiles for me from any image, until I restart.

The GLIMPSE image behaves the same way.

The GLIMPSE 360 images does not show up, but it does not corrupt everything else.

Version 6.0.11.1

AstroRob commented 4 years ago

Interesting; I was about to open an issue on the missing/empty GLIMPSE 360, but on my client (the current public 6.0 beta) the GLIMPSE and GLIMPSE/MIPSGAL images load correctly (from the all sky surveys collection). However I only tried it once right after installing (current Windows 10 on iMac Boot Camp). And G360 does not show up either on the main background pop up menu or from the collection.

pkgw commented 4 years ago

I recall @astrojonathan seeing some issues along these lines that turned out to be the fault of the bad internet in the Honolulu convention center. Can you confirm if these issues persist when you have a good internet connection? @astrojonathan would they need to clear their caches or anything like that?

astrojonathan commented 4 years ago

We have a CDN issue. Every request that routes Glimpse thru the CDN retreives the same image for 0,0,0. http://worldwidetelescope.org/wwtweb/g360.aspx?q=4,2,2 shows one image

and http://cdn.worldwidetelescope.org/wwtweb/g360.aspx?q=4,2,2 shows just the root.

We need to find out what is happening. It might be a issue with CDN config, or our code, but it works find without the CDN.

astrojonathan commented 4 years ago

There was recursive FileDelete call that should have been a File.Delete call, this might have been an issue originally.

pkgw commented 4 years ago

I am investigating this issue. It does seem that it's just an issue with the CDN having some bad data in it, although note that things are a bit hairy since you only get the bad data from some CDN point-of-presence nodes. (I.e., for Jonathan's example URL, I get a bad result (No image) at Harvard, but it is fine from home.)

I think that to fix this we just need to purge the cached data from the CDN nodes, but this is turning out to be a real pain since our CDN configuration seems to have something funky where we're not able to purge the cache in the way that one normally would. (This is probably because our CDN setup is quite old, in cloud terms.) I'm working with Azure support to try to get that straightened out.

pkgw commented 4 years ago

After a surprising amount of difficulty, I have gotten the CDN cache purged and my test case is now working. @marksubbarao are you able to confirm if things seem to be working better now?

marksubbarao commented 4 years ago

@pkgw It does not seem to be any better for me.

AstroRob commented 4 years ago

@pkgwhttps://github.com/pkgw @marksubbaraohttps://github.com/marksubbarao I should clarify that I had checked this in the web client forgetting it was a desktop issue.

I tried it again in the desktop client and only saw a very low res preview image. I then purged the image cache and restarted WWT and now the GLIMPSE360 is completely blank in either the background selector or the collection.

GLIMPSE and GLIMPSE-MIPSGAL continue to work as expected.

On Feb 21, 2020, at 1:10 PM, Mark SubbaRao notifications@github.com<mailto:notifications@github.com> wrote:

@pkgwhttps://github.com/pkgw It does not seem to be any better for me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/WorldWideTelescope/wwt-windows-client/issues/148?email_source=notifications&email_token=ADX2F5VX3NMY7ROW6CYEBX3REA7LNA5CNFSM4KGYUJN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUC7MY#issuecomment-589836211, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADX2F5UIEZWKINXTNHRACT3REA7LNANCNFSM4KGYUJNQ.


Robert Hurt, Ph.D. | 626-395-1825 (office) Visualization Scientist | (ICE) IPAC Communications & Education Caltech/IPAC | NASA’s Universe of Learning

UniverseUnplugged.orghttp://UniverseUnplugged.org - astropix.ipac.caltech.eduhttp://astropix.ipac.caltech.edu

pkgw commented 4 years ago

OK, I think we need to change the settings of the CDN infrastructure to treat URLs with different query strings (?q=N,X,Y) as different and cache them individually. This is supported, but I need to go through the CDN provider to get the configuration set up. Working on it.

pkgw commented 4 years ago

I am told that the CDN settings have been updated. If you purge your cache, does GLIMPSE360 seem to be working now?

pkgw commented 4 years ago

Closing this issue because I believe this is working now. Please reopen if that's incorrect!