Author Topic: UV issue  (Read 1089 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
UV issue
« on: March 28, 2019, 03:19:21 PM »
I'm getting this error on www.gosportwx.com under my UV photo this was working yesterday.

Code: [Select]
Notice: Undefined offset: 0 in /home/hj2ke8lfpx43/public_html/ajax-dashboard.php on line 929

Notice: Undefined offset: 0 in /home/hj2ke8lfpx43/public_html/ajax-dashboard.php on line 934

Notice: Undefined offset: 0 in /home/hj2ke8lfpx43/public_html/ajax-dashboard.php on line 936
None
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: UV issue
« Reply #1 on: March 28, 2019, 03:27:59 PM »
Doing a view-source of your page shows
Quote
<!-- get-UV-forecast-inc.php V1.08 - 11-Nov-2017 -->
<!-- UV forecast courtesy of and Copyright &copy; KNMI/ESA (http://www.temis.nl/). Used with permission. -->
<!-- UV data load from from cache ./cache/uv-forecast.txt -->
<!-- data not available -->
reloading your homepage with ?force=1 causes reload of the cache from temis.nl and now shows
Quote
<!-- get-UV-forecast-inc.php V1.08 - 11-Nov-2017 -->
<!-- UV forecast courtesy of and Copyright &copy; KNMI/ESA (http://www.temis.nl/). Used with permission. -->
<!-- curl fetching 'http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-86.6991&lat=39.2981' -->
<!-- HTTP stats:  RC=200 dest=145.23.254.72 port=80 (from sce=72.167.190.6)
      Times: dns=0.004 conn=0.144 pxfer=0.144 get=1.005 total=1.149 secs -->
<!-- force reload from URL http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-86.6991&lat=39.2981 -->
<!-- UV data load from from cache ./cache/uv-forecast.txt -->
<!-- Date='28-Mar-2019', UV='5.9' DOW='Thursday' YMD='20190328' -->
<!-- Date='29-Mar-2019', UV='6.1' DOW='Friday' YMD='20190329' -->
<!-- Date='30-Mar-2019', UV='5.8' DOW='Saturday' YMD='20190330' -->
<!-- Date='31-Mar-2019', UV='4.5' DOW='Sunday' YMD='20190331' -->
<!-- Date='01-Apr-2019', UV='4.5' DOW='Monday' YMD='20190401' -->
<!-- Date='02-Apr-2019', UV='5.2' DOW='Tuesday' YMD='20190402' -->
and your page is ok again.

I think your site just experienced a timeout glitch trying to fetch the data from temis.nl for UV data and the empty cache file caused the Notice errata.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: UV issue
« Reply #2 on: March 29, 2019, 04:14:00 PM »
Hi Ken

I've been getting blank updates all of this week too, first time ever. I thought temis was down, but obviously not. I have turned on error checking and the only thing that pops up, is this:

Code: [Select]
Warning: count(): Parameter must be an array or an object that implements Countable in /home/wareham1/public_html/uv.php on line 38
Code: [Select]
for ($i=0;$i < count($UVfcstUVI); $i++) { ?>
Best.


Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: UV issue
« Reply #3 on: March 29, 2019, 04:31:26 PM »
doing a view-source on get-UV-forecast-inc.php?force=1 shows
Quote
<!-- get-UV-forecast-inc.php V1.08 - 11-Nov-2017 -->
<!-- UV forecast courtesy of and Copyright &copy; KNMI/ESA (http://www.temis.nl/). Used with permission. -->
<!-- curl fetching 'http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-2.111&lat=50.6878' -->
<!-- curl Error: Operation timed out after 6000 milliseconds with 0 bytes received -->
<!-- HTTP stats:  RC=0 dest=145.23.254.72 port=80 (from sce=68.66.248.5)
      Times: dns=2.856 conn=2.860 pxfer=2.860 get=3.140 total=6.001 secs -->
<!-- headers returned:

 -->
<!-- force reload from URL http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-2.111&lat=50.6878 -->
<!-- UV data load from from cache ./cache/uv-forecast.txt -->
<!-- data not available -->
So something is amiss between your webserver and temis.nl
A >2 second DNS lookup is suspicious.. definitely shouldn't take that long.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: UV issue
« Reply #4 on: March 29, 2019, 04:37:01 PM »
I'm getting 100% packet loss myself when I ping temis.


Offline lddaly

  • Forecaster
  • *****
  • Posts: 490
Re: UV issue
« Reply #5 on: April 02, 2019, 10:41:23 PM »
I have been seeing the UV timeout issue quite a bit over the last few weeks. It is not just your site. I have submitted a comment using their contact form: http://www.temis.nl/contact.php Others may want to do the same. (I am not sure if my contact post made it to them or not... it appears to have timed-out as well)

From my site:
Quote
<!-- get-UV-forecast-inc.php V1.08 - 11-Nov-2017 -->
<!-- UV forecast courtesy of and Copyright &copy; KNMI/ESA (http://www.temis.nl/). Used with permission. -->
<!-- curl fetching 'http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-96.7518&lat=33.1043' -->
<!-- curl Error: Operation timed out after 6001 milliseconds with 0 bytes received -->
<!-- HTTP stats:  RC=0 dest=145.23.254.72 port=80 (from sce=162.249.125.16)
      Times: dns=0.000 conn=0.111 pxfer=0.111 get=5.890 total=6.001 secs -->
<!-- headers returned:

 -->
<!-- force reload from URL http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-96.7518&lat=33.1043 -->
<!-- UV data load from from cache ./cache/uv-forecast.txt -->
<!-- data not available -->

From Ken's site:
Quote
<!-- get-UV-forecast-inc.php V1.08 - 11-Nov-2017 -->
<!-- UV forecast courtesy of and Copyright &copy; KNMI/ESA (http://www.temis.nl/). Used with permission. -->
<!-- curl fetching 'http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-122.0227&lat=37.2715' -->
<!-- curl Error: Operation timed out after 6001 milliseconds with 0 out of -1 bytes received -->
<!-- HTTP stats:  RC=0 dest=145.23.254.72 port=80 (from sce=74.208.252.86)
      Times: dns=0.004 conn=0.122 pxfer=0.122 get=5.879 total=6.002 secs -->
<!-- headers returned:

 -->
<!-- force reload from URL http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-122.0227&lat=37.2715 -->
<!-- UV data load from from cache ./uv-forecast.txt -->
<!-- data not available -->
« Last Edit: April 02, 2019, 10:47:21 PM by lddaly »

Offline lddaly

  • Forecaster
  • *****
  • Posts: 490
Re: UV issue
« Reply #6 on: April 05, 2019, 01:20:40 PM »
I received a reply from Ronald van der A this morning:
Quote
Hi Lauren,

We are aware of this problem and have it under investigation at this moment. The site works fine, but there
seems to be some issue with the network connection.
Hopefully we have the bandwidth completely restored soon!

Kind regards,
Ronald
KNMI

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: UV issue
« Reply #7 on: April 05, 2019, 01:25:08 PM »
Thank you for posting that info here.  [tup]