none
server rpc is not available RRS feed

  • Question

  • Hi!

    I develop OPC-server for WEC2013-based device (x86). Components "COM" and "DCOM" are added to the system. Also in addition I added some new keys (dcom did not work without it):

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc]
        "DCOM Protocols"=multi_sz:"ncacn_ip_tcp"

    [HKEY_LOCAL_MACHINE\Software\Microsoft\OLE]
        "EnableDCOM"="Y"

    [HKEY_LOCAL_MACHINE\COMM\SecurityProviders\NTLM]
        "NoLmHash"=dword:0

    So for testing my OPC-server I use Matrikon OPC-client. Now I have that after successful connection, my server runs about 5-6 minutes after which Matrikon reports an error:

    error string!

    Error string: Server rpc is not available

    Additional: Could not get status

    The last lines of trace written in wireshark:

    4410    361.225717    10.56.2.106    10.56.2.113    DCERPC    190    Response: call_id: 1630, Fragment: Single, Ctx: 4 IOPCServer V0

    4411    361.226063    10.56.2.113    10.56.2.106    DCERPC    126    Request: call_id: 1631, Fragment: Single, opnum: 3, Ctx: 5 IOPCGroupStateMgt V0

    4412    361.226320    10.56.2.106    10.56.2.113    DCERPC    142    Response: call_id: 1631, Fragment: Single, Ctx: 5 IOPCGroupStateMgt V0

    4413    361.256372    10.56.2.113    10.56.2.106    DCERPC    154    Request: call_id: 1632, Fragment: Single, opnum: 3, Ctx: 9 IOPCSyncIO V0

    4414    361.256685    10.56.2.106    10.56.2.113    DCERPC    330    Response: call_id: 1632, Fragment: Single, Ctx: 9 IOPCSyncIO V0

    4415    361.458993    10.56.2.113    10.56.2.106    TCP    54    50080 → 49226 [ACK] Seq=128411 Ack=232093 Win=65024 Len=0

    4416    361.740212    10.56.2.113    10.56.2.106    DCERPC    126    Request: call_id: 1633, Fragment: Single, opnum: 6, Ctx: 4 IOPCServer V0

    4417    361.943085    10.56.2.106    10.56.2.113    TCP    60    49226 → 50080 [ACK] Seq=232093 Ack=128483 Win=64768 Len=0

    4418    362.188024    10.56.2.106    10.56.2.113    TCP    60    49226 → 50080 [RST, ACK] Seq=232093 Ack=128483 Win=0 Len=0

    4419    362.188077    10.56.2.106    10.56.2.113    TCP    60    49226 → 50081 [RST, ACK] Seq=153 Ack=189 Win=0 Len=0

    Could you please tell me what my mistake is?

    Tuesday, August 7, 2018 1:52 PM