API Problem?

Post Reply
User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

API Problem?

Post by wxthomson » Thu Sep 14, 2017 11:11 pm

Suddenly my template isn't displaying current information

I don't remember changing anything

www.minnetonkaweather.com

WD seems to be sending the API or at least the WD Meteotemplate test is successful.

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: API Problem?

Post by Luc » Thu Sep 14, 2017 11:55 pm

The actual data in file meteotemplateLive.txt seems up to date, but your database seems not providing data.
Check the error reports on your web server and also check in Meteotemplates Main Setup the MySQL 'Test Connection' button.
Image

User avatar
Thomas
Observer
Observer
Posts: 29
Joined: Sun Aug 20, 2017 1:08 pm
Location: Alès, France
Station model: Davis Pro 2
Software: Meteobridge
Contact:

Re: API Problem?

Post by Thomas » Fri Sep 15, 2017 5:59 am

Hi,
Same for me, current block not open or must wait several minutes to open.
All others blocks and database work.

EDIT : current block works when trends are disabled
Station Météo Alès: www.meteoales.fr
Image

User avatar
gillesroszak
Forecaster
Forecaster
Posts: 100
Joined: Sun Aug 20, 2017 1:03 pm
Location: Kerbach
Station model: Aercus Weather ranger
Software: WeeWx on Rpi 0W
Contact:

Re: API Problem?

Post by gillesroszak » Fri Sep 15, 2017 7:55 am

HI
here also the current block is not working !!!!
Gilles


http://www.meteokerbach.fr
Aercus Weather Ranger And WeeWx

Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: API Problem?

Post by Jachym » Fri Sep 15, 2017 10:15 am

I dont see any issues, works on my page and works on your as well, i just checked

User avatar
Thomas
Observer
Observer
Posts: 29
Joined: Sun Aug 20, 2017 1:08 pm
Location: Alès, France
Station model: Davis Pro 2
Software: Meteobridge
Contact:

Re: API Problem?

Post by Thomas » Fri Sep 15, 2017 10:18 am

Yes works now :?
Station Météo Alès: www.meteoales.fr
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: API Problem?

Post by Jachym » Fri Sep 15, 2017 10:23 am

Strange because it didnt work for a few seconds in the DEMO too, I refreshed the page twice and it works.... no clue why it would do this, it should either work or never work

User avatar
dmgould
Forecaster
Forecaster
Posts: 173
Joined: Sat Aug 26, 2017 2:43 am
Location: Divide, Colorado, USA
Station model: Davis Pro 2 Plus Wireless
Software: Meteobridge
Contact:

Re: API Problem?

Post by dmgould » Fri Sep 15, 2017 2:21 pm

My pages have slowed way down several times the last few days. I think mine is caused by the database running slow. It is also intermittent. Last night it was so slow it would take the page 10-15 seconds to finally load. This morning it is coming right up normally.
Dave G
Image

User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: API Problem?

Post by wxthomson » Fri Sep 15, 2017 4:35 pm

gillesroszak wrote: Fri Sep 15, 2017 7:55 am HI
here also the current block is not working !!!!
when I updated the current block the problem started now that I think about it.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: API Problem?

Post by Jachym » Fri Sep 15, 2017 6:06 pm

I dont think this could have anything to do, because the API is run before anything else, the current block just uses the current file already created by the API, but it is in no way involved in the API or db updates.

Post Reply