Search found 32 matches

by staze
Mon Apr 18, 2022 2:28 am
Forum: Problems
Topic: Warning signs below some data
Replies: 3
Views: 4821

Re: Warning signs below some data

Thank you sir! This worked perfectly. Sorry for huge delay in responding!
by staze
Sat Mar 13, 2021 6:51 pm
Forum: Problems
Topic: Warning signs below some data
Replies: 3
Views: 4821

Re: Warning signs below some data

Maybe I'm mistaken. Maybe these warnings are related to temperature warnings? What triggers these?
by staze
Sat Mar 13, 2021 6:41 pm
Forum: Problems
Topic: Warning signs below some data
Replies: 3
Views: 4821

Warning signs below some data

I don't get why, but my MT install (18.0) shows a red exclamation warning below the temperature, feels like, and dew point. Then a brown warning below pressure. What do these mean? I thought it meant the data was stale, but from what I can tell, everything is updating, I'm pushing data via the API e...
by staze
Sat May 09, 2020 5:32 am
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

In my case, it's because I had converted the DB to innodb. Every 5 minutes is how often MT writes to it's DB. the every 30 seconds, or minute, etc just update the live data, but don't get archived. So the timeout is the fact the API is taking too long to respond back from the DB write. I'm just usin...
by staze
Fri May 08, 2020 10:22 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

fwiw, my proposed fix didn't work. Created a new column "ID" set to autoincrement. Changed the primary key to it. Then moved table to InnoDB. Inserts still taking longer than 14 seconds.

Not sure why. For now, remaining on MyISAM seems like the only option. =/
by staze
Sun Oct 13, 2019 11:07 pm
Forum: Problems
Topic: Database Not Updated Periodically
Replies: 4
Views: 6288

Re: Database Not Updated Periodically

Hmm, interesting. are you able to see any log data from Weather Display? Do you know how to enable slow query logging for MariaDB? I'd also look at the apache logs and see if you're seeing Weather Display hit the API as expected. That should eliminate one half of the equation (if WD is hitting the A...
by staze
Sun Oct 13, 2019 11:03 pm
Forum: Ideas
Topic: 18.0
Replies: 61
Views: 175919

Re: 18.0

Could I ask that we alter the database schema so the primary key is a normal row number rather than the date, and then convert to InnoDB? MyISAM is deprecated as of MySQL 8, and InnoDB does not like arbitrary primary keys (makes inserts take a significant amount of time).
by staze
Sun Oct 13, 2019 1:18 am
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

Any hope of this getting fixed in the next version @Jachym? I'd like to move back to InnoDB... MyISAM is deprecated as of MySQL 8.0...
by staze
Sun Oct 13, 2019 1:14 am
Forum: Problems
Topic: API SQL Commands Drive High Server Resouces Utilization
Replies: 6
Views: 9770

Re: API SQL Commands Drive High Server Resouces Utilization

What format is your database? InnoDB or MyISAM?
by staze
Sun Oct 13, 2019 1:12 am
Forum: Problems
Topic: Database Not Updated Periodically
Replies: 4
Views: 6288

Re: Database Not Updated Periodically

Quick question. What format is the database? MyISAM or InnoDB?
by staze
Sun Oct 13, 2019 1:11 am
Forum: Installation
Topic: MySQL Configuration
Replies: 33
Views: 41101

Re: MySQL Configuration

slight tangent, but you want to make sure database ends up MyISAM and not InnoDB. Meteotemplate uses non-numbers for the primary key, and InnoDB hates it... inserts take multiple tens of seconds vs MyISAM which doesn't seem to care, and does normal insert speeds (less than a second).
by staze
Mon Jun 24, 2019 3:57 pm
Forum: WeatherCat
Topic: SOLVED: Weird rain data from old station
Replies: 5
Views: 27367

Re: SOLVED: Weird rain data from old station

andyk1 wrote: Sun May 26, 2019 9:31 pm
Hello!!!

Out of curiosity, what block or plugin are you using to adjust the rain totals in your screenshot?
Sorry for huge delay. I didn't use anything to edit rain totals within MT. I just adjusted my import files and reimported (after nuking database).
by staze
Mon May 06, 2019 8:49 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

Hi all,

Any input on this? I'd really like to see this be able to move to InnoDB...
by staze
Mon Apr 22, 2019 6:41 pm
Forum: Problems
Topic: Gateway timeout
Replies: 4
Views: 5304

Re: Gateway timeout

kk. I figured out my issue (probably not related).

Thanks!
by staze
Sat Apr 20, 2019 12:35 am
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

So I think I found the issue. I think. It's the DB design, and my fault. Here's what MT does for the DB: CREATE TABLE `$dbName`.`alldata` ( `DateTime` datetime NOT NULL , `T` decimal( 4, 1 ) DEFAULT NULL , `Tmax` decimal( 4, 1 ) DEFAULT NULL , `Tmin` decimal( 4, 1 ) DEFAULT NULL , `H` decimal( 4, 1 ...
by staze
Wed Apr 17, 2019 1:00 am
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

It is bypassed. That’s the “nocache” subdomain.
by staze
Tue Apr 16, 2019 4:36 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

Host is qth.com. Never had any issue. I do send MB data to several other locations, never an issue (unless I save right after it updates and hit a API limit). I'm pushing to my api via a cloudflare bypassed host. So the normal host is https://www.staze.org/meteo/ but for my MB, it's pushing to http:...
by staze
Mon Apr 15, 2019 8:16 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

trying to wade through api.php and see if maybe it's not returning any response when doing a DB update (and therefore MB is timing out)... but it looks like it should be returning a "Success".
by staze
Mon Apr 15, 2019 8:00 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

Finally found a lot of when it's timing out. 2019-04-15 12:45:44 Error: 2019-04-15 12:45:31 Read error (Operation timed out) in headers. (no more tries) 2019-04-15 12:40:39 Error: 2019-04-15 12:40:25 Read error (Operation timed out) in headers. (no more tries) 2019-04-15 12:35:14 Error: 2019-04-15 1...
by staze
Mon Apr 15, 2019 3:10 am
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

I don't think it's my server, honestly. I don't know what the issue is. It's behaving better since I have it updating once per minute rather than once every 5 minutes... but is still occasionally failing. And Boris has no helpful input on trying to troubleshoot. And not getting really any assistance...
by staze
Sat Apr 13, 2019 1:08 am
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

mchd17 wrote: Sat Apr 13, 2019 12:35 am sorry for late response, using mb to push to mt
sorry, I mean, are you using the weather networks function (in meteobridge) to push to API, or are you using a service (in meteobridge) to push?
by staze
Wed Apr 03, 2019 7:12 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

Are you using the Meteotemplate "Weather Network" to push, or are you using a service?
by staze
Wed Apr 03, 2019 7:08 pm
Forum: Problems
Topic: MB Nano "Timeout in headers"
Replies: 19
Views: 26928

Re: MB Nano "Timeout in headers"

running two nanos here, no problem. you sure you have api url correct? pw correct? maybe, disable mt upload, save, reboot nano. enable mt upload, save, see what happens. just saying things i would be trying. API is correct. PW is correct. It works "MOST" of the time, but randomly fails. I...
by staze
Wed Apr 03, 2019 7:01 pm
Forum: Problems
Topic: Gateway timeout
Replies: 4
Views: 5304

Re: Gateway timeout

Can you elaborate anymore?
by staze
Tue Apr 02, 2019 10:13 pm
Forum: General
Topic: API timeout
Replies: 0
Views: 3743

API timeout

Hi All, I have a question that I've been working on for a bit and can't figure out. I'm using a Meteobridge Nano to update Meteotemplate. For months now, my MB has been throwing an error randomly saying "timeout in headers" for the API update (which happens every 5 minutes). I don't see an...