View Issue Details

IDProjectCategoryView StatusLast Update
0001979SkyChart1-Softwarepublic18-09-18 16:11
ReporterrayschuAssigned ToPatrick Chevalley 
PriorityhighSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target Version4.2Fixed in Version4.1 SVN 
Summary0001979: The Comet Data cannot download and update
DescriptionData will be download from "http://www.minorplanetcenter.net/iau/MPCORB/CometEls.txt"
but the site has been updated to https, so it will redirect to "https://minorplanetcenter.net", and then, the file cannot download.
Steps To ReproduceData will be download from "http://www.minorplanetcenter.net/iau/MPCORB/CometEls.txt"
but the site has been updated to https, so it will redirect to "https://minorplanetcenter.net", and then, the file cannot download.
TagsNo tags attached.

Activities

rayschu

18-09-10 05:19

reporter  

comet.png (7,852 bytes)
comet.png (7,852 bytes)

Patrick Chevalley

18-09-18 14:19

administrator   ~0004851

Yes, the MPC change the way they do the redirection and this no more work with Skychart.

The quick solution is to change the URL in Setup/Internet/Orbital Elements.
In the comet list replace http: by https:
Change:
http://www.minorplanetcenter.net/iau/MPCORB/CometEls.txt
by:
https://www.minorplanetcenter.net/iau/MPCORB/CometEls.txt

See also:
https://www.ap-i.net/mantis/view.php?id=1972#c4845

Patrick Chevalley

18-09-18 16:11

administrator   ~0004858

The MPC http: redirection is really broken with a wrong Location: in the 302 response header.

This is fixed by forcing https: at first:
https://github.com/pchev/skychart/commit/5284160cce0fcb37cea1389887f580804e1460a3

BTW I also replace all the other http: URL with https: when available:
https://github.com/pchev/skychart/commit/5642a515dbb5baa3d586fe65d843a9a59a2df2fd

Issue History

Date Modified Username Field Change
18-09-10 05:19 rayschu New Issue
18-09-10 05:19 rayschu File Added: comet.png
18-09-18 14:15 Patrick Chevalley Project CCdciel => SkyChart
18-09-18 14:19 Patrick Chevalley Assigned To => Patrick Chevalley
18-09-18 14:19 Patrick Chevalley Priority normal => high
18-09-18 14:19 Patrick Chevalley Status new => assigned
18-09-18 14:19 Patrick Chevalley Category General => 1-Software
18-09-18 14:19 Patrick Chevalley Product Version 0.9 =>
18-09-18 14:19 Patrick Chevalley Target Version => 4.2
18-09-18 14:19 Patrick Chevalley Note Added: 0004851
18-09-18 16:11 Patrick Chevalley Status assigned => resolved
18-09-18 16:11 Patrick Chevalley Resolution open => fixed
18-09-18 16:11 Patrick Chevalley Fixed in Version => 4.1 SVN
18-09-18 16:11 Patrick Chevalley Note Added: 0004858