From: Xiaohu Hu (xiaohu.hu_at_mssm.edu)
Date: Wed Oct 04 2017 - 16:09:27 CDT

Hi John!

I solved the problem by following your suggestion - I recomplied the VMD
against the VRPN 7.33 (same version as the server) and it worked after
that. Thanks again for this advice!

Best,

Xiaohu

On 10/03/2017 02:44 PM, Xiaohu Hu wrote:
> Thanks John!
>
> I really appreciate it! If could could give me some instructions and
> hints, I could try to build it myself.
>
>
> Best,
>
>
> Xiaohu
>
>
> On 10/03/2017 02:41 PM, John Stone wrote:
>> Hi,
>>    I followed up with Xiaohu on the VRPN mailing list, this is most
>> likely a VRPN version incompatibility issue.  Compatibility generally
>> requires both the VRPN server and VMD client to be compiled with
>> the same VRPN version.  I'll see if I can produce a test build of
>> VMD compiled against VRPN 7.33 soon.
>>
>> Best,
>>    John Stone
>>    vmd_at_ks.uiuc.edu
>>
>> On Mon, Oct 02, 2017 at 03:58:03PM -0400, Xiaohu Hu wrote:
>>> Sorry, the repreating error messages should be this:
>>>
>>>
>>> On the server:
>>>
>>> vrpn: Connection request received from xx.xx.xx.xxx: 51469
>>> vrpn_Endpoint::connect_tcp_to: Could not connect to machine port 51469
>>> Winsock error: 10061
>>> vrpn_Endpoint::setup_new_connection:  Can't write cookie.
>>> vrpn_Connection_IP::handle_connection():  Can't set up new connection
>>>
>>>
>>> and on the VMD console:
>>>
>>> from Phantom: No response from server for >= 10 second
>>>
>>>
>>> On 10/02/2017 02:30 PM, Xiaohu Hu wrote:
>>>> Dear all,
>>>>
>>>> I am seeing a strange network error when I tried to use VRPN to
>>>> connect a sensible phantom haptic device to another computer
>>>> running the software. So I have this following setup:
>>>>
>>>> - A windows 7 machine running VRPN server 7.33, the haptic device
>>>> is connected to the windows machine and is properly configured. I
>>>> used the vrpn_print_devices.exe command to verfied it.
>>>>
>>>> - A second linux computer running ubuntu 16.04 has the software
>>>> VMD installed on it which should connect to the VRPN server on the
>>>> win7 machine. The goal is to use the haptic device as a input
>>>> device for the IMD that will be ran on the linux machine.
>>>>
>>>> Everything seems fine until when I try to connect to the VRPN
>>>> server from the linux machine. On the server screen, I see the
>>>> following repeating error message:
>>>>
>>>> vrpn: Connection request received from xx.xx.xx.xxx:
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.1.1&d=DwIDaQ&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=7ENtYXMunETrrqLHllF6gWgCW4SdjZ5SXTQ1zp04j-A&s=HqzZxYyEQS_mWHHjepXn8Xz1VGDEAcLbldpxRtmA1wk&e=
>>>> 51469
>>>> vrpn_Endpoint::connect_tcp_to: Could not connect to machine
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.1.1&d=DwIDaQ&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=7ENtYXMunETrrqLHllF6gWgCW4SdjZ5SXTQ1zp04j-A&s=HqzZxYyEQS_mWHHjepXn8Xz1VGDEAcLbldpxRtmA1wk&e=
>>>>
>>>> port 51469
>>>> Winsock error: 10061
>>>> vrpn_Endpoint::setup_new_connection:  Can't write cookie.
>>>> vrpn_Connection_IP::handle_connection():  Can't set up new connection!
>>>>
>>>> meanwhile on the linux machine I see this repeating error message
>>>> on the vmd console:
>>>>
>>> >from Phantom: No response from server for >= 10 seconds
>>>> It seems that the vmd on the linux machine is trying to make a
>>>> request to connect to the VRPN server, which is received by the
>>>> VRPN server, but when the server tries to talk back to the vmd, it
>>>> gets denied for some reason (ergo the winsock 10061 error?). I
>>>> have turned off the firewalls on both machines and the same thing
>>>> still happens.
>>>>
>>>> I am wondering whether it is a VRPN issue or a network issue, both
>>>> computers are connected to the same network, they should be on the
>>>> same subnet. I am wondering if anyone else has seen similar error?
>>>> Any help here is appreciated, and much thanks in advance!
>>>>
>>>> Best,
>>>>
>>>> Xiaohu
>>>>
>>> --
>>>
>>> Xiaohu Hu
>>> Postdoctoral Fellow
>>> Department of Pharmacological Sciences
>>> Icahn School of Medicine at Mount Sinai
>>> Email: xiaohu.hu_at_mssm.edu
>

-- 
Xiaohu Hu
Postdoctoral Fellow
Department of Pharmacological Sciences
Icahn School of Medicine at Mount Sinai
Email: xiaohu.hu_at_mssm.edu