Cant connect SGP to PHD2

Hey Guys,

Bought your SGP program. I’m trying to run the sequence generator and it starts up and attempts to access PHD2 and just times out. Like it can’t communicate with PHD or find it. Here the log.

016-09-25 12:03:55 AM] [DEBUG] [Sequence Thread] Restoring system standby state…
[2016-09-25 12:04:06 AM] [DEBUG] [PHD2 Listener Thread] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status…
[2016-09-25 12:04:06 AM] [DEBUG] [PHD2 Listener Thread] Checking PHD2 state…
[2016-09-25 12:04:06 AM] [DEBUG] [PHD2 Listener Thread] PHD2 GetPhdStatus - Pre-Wait : Stopped
[2016-09-25 12:04:06 AM] [DEBUG] [PHD2 Listener Thread] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[2016-09-25 12:04:06 AM] [DEBUG] [PHD2 Listener Thread] PHD2 GetPhdStatus - Post-Wait: Stopped
[2016-09-25 12:04:16 AM] [DEBUG] [PHD2 Listener Thread] Attempting to connect to PHD2…
[2016-09-25 12:04:17 AM] [DEBUG] [PHD2 Listener Thread] Failed to establish client connection to PHD2 using port 4400: No connection could be made because the target machine actively refused it 127.0.0.1:4400
[2016-09-25 12:04:21 AM] [DEBUG] [PHD2 Listener Thread] Failed to establish client connection to PHD2 using port 4400: No connection could be made because the target machine actively refused it 127.0.0.1:4400
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] Could not etablish a connection to PHD2! Aborting…
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] PHD2 - Could not get a status message in more than 1 minute, attempting to force reconnection…
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] Checking PHD2 state…
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] PHD2 GetPhdStatus - Pre-Wait : BadConnection
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] PHD2 GetPhdStatus - Post-Wait: BadConnection
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] PHD2 connection terminated…
[2016-09-25 12:04:24 AM] [DEBUG] [PHD2 Listener Thread] Exiting PHD2 listener…
[2016-09-25 12:04:54 AM] [DEBUG] [Main Thread] PopulateDataModel: Transferring view to the data model…
[2016-09-25 12:04:54 AM] [DEBUG] [Main Thread] Performing serialize…
[2016-09-25 12:05:10 AM] [DEBUG] [Main Thread] Sending to PHD2:
{“method”:“set_connected”,“params”:[false],“id”:1007}

[2016-09-25 12:05:12 AM] [DEBUG] [CP Update Thread] Caught exception in CanPierFlipNow : Object reference not set to an instance of an object.
at fp.gy()
[2016-09-25 12:05:22 AM] [DEBUG] [CP Update Thread] Caught exception in CanPierFlipNow : Object reference not set to an instance of an object.
at fp.gy()
[2016-09-25 12:05:26 AM] [DEBUG] [Main Thread] PopulateDataModel: Transferring view to the data model…
[2016-09-25 12:05:26 AM] [DEBUG] [Main Thread] Performing serialize…
[2016-09-25 12:05:26 AM] [DEBUG] [Main Thread] Sending to PHD2:
{“method”:“set_connected”,“params”:[false],“id”:1007}

[2016-09-25 12:05:26 AM] [DEBUG] [Filter Wheel Thread] Filter Wheel Dispatch loop: Received SGM_TERMINATE…
[2016-09-25 12:05:26 AM] [DEBUG] [Camera Thread] Camera Dispatch loop: Received SGM_TERMINATE…
[2016-09-25 12:05:26 AM] [DEBUG] [Telescope Thread] Telescope Dispatch loop: Received SGM_TERMINATE…
[2016-09-25 12:05:26 AM] [DEBUG] [TEC Thread] TEC Dispatch loop: Received SGM_TERMINATE…
[2016-09-25 12:05:26 AM] [DEBUG] [Focuser Thread] Focuser Dispatch loop: Received SGM_TERMINATE…
[2016-09-25 12:05:26 AM] [DEBUG] [Sequence Thread] Dispatch loop: Received SGM_TERMINATE…
[2016-09-25 12:05:26 AM] [DEBUG] [Auto Guider Thread] Auto Guider Dispatch loop: Received SGM_TERMINATE…

What are my next steps?

Much appreciated. Oh, using Microsoft Surface Pro 3 running Windows 10

Walter

Hi Walter,
Please see this post on how to ask for help.

In addition to the link @joelshort posted, you might need to look at allowing an exception for PHD2 in whatever firewall software you are using.