native buienradar Error getting http data

Moderator: leecollings

Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

this is what i have installed
hardware.JPG
hardware.JPG (59.38 KiB) Viewed 1791 times
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: native buienradar Error getting http data

Post by FireWizard »

Hi Gravityz,

First I have to say, that I made a mistake by suggesting that the "Buienradar hardware (9) thread seems to have ended unexpectedly" is caused by the old Buienradar plugin. This is not the case, it is the native Buienradar hardware. (The old plugin indicates Buienradar.nl (Weather lookup) and the new hardware gives Buienradar (Dutch Weather Information)).

I never saw this error message from the native Buienradar. I see it often from my plugins. The other error message occurs regulary and I think it is caused by the fact that the Buienradar URL is temporary unavailable.

Regards
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

it had been a while but i noticed no activity anymore on this issue.

does this mean we let it be?

i would prefer an option to hide those errors because if the log get filled everyday you tend to stop looking at the log so real errors are skipped.

Code: Select all

2019-12-01 11:31:35.654 Error: Buienradar hardware (9) thread seems to have ended unexpectedly
2019-12-01 11:31:49.656 Error: Buienradar hardware (9) thread seems to have ended unexpectedly
2019-12-01 11:32:03.671 Error: Buienradar hardware (9) thread seems to have ended unexpectedly
2019-12-01 11:32:04.636 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2019-12-01 15:48:54.956 Error: BuienRadar: Error getting http data! (Check your internet connection!)
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

is there still a plan to do something about these errors

they are becoming so common i do not notice real errors anymore because the error tab is always there.
perhaps a good idea to move the messages to the warning screen.

99 out of 100 times there is nothing we can do about correcting the error(because the probem is with buienradar) so why mentioning it on the error page.
should i ask for this on github?
seems like an easy change
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: native buienradar Error getting http data

Post by akamming »

if you want to change the behaviour, i think it should be more advanced. Because just ignoring the errors could also mean that when there is another connection error you won't get notified. So it would to hide some errors, but not all i would say...

probably would be something like
1. Try 1st URL (which one should that be?). If it fails, try 2nd URL (which one should that be?), that one also fails go to step 2.
2. Wait for a certain time (based on the experiences in that thread how long should that be?) and try as both URL's again.
3. After X retries (how many should that be based on the experience in this thread?) still unsucessful: present error in log file.
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

maybe we should make the variables you mention available as variable(eg, type them in yourself from the setup, or dropdown list)
this way anybody can mix/match what they want

URL1:XXXX
retries:XX

URL2:XXX
retries:XX

a retry can act as a delay. eg more delay is you choose more retries

then again this is a lot of work just because buienradar can not supply us with a decent link
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: native buienradar Error getting http data

Post by akamming »

Gravityz wrote: Sunday 15 December 2019 17:45 maybe we should make the variables you mention available as variable(eg, type them in yourself from the setup, or dropdown list)
this way anybody can mix/match what they want

URL1:XXXX
retries:XX

URL2:XXX
retries:XX

a retry can act as a delay. eg more delay is you choose more retries

then again this is a lot of work just because buienradar can not supply us with a decent link
i'd say way to complex. This is only useful for people who have studied the bevahiour of the Buienradar URL (like you)....
Arjan2019
Posts: 8
Joined: Tuesday 16 July 2019 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Arjan2019 »

Is there are solution for this? Running V4.11696

Code: Select all

2020-02-26 14:54:18.635 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 16:34:50.486 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 17:06:29.174 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 18:26:47.958 Error: BuienRadar: RainPrediction has old data
2020-02-26 18:31:53.598 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 19:02:02.071 Error: BuienRadar: RainPrediction has old data
2020-02-26 19:42:44.636 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 19:47:50.971 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 19:52:56.497 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 20:28:32.828 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 20:48:42.429 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 21:18:54.031 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 21:44:07.275 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 22:14:19.378 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 22:19:25.736 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 22:29:32.732 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 22:49:42.348 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 23:04:50.317 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-26 23:51:05.914 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 00:16:16.265 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 00:31:24.765 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 00:56:35.189 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:06:42.128 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:16:49.154 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:21:55.268 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:43:00.957 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:48:06.506 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:53:12.684 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 01:58:18.288 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 02:08:25.326 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 02:38:37.225 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 02:48:54.645 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 02:54:00.697 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 03:10:44.685 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 03:30:54.022 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 04:06:08.167 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 04:16:22.554 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 05:11:40.157 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 05:16:46.192 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 05:21:51.816 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 05:37:00.599 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 05:52:08.364 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 05:57:29.149 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 06:28:14.985 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 07:13:30.135 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 07:33:39.379 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 08:13:53.107 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 08:19:00.191 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 08:24:05.757 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 08:39:14.432 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 08:54:22.327 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 09:29:35.899 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 09:39:44.215 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 10:05:03.396 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 10:15:56.914 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 10:41:08.886 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 10:56:16.966 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 11:01:23.028 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 11:41:37.299 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 11:46:44.604 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 11:51:50.595 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 12:12:00.571 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 12:57:18.040 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 13:27:47.437 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 13:42:58.925 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 14:03:08.082 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 14:08:13.455 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 14:38:43.208 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 14:43:49.853 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 15:09:08.554 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 15:44:21.999 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 15:49:27.359 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 15:54:33.530 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 16:24:46.376 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 17:10:46.959 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 18:36:16.924 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 18:46:24.377 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 19:01:32.304 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 19:06:38.160 Error: BuienRadar: Error getting http data! (Check your internet connection!)
2020-02-27 20:02:38.350 Error: BuienRadar: Error getting http data! (Check your internet connection!)
HierBenIk
Posts: 5
Joined: Saturday 09 September 2017 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: native buienradar Error getting http data

Post by HierBenIk »

After the latest update 2020.1 I installed the buienradar option.
Very often I get the message:
BuienRadar: Error getting http data! (Check your internet connection!)
and
Error: Domoticz-Dummy hardware (8) thread seems to have ended unexpectedly
Where hardware (8) buienradar.

Any idea how to solve this problem?
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

this is not due to the 2020 build but has been in there for a while.
it is caused by the buienradar sites which obviously can not cope with the amount of requests received

i must say today is a good day since i did not receive any errors yet

maybe they finally scaled up the sites( or nobody is checking anymore because they are staying home anyway because of the corona virus)
HierBenIk
Posts: 5
Joined: Saturday 09 September 2017 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: native buienradar Error getting http data

Post by HierBenIk »

Ok thanks.
The amount of errormessages is changing every day. Yesterday I got proximately 10 errors and today almost 20.
Lets see if they scale up the capacity to handle all the requests coming from domoticz.....
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: native buienradar Error getting http data

Post by EdwinK »

Gravityz wrote: Friday 27 March 2020 17:53 this is not due to the 2020 build but has been in there for a while.
it is caused by the buienradar sites which obviously can not cope with the amount of requests received

i must say today is a good day since i did not receive any errors yet

maybe they finally scaled up the sites( or nobody is checking anymore because they are staying home anyway because of the corona virus)
Still had several. Disabled the plugin for now.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

yes i did the same .
the amount of errors everyday does not justify the usage/functionality anymore.

maybe i go back to the lua script version
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: native buienradar Error getting http data

Post by EdwinK »

The problem with the LUA script I find (if I can remember correctly) is that I need at least


UV index
Expected rain in percentage
Lux

for my sunscreen to work. Not sure if those were in the LUA script.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

no uv index and lux in the script. only an expected to rain switch(no percentage)

i used the same functionality for closing my sunscreens(which is not working now)
i do have a lux meter from my fibaro fgms001 but i can use the expected rain switch for that(which works the same as the one in the native buienradar.

if only somebody could get rid of the errors in the the native version

an error is to point out if something went wrong.
if you get a lot of errors you stop looking. furthermore i do not care about the errors because it is not helping at all nor can i change anything to make it work again.

useless funcrionality. hopefully somebody will realize that
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by waaren »

Gravityz wrote: Sunday 29 March 2020 16:37 useless funcrionality. hopefully somebody will realize that
Please let it be perfectly clear that I do not want to start or re-open a discussion on which error messages are important enough to show in the domoticz log and which are not.
I also don't know what most people use to inspect the log and how frequent they do it.
Most of the time I inspect the log on the OS level using tail -f or grep and I am not bothered by messages i am not interested in; I just ignore them
For others inspecting the log on the OS level and annoyed by the Buienradar connect errors:

You could try:

Code: Select all

grep -i error /var/log/domoticz.log | grep -v "Check your internet connection"
this will show all errors except the ones containing the part between quotes

For forum members inspecting the log for errors using the GUI:
You can use the filter on top right corner and type

Code: Select all

!check your internet connection
The exclamation mark is to negate the filter text so it shows all but the text after the exclamation mark (case insensitive)
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by ronaldbro »

I would be grateful too if this error wouldn’t be marked as error. I like to receive all errors in my email so I can act on them as soon as possible. But because of this I receive a lot of false errors in my email.
Don’t want to restart the discussion, but different people use different ways to look at the errors and for some ways this is irritating...
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: native buienradar Error getting http data

Post by Gravityz »

Totally missed this very effective advice
by using !BuienRadar in the filter everything related to buienradar is gone.(however it does not stick when leaving the page)

thanks @rwaaren(and yes you were right about the nagging :roll: )

waaren wrote: Friday 17 April 2020 17:18
Gravityz wrote: Sunday 29 March 2020 16:37 useless funcrionality. hopefully somebody will realize that
Please let it be perfectly clear that I do not want to start or re-open a discussion on which error messages are important enough to show in the domoticz log and which are not.
I also don't know what most people use to inspect the log and how frequent they do it.
Most of the time I inspect the log on the OS level using tail -f or grep and I am not bothered by messages i am not interested in; I just ignore them
For others inspecting the log on the OS level and annoyed by the Buienradar connect errors:

You could try:

Code: Select all

grep -i error /var/log/domoticz.log | grep -v "Check your internet connection"
this will show all errors except the ones containing the part between quotes

For forum members inspecting the log for errors using the GUI:
You can use the filter on top right corner and type

Code: Select all

!check your internet connection
The exclamation mark is to negate the filter text so it shows all but the text after the exclamation mark (case insensitive)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest