Portal sometimes shows day old cached data
Portal sometimes shows day old cached data
I have noticed recently that the Portal sometimes shows day old data.
When I access the portal I get data from exactly 24 hrs previous, next time I might get the current data, or may not!
I have flushed my cache every time so I am fairly certain that the data is coming from the website cache and not local.
Just to make sure it was not local I tested access with IE9, Chrome, Mozilla Firefox, and Safari. Before opening each browser I cleared it's cache.
Any ideas
When I access the portal I get data from exactly 24 hrs previous, next time I might get the current data, or may not!
I have flushed my cache every time so I am fairly certain that the data is coming from the website cache and not local.
Just to make sure it was not local I tested access with IE9, Chrome, Mozilla Firefox, and Safari. Before opening each browser I cleared it's cache.
Any ideas
Re: Portal sometimes shows day old cached data
I have changed the page that the controller sends data to on the newest libraries.
Can you load your code with the 1.0.2 libraries to see if it helps?
Can you load your code with the 1.0.2 libraries to see if it helps?
Roberto.
Re: Portal sometimes shows day old cached data
I updated on the 12th to 1.0.2, and it seems that since then I have noticed the problem. However, I just checked the portal again and the date updated to today's date etc.
Re: Portal sometimes shows day old cached data
Straight away after my last post I went back to the portal page and it was ok, did a refresh and it went back to yesterday. See attached.
You can see the M/c time and date in bottom RH corner.
You can see the M/c time and date in bottom RH corner.
Re: Portal sometimes shows day old cached data
Did you make any changes yesterday morning?
Looking at the log, the last data I have from your controller is yesterday
Looking at the log, the last data I have from your controller is yesterday
Roberto.
Re: Portal sometimes shows day old cached data
No, the code today is the same as when I updated the libs on the 12th.
Re: Portal sometimes shows day old cached data
Hi Roberto,
I am still having issues.
When I do a page refresh, or go to the portal from another webpage, the correct date and time shows for a few seconds then the page displays the data from yesterday.
I have rebooted the RA, and the wifi unit is showing green and flashes the orange led's about every 8 to 10 pluses.
I can see today's live data in the iPad app, as well as the client software, so the wifi is sending data. I think I remember that the iPad app gets it's data from the web banner, so it's source is different to the portal.
I have refreshed my IP address, in DYNDNS. Also I have put my current IP address (xxx.xxx.xxx.xxx:2000) direct into the Portal without success. As well as xxxxxx.dyndns.org:2000.
I have also checked my port forwarding, although there is no reason why that should have changed.
I also have this code in my INO file.
Why is the portal not collecting and displaying the data is the question?
I am still having issues.
When I do a page refresh, or go to the portal from another webpage, the correct date and time shows for a few seconds then the page displays the data from yesterday.
I have rebooted the RA, and the wifi unit is showing green and flashes the orange led's about every 8 to 10 pluses.
I can see today's live data in the iPad app, as well as the client software, so the wifi is sending data. I think I remember that the iPad app gets it's data from the web banner, so it's source is different to the portal.
I have refreshed my IP address, in DYNDNS. Also I have put my current IP address (xxx.xxx.xxx.xxx:2000) direct into the Portal without success. As well as xxxxxx.dyndns.org:2000.
I have also checked my port forwarding, although there is no reason why that should have changed.
I also have this code in my INO file.
I think I have covered everything on my setup as being correct.// This should always be the last line
ReefAngel.Portal( "sebyte" );
ReefAngel.ShowInterface();
}
Why is the portal not collecting and displaying the data is the question?
Re: Portal sometimes shows day old cached data
I think it is the portal key.
I'm looking at the log and now that you posted the code, you are not sending the key that was setup in the portal.
I disabled it in your portal settings.
Let me know if it is still giving you problems.
I'm looking at the log and now that you posted the code, you are not sending the key that was setup in the portal.
I disabled it in your portal settings.
Let me know if it is still giving you problems.
Roberto.
Re: Portal sometimes shows day old cached data
I don't remember having set a Key in the past. It seems to be working now, so it looks like that was the issue.
Was there a change in v 1.02 in the area of the key?
Many thanks Roberto.
Was there a change in v 1.02 in the area of the key?
Many thanks Roberto.
Re: Portal sometimes shows day old cached data
no. nothing.
But looking at the past log, I do see that your controller was sending the key, so you must have changed the code and forgot to add the key.
But looking at the past log, I do see that your controller was sending the key, so you must have changed the code and forgot to add the key.
Roberto.
Re: Portal sometimes shows day old cached data
Strange, can you see what the key was set to? if so would you PM it to me please.