Author Topic: UV-Forecast down?  (Read 2472 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
UV-Forecast down?
« on: July 28, 2014, 05:15:22 AM »
hey is there something wrong with the UV-Forecast? mine keeps saying none so i did the check fetch times and got this to me it looks ok. maybe ken or someone can help i noticed his says none on his website as well..

--checking UV Forecast from temis.nl --
Using $SITE['UVscript'] entry for test.
URL: http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-86.69915771&lat=39.29800797
Cache: ./cache/uv-forecast.txt
GET /uvradiation/nrt/uvindex.php?lon=-86.69915771&lat=39.29800797 HTTP/1.1
      Host: www.temis.nl  Port: 80 IP=145.23.254.72
HTTP stats: dns=0.000 conn=0.120 put=0.000 get(190 blocks)=0.126 close=0.000 total=0.246 secs
fetch function elapsed= 0 secs.
RC=200 OK, bytes=4445
Wrote 4445 bytes to ./cache/uv-forecast.txt successfully.
--end UV Forecast from temis.nl check --


Mike
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Online wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: UV-Forecast down?
« Reply #1 on: July 28, 2014, 11:46:45 AM »
hey is there something wrong with the UV-Forecast? mine keeps saying none so i did the check fetch times and got this to me it looks ok. maybe ken or someone can help i noticed his says none on his website as well..

--checking UV Forecast from temis.nl --
Using $SITE['UVscript'] entry for test.
URL: http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-86.69915771&lat=39.29800797
Cache: ./cache/uv-forecast.txt
GET /uvradiation/nrt/uvindex.php?lon=-86.69915771&lat=39.29800797 HTTP/1.1
      Host: www.temis.nl  Port: 80 IP=145.23.254.72
HTTP stats: dns=0.000 conn=0.120 put=0.000 get(190 blocks)=0.126 close=0.000 total=0.246 secs
fetch function elapsed= 0 secs.
RC=200 OK, bytes=4445
Wrote 4445 bytes to ./cache/uv-forecast.txt successfully.
--end UV Forecast from temis.nl check --


Mike
If you look into the cached output
http://www.gosportwx.com/cache/uv-forecast.txt
you can find the message
*** Access denied, please contact the TEMIS team
There is a similar post on the WW forum:
http://www.weather-watch.com/smf/index.php/topic,61353.msg487944/topicseen.html#msg487944
Probably you have E-rice as a provider.
You have to contact your provider to remove the ban for that ip-address.

Wim

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: UV-Forecast down?
« Reply #2 on: August 07, 2014, 11:19:49 PM »
It's been days since i opened a ticket to e-rice to see if they can unban that ip for the UV forecast.. and it's still banned with no reply from there end.. any ideas on how to better come in contact with e-rice?? really want my UV-forecast to update again.

Mike
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: UV-Forecast down?
« Reply #3 on: August 08, 2014, 02:33:42 PM »
"Nature can do without man, but man cannot do without nature."


Software: WeatherDisplay
Hardware: Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam + Soil temp + Soil Moisture

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: UV-Forecast down?
« Reply #4 on: August 08, 2014, 05:00:08 PM »
Try this thread.

http://www.weather-watch.com/smf/index.php/topic,61353.0.html

ya i saw that but i dont have WD (weather display) to bypass the problem.. i use cumulus :/

Mike
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: UV-Forecast down?
« Reply #5 on: August 08, 2014, 06:45:03 PM »
Well, you can do the same process (get the URL from your home/weather station system, upload to the cache directory) by using the following native Windows7 and Cumulus stuff:

1) create a downloadtemis.vbs file in the c:\Cumulus directory containing
Code: [Select]
' Set your settings
    strFileURL = "http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-122.0227&lat=37.2715"
    strHDLocation = "c:\Cumulus\web\uv-forecast.txt"

' Fetch the file
    Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")

    objXMLHTTP.open "GET", strFileURL, false
    objXMLHTTP.send()

If objXMLHTTP.Status = 200 Then
Set objADOStream = CreateObject("ADODB.Stream")
objADOStream.Open
objADOStream.Type = 1 'adTypeBinary

objADOStream.Write objXMLHTTP.ResponseBody
objADOStream.Position = 0    'Set the stream position to the start

Set objFSO = Createobject("Scripting.FileSystemObject")
If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation
Set objFSO = Nothing

objADOStream.SaveToFile strHDLocation
objADOStream.Close
Set objADOStream = Nothing
End if

Set objXMLHTTP = Nothing

' script from http://superuser.com/questions/59465/is-it-possible-to-download-using-the-windows-command-line
' adapted by Ken True - webmaster@saratoga-weather.org
'

Change the lat= and lon= values to your station's latitude and longitude.

The file 'uv-forecast.txt' will be placed in your c:\Cumulus\web directory.

Open a CMD window and:

CD \Cumulus
cscript.exe downloadtemis.vbs
exit

to 'prime' the file download.  Check the c:\Cumulus\web directory for a uv-forecast.txt file .. that indicates success.

In Cumulus, open the Internet configuration and in the External Programs put:

Daily: cscript.exe  Params: downloadtemis.vbs

Switch to the Files section and add:

Local Filename:  c:\Cumulus\web\uv-forecast.txt
Remote Filename: /cache/uv-forecast.txt
Process? NO
Binary?  NO
FTP?  YES (ticked)

and save the setting.. that should cause Cumulus to upload the file every time the routine weather update is made
and the get-UV-forecast-inc.php script should always see a 'fresh' file and never load from temis (and fail).

I hope this helps...

Best regards,
Ken

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 mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: UV-Forecast down?
« Reply #6 on: August 08, 2014, 07:57:48 PM »
thanks ken i'll give it a try.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: UV-Forecast down?
« Reply #7 on: August 08, 2014, 08:19:19 PM »
Well, you can do the same process (get the URL from your home/weather station system, upload to the cache directory) by using the following native Windows7 and Cumulus stuff:

1) create a downloadtemis.vbs file in the c:\Cumulus directory containing
Code: [Select]
' Set your settings
    strFileURL = "http://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-122.0227&lat=37.2715"
    strHDLocation = "c:\Cumulus\web\uv-forecast.txt"

' Fetch the file
    Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")

    objXMLHTTP.open "GET", strFileURL, false
    objXMLHTTP.send()

If objXMLHTTP.Status = 200 Then
Set objADOStream = CreateObject("ADODB.Stream")
objADOStream.Open
objADOStream.Type = 1 'adTypeBinary

objADOStream.Write objXMLHTTP.ResponseBody
objADOStream.Position = 0    'Set the stream position to the start

Set objFSO = Createobject("Scripting.FileSystemObject")
If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation
Set objFSO = Nothing

objADOStream.SaveToFile strHDLocation
objADOStream.Close
Set objADOStream = Nothing
End if

Set objXMLHTTP = Nothing

' script from http://superuser.com/questions/59465/is-it-possible-to-download-using-the-windows-command-line
' adapted by Ken True - webmaster@saratoga-weather.org
'

Change the lat= and lon= values to your station's latitude and longitude.

The file 'uv-forecast.txt' will be placed in your c:\Cumulus\web directory.

Open a CMD window and:

CD \Cumulus
cscript.exe downloadtemis.vbs
exit

to 'prime' the file download.  Check the c:\Cumulus\web directory for a uv-forecast.txt file .. that indicates success.

In Cumulus, open the Internet configuration and in the External Programs put:

Daily: cscript.exe  Params: downloadtemis.vbs

Switch to the Files section and add:

Local Filename:  c:\Cumulus\web\uv-forecast.txt
Remote Filename: /cache/uv-forecast.txt
Process? NO
Binary?  NO
FTP?  YES (ticked)

and save the setting.. that should cause Cumulus to upload the file every time the routine weather update is made
and the get-UV-forecast-inc.php script should always see a 'fresh' file and never load from temis (and fail).

I hope this helps...

Best regards,
Ken

I keep getting a failed message when trying to do the cscript.exe downloadtemis.vbs command..
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: UV-Forecast down?
« Reply #8 on: August 08, 2014, 08:36:46 PM »
I see from the screen shot, you're running Cumulus in the D: drive, not the C: drive, so just change the downloadtemis.vps
Code: [Select]
    strHDLocation = "c:\Cumulus\web\uv-forecast.txt"
to
Code: [Select]
    strHDLocation = "D:\Cumulus\web\uv-forecast.txt"
and it should work for you :)

Best regards,
Ken
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 mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: UV-Forecast down?
« Reply #9 on: August 08, 2014, 08:37:34 PM »
I see from the screen shot, you're running Cumulus in the D: drive, not the C: drive, so just change the downloadtemis.vps
Code: [Select]
    strHDLocation = "c:\Cumulus\web\uv-forecast.txt"
to
Code: [Select]
    strHDLocation = "D:\Cumulus\web\uv-forecast.txt"
and it should work for you :)

Best regards,
Ken

lol ya i spotted that too i appreciate the help. you rock :D

Mike
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline Ian.

  • Forecaster
  • *****
  • Posts: 460
    • Chatteris Weather
Re: UV-Forecast down?
« Reply #10 on: August 12, 2014, 12:01:39 PM »
Wrote to TEMIS and got this reply:

On 08/11/2014 07:04 PM, talktalk.net wrote:
> Date/Time           : 2014 Aug 11 / 17:04:35 GMT
> IP Address          : 92.31.117.89
> User agent          : Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
>
> Name                : Ian
> Organisation        : Private Weather Station
> Country             : UK
> E-mail address      : talktalk.net
> Subject             : uv radiation
>
> Remarks             :
>
> Hi,
>
> I'm sure you have had a lot of mails about this, but, do you have an update on when/if you are going to unblock UV forecasts from users of e-Rice hosting
>
> Cheers
>
> Ian
>
>
Your IP address is not blocked. You can directly access the web-site
http://www.temis.nl/uvradiation/nrt/uvindex.php
I am not familiar with e-Rice.

Best regards
Ronald


I've mailed Ronald back with a better explanation and a link to the forum thread, I get the impression this may be the first he has heard of the e-Rice problem
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: UV-Forecast down?
« Reply #11 on: August 12, 2014, 12:36:16 PM »
Looking at the DNS entries for e-rice.net, it appears the range of servers is from 184.172.196.234 (Parsley) through 184.172.196.238 (Mint) and that is likely the range blocked.  I think they misunderstood.. YOUR IP is not blocked (correct).. the e-rice.net servers appear to be.

Based on the reverse DNS lookups, the servers are:

184.172.196.234 (parsley.e-rice.net)
184.172.196.235 (mail.e-rice.net)
184.172.196.236 (basil.e-rice.net)
184.172.196.237 (rosemary.e-rice.net)
184.172.196.238 (mint.e-rice.net)

I have a site on rosemary (saratogawx.net) so I'm also having to feed the UV-forecast upstream too.

Best regards,
Ken

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 miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4108
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: UV-Forecast down?
« Reply #12 on: August 12, 2014, 12:49:26 PM »
Is this potentially relevant? Could TEMIS have the servers flagged for malware like the ScanSafe did?

http://www.wxforum.net/index.php?topic=22107.msg212565#msg212565

Quote
Access Denied

The web resource http://www.sunrisesideweather.com/wxindex.php has been deemed by your administrator to be unsafe or unsuitable for you to access. The resource has been blocked. No further action is required.

Reason: Reputation-Viruses

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: UV-Forecast down?
« Reply #13 on: August 12, 2014, 01:47:17 PM »
I ran the IPs through the blacklist scanner at http://mxtoolbox.com/blacklists.aspx and they're not on any blacklist.

It's likely a local temis.nl block, not a blacklisted entry causing the issue with the e-rice.net servers.

Queries from the e-rice.net IP addresses get a response from their server (a 200 OK), but a entry where the data should be saying "<p>*** Access denied, please contact the TEMIS team<br>".  That indicates that some database at temis.nl has the IP addresses on a deny list, and only they can remove it.  :(

There are a lot of Weather-Display template websites hosted by e-rice.net, and I fear that many of them had not fully set-up the ./cache/ directory in their server with 777 permissions (thereby causing the cache to be non-functional).  Because of a non-functional cache, every time the get-UV-forecast-inc.php script runs, it has to fetch data from temis.nl (instead of only fetching once per hour if the cache were functional).  This both slows down the personal weather website, and creates a lot of traffic from e-rice.net to temis.nl, and they (TEMIS) likely got tired of it, and did a data-block on the IP addresses causing the extra traffic.  Just my hunch...

Best regards,
Ken
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 miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4108
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: UV-Forecast down?
« Reply #14 on: August 12, 2014, 03:12:04 PM »
I decided to just put in the maps from the EPA.

http://www2.epa.gov/sunwise/uv-index





Here is my page now:

http://sunrisesideweather.com/wxuvforecast.php

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline Ian.

  • Forecaster
  • *****
  • Posts: 460
    • Chatteris Weather
Re: UV-Forecast down?
« Reply #15 on: August 13, 2014, 11:07:18 AM »
I have had a further reply from TEMIS after I clarified my first mail to Ronald, it looks encouraging:

Hi Ian,

The problem is that I got a request for the same location (32.979 N,
-96.567 W)
every 10 seconds from this IP address, which was overloading our system.
Since it turns out a problem for other UV index users, I will try to
find another solution
and unblock this IP address.

Best regards,
Ronald


« Last Edit: August 13, 2014, 12:41:42 PM by redpis »
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz

Offline Mearns

  • Senior Member
  • **
  • Posts: 61
    • Glenbervie Weather
Re: UV-Forecast down?
« Reply #16 on: August 13, 2014, 12:24:37 PM »
Looks like it's all sorted - my uv forecast is back up and running and looking at other sites it seems the problem has been corrected. \:D/

Bing Maps puts the culprit just to the north-east of Dallas,Tx.
« Last Edit: August 13, 2014, 12:41:33 PM by Mearns »
Tony
Glenbervie, North East Scotland, http://www.glenbervie-weather.org

Vantage Pro 2 - Weather Display 10.37S Build 81

Offline Ian.

  • Forecaster
  • *****
  • Posts: 460
    • Chatteris Weather
Re: UV-Forecast down?
« Reply #17 on: August 13, 2014, 12:27:59 PM »
Yeah...Just checked as prompted by Mearns

Great News

Thanks Ronald
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4108
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: UV-Forecast down?
« Reply #18 on: August 13, 2014, 12:32:19 PM »
Mine is working again as well. I spliced in the EPA (US) maps just for giggles...

Greg H.



Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF