[ACP-971]  BlindSolver Keep-Alive Failures
Type Bug
Priority Medium
Severity Minor
Component BlindSolver Program
Fixed In Version [7.17.1
Versions Affected [7.07.0
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 6/14/2013

Description
See this Comm Center thread. Blind Solver fails randomly and often.

Comments
12/2/2013 8:32:56 PM   Bob Denny
Definitely works, now in PP6 anyway.
6/14/2013 2:50:21 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/etc
SVN Revision 128
Affected files /astrometry.net/trunk/BlindSolver/BlindSolver/Program.cs (Modified)
/astrometry.net/trunk/BlindSolver/BlindSolver/Properties/AssemblyInfo.cs (Modified)
Check-in comment Fix trapping of Keep-Alive timeouts, then disable Keep-Alive on all requests. GEM:971
6/14/2013 2:49:01 PM   Bob Denny
This turned out to be a cascade of errors. First, SendRequest() was not handling a Keep-Alive error. There was no response and it was trying to read it and it was null. I fixed that and then observed that the Keep-Alive errors were random. Sometimes it worked, sometimes not.

My conclusion is that their server has a 10 second Keep-Alive timeout and my polling interval for session and job are 10 seconds. Thus a race!! I programmatically disabled Keep-Alive on the requests.