Steve created a new topic ' SkyX Connection Problem' in the forum. 4 years ago

Hi,

Due to some annoying and apparently unfixable SBIG driver issues (can't connect my ST-i and my ST-8300M to theSkyX simultaneously), I'm trying to use indiserver to connect PHD2 to TheSkyX so that I can use my ST-i for guiding with dithering and theSkyX to drive my scope; I've written a python script that controls both theSkyX and PHD2 via their servers. I was able to connect PHD2 to theSkyX and slew the scope with PHD2. Now I can't seem to connect to the Sky with the Paramount indi driver. If I try to connect when theSkyX is not connected to the telescope, I can see that theSkyX successfully connects to the telescope but PHD2 doesn't say that it's connected to theSkyX and indi says there was a handshake failure. By the way, TCP server is enabled in theSkyX and I know it's communicating as I'm using it with my Python script. I'm even using the same "sky6RASCOMTele.IsConnected" command in my script successfully. Note that my script was not running at the same time that I was attempting this.

I'm using an RPi4 4GB with Raspbian Buster. I'm using Radek Kaczorek's indiserver repository.

Here's the interesting part of the log:

2020-05-02T21:15:09: Driver indi_paramount_telescope: read message Paramount   '[INFO] Connecting to localhost@3040 ...'
2020-05-02T21:15:09: Client 0: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 5: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Driver indi_paramount_telescope: read message Paramount   '[DEBUG] Connection successful, attempting handshake...'
2020-05-02T21:15:09: Client 0: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 5: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 0: sending msg copy 2 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[INFO] Connecting to localhost@3040 ..."/>

2020-05-02T21:15:09: Client 5: sending msg copy 1 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[INFO] Connecting to localhost@3040 ..."/>

2020-05-02T21:15:09: Driver indi_paramount_telescope: read message Paramount   '[DEBUG] CMD: /* Java Script */var Out;sky6RASCOMTele.ConnectAndDoNotUnpark();Out = sky6RASCOMTele.IsConnected;'
2020-05-02T21:15:09: Client 0: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 5: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 0: sending msg copy 2 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[DEBUG] Connection successful, attempting handshake..."/>

2020-05-02T21:15:09: Client 5: sending msg copy 1 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[DEBUG] Connection successful, attempting handshake..."/>

2020-05-02T21:15:09: Client 0: sending msg copy 2 nq 1:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[DEBUG] CMD: /* Java Script */var Out;sky6RASCOMTele.ConnectAndDoNotUnpark();Out = sky6RASCOMTele.IsConnected;"/>

2020-05-02T21:15:09: Client 5: sending msg copy 1 nq 1:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[DEBUG] CMD: /* Java Script */var Out;sky6RASCOMTele.ConnectAndDoNotUnpark();Out = sky6RASCOMTele.IsConnected;"/>

2020-05-02T21:15:09: Driver indi_paramount_telescope: read message Paramount   '[ERROR] Error reading from TheSky6 TCP server.'
2020-05-02T21:15:09: Client 0: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 5: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Driver indi_paramount_telescope: read message Paramount   '[DEBUG] Handshake failed.'
2020-05-02T21:15:09: Client 0: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 5: queuing <message device='Paramount' name=''>
2020-05-02T21:15:09: Client 0: sending msg copy 2 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[ERROR] Error reading from TheSky6 TCP server."/>

2020-05-02T21:15:09: Client 5: sending msg copy 1 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[ERROR] Error reading from TheSky6 TCP server."/>

2020-05-02T21:15:09: Driver indi_paramount_telescope: read setSwitchVector Paramount CONNECTION Alert
    CONNECT='Off'
 DISCONNECT='On'
2020-05-02T21:15:09: Client 0: queuing <setSwitchVector device='Paramount' name='CONNECTION'>
2020-05-02T21:15:09: Client 5: queuing <setSwitchVector device='Paramount' name='CONNECTION'>
2020-05-02T21:15:09: Client 0: sending msg copy 2 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[DEBUG] Handshake failed."/>

2020-05-02T21:15:09: Client 5: sending msg copy 1 nq 2:
<message device="Paramount" timestamp="2020-05-02T21:15:09" message="[DEBUG] Handshake failed."/>

2020-05-02T21:15:09: Client 0: sending msg copy 2 nq 1:
<setSwitchVector device="Paramount" name="CONNECTION" state="Alert" timeout="60" timestamp="2020-05-02T21:15:09">
    <oneSwitch name="CONNECT">
Off
    </oneSwitch>
    <oneSwitch name="DISCONNECT">
On
    </oneSwitch>
</setSwitchVector>

2020-05-02T21:15:09: Client 5: sending msg copy 1 nq 1:
<setSwitchVector device="Paramount" name="CONNECTION" state="Alert" timeout="60" timestamp="2020-05-02T21:15:09">
    <oneSwitch name="CONNECT">
Off
    </oneSwitch>
    <oneSwitch name="DISCONNECT">
On
    </oneSwitch>
</setSwitchVector>

Any thoughts greatly appreciated.

Regards,

Steve

Read More...