Long delays in the display of meta charts! **solved**

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

zakos52
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 16, 2021 7:26 pm

Long delays in the display of meta charts! **solved**

Post by zakos52 »

As of this morning (February 8, 2024) there is a long delay in the display of meta charts.

That is, the display time reaches 125 seconds from 15 seconds before!

Is there a problem with the server?

Platform: Raspberry Pi 4 Model B
RAM: 3895 MB total, 3755 MB free (3% used)
Storage: ATP SLC, 1.5 GB total, 774 MB free (50% used, 181.0 yrs!!!)
SW Version: Meteobridge 5.8 (Feb 7 2024, build 3145), FW 1.3
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

Are you requesting charts directly form your Meteobridge via its local IP or via the remote access?
zakos52
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 16, 2021 7:26 pm

Re: Long delays in the display of meta charts!

Post by zakos52 »

The problem occurred on February 8th and lasted about 24 hours.
It was about remote access meteo-charts

P.S.
I am waiting for an answer regarding the WM989 console (viewtopic.php?t=17666&start=15 )

Thanks
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

Remote access does go through many ways in the Internet. Hard to find the root cause.
Presenting charts via remote access to a wider public is not a good idea as it will
max out the capabilities of your Meteobridge (which is not a powerful web server)
and also puts load and bandwidth to your and my server's Internet connection.

It is strongly recommended to upload charts via FTP/SFTP to your web server and to give the public access to these!
zakos52
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 16, 2021 7:26 pm

Re: Long delays in the display of meta charts!

Post by zakos52 »

Can you describe to me how I will have the meta charts on my computer and
how I will upload them to my server?
Thank you very much
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

You define an event to generate the chart (let's say every 5 mins) and trigger an SFTP/FTP upload event on "lastchart.hmtl" for this. Then you iframe this uploaded chart into your own servers web presence. Every 5 mins it will be updated by a more recent one.
zakos52
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 16, 2021 7:26 pm

Re: Long delays in the display of meta charts!

Post by zakos52 »

In the way you describe, the meta-charts do not appear, but only the charts!
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

I am sure they do. Do you have problems to generate the chart or to do the upload?
zakos52
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 16, 2021 7:26 pm

Re: Long delays in the display of meta charts!

Post by zakos52 »

I have created several meta-charts and I want to upload them via ftp to my server using event.

IE
I add an event with ftp. When I press "select file for upload" the mete-charts do not appear!
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

The way to do this is to generate a chart by a certain periodic interval and to trigger the FTP upload event from there by using the just generated chart "lastchart". Please don't forget to set the "delete" mark, otherwise your Meteobridge's internal storage will fill up with all the generated charts. You can use a constant ftp target name or one that includes timestamp info (as in the example).

chart-ftp.png
chart-ftp.png (41.5 KiB) Viewed 2159 times
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Re: Long delays in the display of meta charts!

Post by grwkak »

Does this method work on any chart - including the ones that are user defined?
I can create and upload allinone-imp but the user defined ones do not seem to work.

Guy
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

yes, of course. What exactly is the problem?

On my PRO2 is see these options:

Bildschirmfoto 2024-02-26 um 13.23.28.png
Bildschirmfoto 2024-02-26 um 13.23.28.png (234.58 KiB) Viewed 2097 times
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Re: Long delays in the display of meta charts!

Post by grwkak »

If I select another chart (user-defined) - it does not seem to be created and uploaded as an html file. Using the same settings as you show (except the chart definition name of course). allinone-iso has no problems.

Guy
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Long delays in the display of meta charts!

Post by admin »

hm, when you give me remote access I can have a look. Please send credentials to "info(at)meteobridge.com".
Please also indicate, which chart is not working.
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Re: Long delays in the display of meta charts!

Post by grwkak »

Just sent from my Gmail account. Its the last chart listed (event 5).

Guy
Post Reply