https://bugs.kde.org/show_bug.cgi?id=528778

            Bug ID: 528778
           Summary: HiPS: source list and default surveys fail because CDS
                    host names are no longer valid (alasky.unistra.fr,
                    alasky.u-strasbg.fr)
    Classification: Applications
           Product: kstars
      Version First 3.8.5
       Reported In:
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
HiPS All Sky Overlay no longer works with the default settings. DSS Colored and
other default surveys are not displayed, and opening HiPS Settings shows:

  Error downloading HiPS sources: Host alasky.unistra.fr not found

This happens with KStars 3.8.5 and with the current master nightly build on
macOS (arm64), and it was also reported by another user. The host names
hard-coded in KStars are no longer valid at CDS.

CAUSE
1. The HiPS source list URL in kstars/hips/opships.cpp (line 87) uses
http://alasky.unistra.fr/MocServer/query?... The host name does not exist
anymore:

  $ nslookup alasky.unistra.fr
  ** server can't find alasky.unistra.fr: NXDOMAIN

  The MocServer still works at the current host name:

  $ curl -sL
"https://alasky.cds.unistra.fr/MocServer/query?ID=CDS/P/DSS2/color&get=record";
| grep ^hips_service_url
  hips_service_url     = https://alasky.cds.unistra.fr/DSS/DSSColor
  hips_service_url_1   = https://alaskybis.cds.unistra.fr/DSS/DSSColor
  hips_service_url_2   = https://casda.csiro.au/hips/DSS2/color
  hips_service_url_3   = https://irsa.ipac.caltech.edu/data/hips/CDS/DSS2/color
  hips_service_url_4   = https://skies.esac.esa.int/DSSColor
  hips_service_url_5   =
https://stpubdata.s3.us-east-1.amazonaws.com/mast/skybackgrounds/DSSColor

2. The default surveys inserted in kstars/auxiliary/ksuserdb.cpp use old host
names over plain HTTP:
   - DSS Colored: http://alasky.u-strasbg.fr/DSS/DSSColor  (host has no address
record: "No answer")
   - 2MASS Color: http://alaskybis.u-strasbg.fr/2MASS/Color
   - Fermi Color: http://alaskybis.u-strasbg.fr/Fermi/Color

3. At the time of testing (2026-11-13), the CDS data servers themselves did not
serve the DSS Color tiles, while the mirrors at IRSA and ESA did:

  404  https://alasky.cds.unistra.fr/DSS/DSSColor/properties
  000  https://alaskybis.cds.unistra.fr/DSS/DSSColor/properties  (connection
failed)
  200  https://irsa.ipac.caltech.edu/data/hips/CDS/DSS2/color/properties
  200  https://skies.esac.esa.int/DSSColor/properties

  This part may be a temporary problem at CDS, but it shows that relying on a
single host is fragile.

WORKAROUND
After changing the URLs in userdb.sqlite to the mirrors, DSS Colored is
displayed again (tested on macOS arm64):

  UPDATE hips SET
hips_service_url='https://irsa.ipac.caltech.edu/data/hips/CDS/DSS2/color' WHERE
ID='CDS/P/DSS2/color';
  UPDATE hips SET
hips_service_url='https://irsa.ipac.caltech.edu/data/hips/CDS/2MASS/Color'
WHERE ID='CDS/P/2MASS/color';
  UPDATE hips SET hips_service_url='https://skies.esac.esa.int/FermiColor'
WHERE ID='CDS/P/Fermi/color';

SUGGESTION
- Change the MocServer URL in opships.cpp to
https://alasky.cds.unistra.fr/MocServer/query?...
- Update the default HiPS URLs in ksuserdb.cpp to the current HTTPS host names,
and migrate existing user databases that still contain the old host names.
- If possible, use the mirror URLs (hips_service_url_1, _2, ...) returned by
the MocServer as fallbacks when the main server is not available.

SOFTWARE/OS VERSIONS
- KStars 3.8.5 (macOS arm64 DMG) and master nightly build (macOS arm64)
- macOS 27.2.1 on MacBook Pro M1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to