Board index FlightGear Support

No METAR on Jammy

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

Please report any bugs not specific to an aircraft on the issue tracker.
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

No METAR on Jammy

Postby CaptB » Thu May 12, 2022 10:18 pm

2020.3.14 with d&c -s on Xubuntu 22.04 no live weather METAR with following error:

270.60 [INFO]:environment/media/games/flightgear/flightgear/src/Environment/realwx_ctrl.cxx:484: metar download failure
271.76 [INFO]:environment/media/games/flightgear/flightgear/src/Environment/realwx_ctrl.cxx:495: NoaaMetarRealWxController::update(): spawning load request>
280.78 [WARN]:io /media/games/flightgear/simgear/simgear/io/HTTPClient.cxx:208: CURL Result:35 SSL connect error
280.78 [WARN]:io /media/games/flightgear/simgear/simgear/io/HTTPRequest.cxx:361: HTTP request: set failure:35 reason SSL connect error
280.78 [INFO]:environment/media/games/flightgear/flightgear/src/Environment/realwx_ctrl.cxx:484: metar download failure

Any hints as to the reason for the SSL connect error? Everything else seems to work fine, the repositories, terrasync, etc.
Thanks.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 686
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: No METAR on Jammy

Postby wkitty42 » Fri May 13, 2022 11:03 am

CaptB wrote in Thu May 12, 2022 10:18 pm:Any hints as to the reason for the SSL connect error?

it could be any number of things, really... just like when your browser throws a failure to connect message so you try again and it works...

the SSL thing could be from an expired certificate... did you try accessing the same URL with your browser?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: No METAR on Jammy

Postby CaptB » Sat May 14, 2022 1:42 pm

wkitty42 wrote in Fri May 13, 2022 11:03 am:the SSL thing could be from an expired certificate... did you try accessing the same URL with your browser?


Yes it's accessible from a browser. Could it be that CURL's behaviour on Jammy is not what FG expects?
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 686
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: No METAR on Jammy

Postby Maerchenprinz » Sat May 14, 2022 7:05 pm

Hi CaptB!

I'm on Ubuntu MATE Jammy, so probably not much difference to your OS...
I had compiled FG 2020.4.0 with package libcurl4-openssl-dev before and live METAR didn't work.
Now I have tried with libcurl4-gnutls-dev, and live METAR works. Yeah!

Hope that helps!

Ciao,

Adrian
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: No METAR on Jammy

Postby CaptB » Sun May 15, 2022 12:00 pm

Maerchenprinz wrote in Sat May 14, 2022 7:05 pm:Now I have tried with libcurl4-gnutls-dev, and live METAR works. Yeah!


Hi, thanks for your help.

I installed libcurl4-gnutils-dev, this uninstalled libcurl4-openssl-dev, however the d&c script wants to revert to libcurl4-openssl-dev otherwise it aborts.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 686
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: No METAR on Jammy

Postby Maerchenprinz » Sun May 15, 2022 3:11 pm

Oh no! That's weird! I assume your Xubuntu is quite a fresh install (22.04), so we have practically the same setup...
CaptB wrote in Sun May 15, 2022 12:00 pm:I installed libcurl4-gnutils-dev, this uninstalled libcurl4-openssl-dev

Yes, also the same here...
CaptB wrote in Sun May 15, 2022 12:00 pm:the d&c script wants to revert to libcurl4-openssl-dev otherwise it aborts.

No, not the same here...
I will do a little bit of testing tonight, also with d&c -s, though I can't imagine there is a difference.
Does the d&c script complains while compiling or while checking depencies? d&c -p n might help in second case.
Anyway, will report in a few hours...
So far!
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: No METAR on Jammy

Postby CaptB » Sun May 15, 2022 6:02 pm

Works as expected after compiling with the -p n switch, thank you.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 686
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu


Return to Support

Who is online

Users browsing this forum: No registered users and 5 guests