Group: Forum Members
Posts: 132,
Visits: 632
|
I guess there could be many reasons for this - including occasionally genuine corrupt data in the METAR/TAF themselves.
the actual data files that SkyDemon fetches for these are tiny (often less than 1kB) - so I guess a timeout could be possible, but it feels unlikely
in my case I still see these even when using a 4G 20mbps network connection - but then they work fine on the 2mbps club wifi - so speed doesn't appear to be the issue. it's also fairly intermittent, generally it's ok - but then some days it just errors repeatedly on 3G/4G.
doing a little bit more digging, I've noticed that the data for meta/taf/sigmet is sent with a content-type header of text/plain (metar/taf) and text/html (sigmet) - so these files will be subject to on-the-fly 'optimisation' by some mobile networks (this optimisation does things like removing double spaces and line breaks that in html serve no purpose).
looking at the content - it isn't plain text though, so 'optimisation' may cause corruption.
may be Tim could change the content-type header to application/octet-stream for these files?
|