All metar fetches fail due to NOAA 302 redirect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
metar (Debian) |
Fix Released
|
Unknown
|
|||
metar (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* NOAA changed the URL for the service metar relies on to retrieve weather information
* This has been fixed in 20061030.1-2.2 that is in YY and ZZ (LP: #1610210)
but not yet in XX (16.04 LTS) and previous releases
* justification: the metar program will not display any weather information
anymore without the fix (complete functionality loss for users)
* remedy: update URL in the source (it is hardcoded)
(a work-around is to set the environment variable to the new URL
METARURL=http://
[Test Case]
* install metar # 20061030.1-2ubuntu2
* metar FACT # metar information for Cape Town Airport (CPT)
-> METAR pattern not found in NOAA data
(correct would be something like: FACT 251000Z 18020KT CAVOK 22/13 Q1017 NOSIG)
[Regression Potential]
* just a hardcoded URL fix, no program change otherwise
* works in Debian sid & testing, Ubuntu YY and ZZ
[Other Info]
* Stable upload in progress as well for next Debian Jessie point-release
-------
All metar fetches are failing:
$ metar LSZH
METAR pattern not found in NOAA data.
Requests for http://
metar needs an updated METARURL, or to set CURLOPT_
tags: | added: xenial yakkety |
Changed in metar (Debian): | |
status: | Unknown → New |
Changed in metar (Ubuntu): | |
importance: | Undecided → Medium |
Changed in metar (Debian): | |
status: | New → Fix Released |
description: | updated |
Changed in metar (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Status changed to 'Confirmed' because the bug affects multiple users.