I have noticed in the v2.5.2.1 release notes that this bug fix was implemented:
Bug fix: Fixed an issue where centering (and meridian flips) might hang SGPro and report that the camera has timed out.
I wonder if this is related to my issue. It seems the pier flip occurred, but PHD was stopped? I'm having a hard time reading these logs and deciding what's normal and what's not. Here's the snippet around where everything went south:
[9/11/2016 3:20:49 AM] [DEBUG] [Pier Flip Thread] Meridian Flip: Procedure complete
[9/11/2016 3:21:00 AM] [DEBUG] [PHD2 Listener Thread] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status...
[9/11/2016 3:21:00 AM] [DEBUG] [PHD2 Listener Thread] Checking PHD2 state...
[9/11/2016 3:21:00 AM] [DEBUG] [PHD2 Listener Thread] PHD2 GetPhdStatus - Pre-Wait : Stopped
[9/11/2016 3:21:00 AM] [DEBUG] [PHD2 Listener Thread] Sending to PHD2:
{"method": "get_app_state", "id": 1001}
[9/11/2016 3:21:00 AM] [DEBUG] [PHD2 Listener Thread] PHD2 GetPhdStatus - Post-Wait: Stopped
[9/11/2016 3:21:51 AM] [DEBUG] [Sequence Thread] Blocking Pier Flip: Failed to meridian flip, aborting sequence (True)
[9/11/2016 3:21:51 AM] [DEBUG] [Sequence Thread] Adding sequence level notification: Failed to meridian flip, aborting sequence.
There's also a bunch of entries for lost communications with mount:
[9/11/2016 3:20:40 AM] [DEBUG] [CP Update Thread] ASCOM Telescope: Error in GetCurrentPos : Lost communications with mount. (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Lost communications with mount.
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 243)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 284
at ASCOM.DriverAccess.Telescope.get_RightAscension() in c:\ASCOM Build\Export\ASCOM.DriverAccess\Telescope.cs:line 769
at fp.f0(Boolean A_0)
and...
[9/11/2016 3:20:32 AM] [DEBUG] [CP Update Thread] ASCOM Telescope: Error in GetLst : Lost communications with mount. (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Lost communications with mount.
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 243)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 284
at ASCOM.DriverAccess.Telescope.get_SiderealTime() in c:\ASCOM Build\Export\ASCOM.DriverAccess\Telescope.cs:line 910
at fp.f4()