Scottish Weather Network Forum
January 22, 2018, 08:34:42 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the Scottish Weather Network Forum
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Multiple 'offline' occurrences yet clientraw running smoothly  (Read 5851 times)
0 Members and 1 Guest are viewing this topic.
Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« on: October 26, 2014, 01:37:05 PM »

In the past I've noticed that sometimes my station shows offline on SCWN very occasionally even though clientraw is up and running.  However today, even though my website has been running okay continuously, on SCWN my station reports have been online and offline several times - and this is the same on UKWN and EWN.

Clientraw has been running faultlessly here on my website.  Could this be something to do with having been forced to change website hosts due to the sudden disappearance of E-Rice?  I'm now with iPage.  Clientraw is published to the root directory of my site on iPage and that is where all my files are.

Edit:..I turn my computer off overnight and today when I ran WD etc my station data on SCWN, UKWN and EWN is showing last night's information rather than initially showing 'offline' Huh.  I also upload to Weather Underground and that is uploading okay.

Edit again -... and now at 1220 all is working okay! Very confused!

Edit again....and by 1335 old information is being shown.  It's as though my clientraw.txt is only being updated occasionally.  SCWN, UKWN and EWN are the only sites affected.  My website, WU and WOW all are receiving clientraw okay.  The latter three of course all have the file uploaded by WD whereas the former three all - I think - pull the data themselves.

My site is www.glenbervie-weather.org
« Last Edit: October 27, 2014, 01:43:29 PM by Mearns » Logged
Budgie
Administrator
Noctilucent
*****
Offline Offline

Posts: 806



WWW
« Reply #1 on: October 27, 2014, 09:37:07 PM »

When I checked it this evening it was working fine.  Grin

What can sometimes happen is that the SCWN, UKWN or EWN servers try to fetch your clientraw file at the same time as it's being uploaded/overwritten on your server, so the request for the file is denied because it's not available. The network servers will only try once every 5 minutes to fetch the clientraw file so the station may show as "offline" during that time because the network server hasn't found new data. If you check back 5 or 10 minutes later you should find that data is showing again because there has been a fresh update.

WU and WOW use different data to that in the clientraw file and both have the data "pushed" to them, so shouldn't be effected and your own site will have priority over the use of the clientraw so you won't seen any effect either.  Wink
Logged

Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« Reply #2 on: October 27, 2014, 11:38:09 PM »

Thanks for the reply, Martin.  It's working okay at the moment - there were some considerable gaps yesterday and it was odd how for 4 hours after I turned the computer on this morning it was showing information from when my overnight shutdown took place at 0030.
Logged
Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« Reply #3 on: October 28, 2014, 10:52:23 AM »

My station report on the mesomap has been stuck on the same data for more than two hours, yet clientraw.txt is updating my website every few seconds. If I go to www.glenbervie-weather.org/clientraw.txt it is showing the file time as 0828 or 0837 -changes each time I click on the file - (over two hours ago) which is presumably what is showing on the mesomap. The clientraw.txt file time on the iPage server is right up to date. Can't figure this out. Huh Must be something to do with my hosting change from e-rice to iPage?? I have caching turned off at the iPage control panel.

Aargh! Now the mesomap data is suddenly up to date (at 1115) but clicking on the clientraw.txt link above it still shows 0828......
« Last Edit: October 28, 2014, 11:16:25 AM by Mearns » Logged
Budgie
Administrator
Noctilucent
*****
Offline Offline

Posts: 806



WWW
« Reply #4 on: October 29, 2014, 03:19:34 PM »

It seems to be an upload or caching issue on your server.
I've just had another look and, although your data is show on the map and the SCWN server is processing the clientraw as being up to date, the time is now 15:02 but the time of the clientraw is 12:22:18, which I confirmed by accessing the clientraw file direct on your website.

Have a look at the WD Real time FTP program and see if there are any errors showing on the screen when it's trying to upload the file to your server. Just right click on the icon in the task bar and click on "Show" to open the window. Then you'll see the live updates being sent to the server.

Another thing to check is; do you have passive mode selected for the uploads? Control Panel > Web Files/ Web Page / Real Time FTP > Real Time Client FTP - tick the box marked "Rename the file as a temporary file"
Try unticking it if it's ticked or tick if unticked.   
Logged

Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« Reply #5 on: October 29, 2014, 11:44:56 PM »

Thanks for all the suggestions.  There are no errors in the WD real time FTP uploads.  Passive mode is selected (as is Rename the file on the server after uploading).  Neither of these selections have changed for years.

I have ticked Rename the file as a temporary file - it was unticked.

The clientraw file times on the iPage server are always right up to date.

Just for info - at 2307 I looked at my clientraw file on my website and it showed 2307 with current data.  I then refreshed the address and it showed the file time and old data as 2000.  The data on SCWN was old.  I disabled caching in the iPage control panel yesterday but this hasn't made any difference.

Looks like I shall have to get iPage support on this one if nothing has changed when I turn my computer on in the morning.
« Last Edit: October 29, 2014, 11:46:57 PM by Mearns » Logged
Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« Reply #6 on: October 30, 2014, 01:24:40 PM »

Martin - no change this morning.  I had 40 minutes on the phone just now with iPage support concerning the clientraw.txt problem.  The conclusion was that they do not support Ajax Grid - or maybe Grip, it was a bad line.  Edit: In hindsight probably a reference to the ajax dashboard when they delved into my website.

I don't understand the comment but possibly you will.  I thought it was a case of a simple upload of a file which was being cached somehow but it seems there is no solution available as things stand.

So do SCWN etc want to continue to upload my clientraw.txt and accept the delays - up to 4 hours today before my the file updated on SCWN - or maybe you would rather remove my station from your SCWN and UKWN mesomaps due to the incorrect data?  I'm OK with whatever you decide.

Cheers

Tony

Edit:  re-reading Step 1b of your installation instructions would it be worthwhile me trying the 'stickertags.txt' option in the WD Webfiles directory? Somehow I think we would have the same issue though?
« Last Edit: October 30, 2014, 08:54:42 PM by Mearns » Logged
Budgie
Administrator
Noctilucent
*****
Offline Offline

Posts: 806



WWW
« Reply #7 on: October 30, 2014, 11:12:16 PM »

Thanks for the update Tony.

The stickertags.txt is for Weatherlink users and may lead to the same issues.
I would leave it as it is for now and remain on both networks. I am aware of the issue and the data does get updated from time to time so I don't have a problem with it. As long as it's not effecting anything on your own site.

For future reference, I use Virtual Names for my sites and both networks.  Wink
Logged

Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« Reply #8 on: October 31, 2014, 09:44:38 AM »

Thanks Martin.  I've had a look at Virtual Names and like what I see.  The annual 20 deal would be enough for me and is only marginally more expensive than the 51 initial 3 year deal I have with iPage.  Once I can steel myself to the thought of changing hosts again I think I will invoke the iPage 'money back anytime' guarantee and move to Virtual Names.

I had posted on the Weather Watch forum also and niko came back with this today:

I think you will continue to see problems with ipage. www.glenbervie-weather.org doesn't go directly to "your" webserver, it goes to an Akamai edge server. See the "Content Delivery Process" section in this Wikipedia Akamai article for some insight into how that works.



I also found this in a corner of the iPage control panel: "Akamai is an edge server caching solution, aimed to speed up your site's load times across the globe. When you add a subdomain to point to Akamai's servers, your site's images, CSS and javascript will be cached for up to 4 hours on Akamai's edge servers around the world."

There is no choice but to use the Akaimai servers.
« Last Edit: October 31, 2014, 11:26:27 AM by Mearns » Logged
Mearns
Nimbostratus
**
Offline Offline

Posts: 11


WWW
« Reply #9 on: November 01, 2014, 09:49:52 AM »

Ditched iPage, got a refund and am now with Virtualnames. My station details seem to be up and running on the mesomap.
Logged
Budgie
Administrator
Noctilucent
*****
Offline Offline

Posts: 806



WWW
« Reply #10 on: November 01, 2014, 09:04:14 PM »

Excellent, and quick as well.  Grin
Virtualnames only has a basic control panel but it includes a lot of stuff you would pay extra for with other hosts, like MySQL, inclusion of WordPress and other website scripting and they allow .htaccess and cronjobs as well.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
count