OpenRepeater 2.1.2 Metar Beta Module issue

Home Forums General Discussion OpenRepeater 2.1.2 Metar Beta Module issue

This topic contains 5 replies, has 3 voices, and was last updated by  Adi, DL1HRC 1 month, 4 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3052

    Hello,

    The module does not seem to function in the 2.1.2 version of ORP.
    Here is the log:
    Tue Mar 31 08:44:41 2020: ORP_RepeaterLogic_Port1: Activating module MetarInfo…
    Tue Mar 31 08:44:41 2020: *** WARNING: Could not look up host “https://aviationweather.gov”: Name or service not known
    Tue Mar 31 08:44:46 2020: TX_Port1: Turning the transmitter OFF
    Tue Mar 31 08:46:44 2020: ORP_RepeaterLogic_Port1: Module timeout: MetarInfo
    Tue Mar 31 08:46:44 2020: ORP_RepeaterLogic_Port1: Deactivating module MetarInfo…

    Thank you,

    73

    Ed

    #3053

    Aaron, N3MBH
    Forum Administrator

    Hello Edward,
    Yes, this module is still in early beta. I am just now starting to get some other testers involved to try it. In working with another tester that seems to be the consensus right now, but we have not fully verified this. Version 2.1.2 of ORP is built with the 17.12.2 release of SVXLink.

    While the METAR module is a native SVXLINK module with an ORP wrapper, it appears at this point that it will require the 19.09.1 release of SVXLink or newer to work. As of this post 19.09.1 is the latest release beside the development trunk. We have a development branch of ORP currently versioned as 2.2.0. This is what I build the module under. This is not available as a downloadable IMG file an needs built with a script.

    I am talking with another tester that is working to make this build and test the METAR module under 2.2.0 to validate my theory. He was reporting the same issues on 2.1.1 and 2.1.2. This should resolve the https issues the module is having issues with. I suspect it should work after that, but there is another minor issue in the SVXLink code that will cause the report to play twice. Not a horrible issue, but I don’t expect that to be resolved until SVXLink drops another release from their trunk code.

    73,
    Aaron – N3MBH

    OpenRepeater is offered free of charge. Find out how you can support us.

    #3054

    Thanks for the quick reply Aaron,

    Is there away to remove the https and see if that would work?

    Anyway, looking forward to this module working one day.
    I can help test if needed.

    73

    Ed

    #3055

    Aaron, N3MBH
    Forum Administrator

    Perhaps but it has not been tested yet with older release.

    • within the module (/var/www/openrepeater/modules/MetarInfo) rename your settings.php to back it up.
    • Create a new settings.php file in it’s place with the same permissions
    • Copy the contents of the trunk version of the settings.php file from GitHub into this file (https://github.com/OpenRepeater/MODULE_Metar_Info/blob/master/settings.php). This will add a drop down to select the server that is not in the released version 0.1
    • On line 66 of that file change the https to http.
    • Go to the Metar Module settings page. You shouldn’t need to change anything, just hit Submit. This should write the non-https URL into the database settings.
    • Rebuild & Restart Repeater to right the new config files.

    Let me know if that works. I’d be curious to know.

    73,
    Aaron – N3MBH

    OpenRepeater is offered free of charge. Find out how you can support us.

    #3056

    I did what you requested and it still times out……

    Tue Mar 31 22:46:46 2020: ORP_RepeaterLogic_Port1: Activating module MetarInfo…
    Tue Mar 31 22:46:51 2020: TX_Port1: Turning the transmitter OFF
    Tue Mar 31 22:48:49 2020: ORP_RepeaterLogic_Port1: Module timeout: MetarInfo
    Tue Mar 31 22:48:49 2020: ORP_RepeaterLogic_Port1: Deactivating module MetarInfo..

    I choose the other entry for https://tgftp.nws.noaa.gov
    Also times out:

    Tue Mar 31 22:49:55 2020: ORP_RepeaterLogic_Port1: Activating module MetarInfo…
    Tue Mar 31 22:49:59 2020: TX_Port1: Turning the transmitter OFF
    Tue Mar 31 22:50:00 2020: ORP_RepeaterLogic_Port1: Sending short identification…
    Tue Mar 31 22:50:00 2020: TX_Port1: Turning the transmitter ON
    Tue Mar 31 22:50:07 2020: TX_Port1: Turning the transmitter OFF
    Tue Mar 31 22:52:07 2020: ORP_RepeaterLogic_Port1: Module timeout: MetarInfo
    Tue Mar 31 22:52:07 2020: ORP_RepeaterLogic_Port1: Deactivating module MetarInfo…

    So I guess we will wait for newer code, let me know if you want me to put a beta image on my pi and I can test it along with you, if you decide to move forward.

    Thanks,

    73

    Ed

    #3060

    The problem is that the website aviationweather.gov has switched to https and this absolutely requires the libcurl-dev library to query the weather data. Simply switching from https to http is not enough. Incidentally, the problem was solved in 2018 and the current trunk contains the changes for this. Unfortunately I don’t know when there will be a new release.

    mni 73s de Adi / DL1HRC

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.