Page 1 of 1

Meteobridge RPi4 - Localization by IP stopped working **solved**

Posted: Fri Mar 26, 2021 11:24 pm
by burnsb
Recently the "Localization by IP" area on the "Meteobridge Information" screen stopped reporting my ISP information. MB = v5.1 build 2202)
I suspect that the problem may be that the provider "ip-tracker.org" may have changed their http-response layout to the IP track request coming from Meteobridge.

Looking at the Meteobridge code it appears that the program "/home/iptrack.sh" is failing on line 13 when it attempts to get the FLAGURL.
FLAGURL="`cat $FILE | awk -F\<img\ src= '{print $2}' | awk -F\' '{print $2}'`"

For a simple test I changed that line to read:
FLAGURL="`cat $FILE | awk -F src= '{print $2}' | awk -F\' '{print $2}'`"
and the IP location was successful.

Can you please have a look and tell me if you agree this may be an issue?
Thanks much.

Re: Meteobridge RPi4 - Localization by IP stopped working

Posted: Sat Mar 27, 2021 3:15 pm
by galfert
I regularly use the IP Tracker website to look up IP's of member posts on the various forums (helps with forum moderation).

I noticed that the IP Tracker website has changed considerably.

So it does seem like an update is needed by the Meteobridge.

Re: Meteobridge RPi4 - Localization by IP stopped working

Posted: Fri Apr 16, 2021 5:57 pm
by burnsb
This problem has been resolved in Meteobridge 5.1e (April 16 2021) build 2227.
Thank you.

Re: Meteobridge RPi4 - Localization by IP stopped working **Solved**

Posted: Fri Apr 16, 2021 7:20 pm
by galfert
It does indeed. Thank you for the update.