Geminiclose
Gemini Password Reset

Please provide your username.

A password reset confirmation email will be sent to your email address.

Username
  • Projects

 
ACP-1337 - System Status Refresh Occasionally Stops
Estimated: 6 Hours 0 Minutes   Logged: 6 Hours 0 Minutes   Time Left: 0 Hours 0 Minutes
Print  |  Send  |  Refresh  |  Url
Type: Bug Bug
Priority: High High
Severity: Minor Minor
Status: Closed Closed
Resolution: Complete
Resources: Bob Denny
Reported By: Bob Denny
Component: Browser Content
Fixed In Version: 8.0
Versions Affected: 7.2
Start Date: 4/13/2015
Percent Complete:
Created:  4/13/2015 5:11:30 PM
Revised:
 6/19/2015 12:12:38 PM
Closed:  6/19/2015 12:12:38 PM
Resolved:  6/19/2015 12:12:34 PM

This has been an annoying problem which I haven't been able to repro here until today. Since we leave for NEAF in a day and a half, the tea leaves lined up to cause the System Status display to quit whenever I was running as 127.0.0.1. Repeatable.

A long story, but the primary problem is that once in a blue moon the HTTP engine in ACP (Dart PowerTCP WebServer) returns the contents of the ASP script instead of firing its Get() event which causes the ASP page to be run and generate the JSON output for the SysStat.

Now for the fun part: Once that raw ASP source gets into the browser's cache, subsequent 6 second-interval GETs for the system status info instead return the cached copy of the raw ASP source. Never again does it ask for info from the webserver.

The cure is twofold:
  1. Switch to using the POST method to fetch the JSON, and
  2. Add (in the AJAX library) a header Cache-Control: no-cache to all POST requests.