Viewer connection issue on "Negotiate Protocol"

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX.

Viewer connection issue on "Negotiate Protocol"

Postby proceno72 » 2012-05-17 16:20

I'm testing ChunkVnc 3.3.1 on Lan.
Repeater (vers. 108 bundled with chunkvnc) running on Windows 2008 Server (ip 192.168.10.16), listening on standard ports 443 and 5901.
On Pc1 run InstantSupport.exe and it seems ok, on Pc2 run ChunkViewer.exe and connection stops on "Negotiate Protocol" message.
No firewall or antivirus software on both pc and Windows 2008 with repeater.
Monitoring network traffic I can see correct tcp connections on ports 443-5901; on repeater log i can see correct id added for viewer and server (except for a "Reading Proxy settings erro" message).
Running viewer directly with command line with:
Code: Select all
vncviewer.exe -loglevel 10 -logfile vncviewer.log -proxy 192.168.10.16:5901 ID:438989 -quickoption 3 -autoscaling -keepalive 1 -dsmplugin SecureVNCPlugin.dsm -password 12345678

obtained this log:
Code: Select all
Started and Winsock (v 2) initialised
bufsize expanded to 4352
Registered connection with app
Connected to 192.168.10.16 port 5901
DSMPlugin enabled
Connected to proxy
Connected to RFB server, using protocol version 3.0
rdr::Exception (2): rdr::SystemException: read: Unknown error (10053)
Error reading protocol version: Server closed connection

-The server running as application
WndProchwnd ChangeClipboardChain hwnd 0x00240866 / m_hwndcn 0x00240866, 0x00000000 (0)
Deregistered connection from app
Exiting
VNC viewer closing down

So I grabbed command-line for server (InstantSupport.exe) with sysinternals process explorer utility, and I tried runnig it in "manual mode".
I use:
Code: Select all
InstantSupportVNC.exe -httpproxy -autoreconnect ID:250000 -connect 192.168.10.16:443 -run

Now ChunkViewer.exe works perfect !!!!!
Why I can't use compiled autoit exe InstantSupport.exe?
proceno72
 
Posts: 4
Joined: 2009-06-12 23:18

Re: Viewer connection issue on "Negotiate Protocol"

Postby KevCar » 2012-05-17 17:05

Having the same issue. Running version 3.3.1. Think I will revert back to a previous version as I had very little problems with that one. I am using ports 5 U901 and 5500. Set on mode 1 & 2. Can see them connect but when running the viewer It stays on negotiating protocol version. No password prompt. UPDATE! as I am writing this I finally got a password prompt. Closed the viewer and tried to connect again. Timeout. Opened it back up and it connected. I think I noticed this when I started using 3.3.1. Not sure what is taking it so long. The internet connection is fast on both ends.
KevCar
 
Posts: 6
Joined: 2011-07-26 01:43

Re: Viewer connection issue on "Negotiate Protocol"

Postby KevCar » 2012-05-17 17:21

Believe this might have to do with a customized InstantSupport.exe. I recreated it and it seems to be working now. Will try and customize this one and see what happens.
KevCar
 
Posts: 6
Joined: 2011-07-26 01:43

Re: Viewer connection issue on "Negotiate Protocol"

Postby supercoe » 2012-05-17 17:24

Glad it seemed to resolve itself, let me know if you still have issues. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
User avatar
supercoe
Super-Mod
Super-Mod
 
Posts: 1735
Joined: 2009-07-20 21:27
Location: Walker, MN

Update: Viewer connection issue on "Negotiate Protocol"

Postby proceno72 » 2012-05-18 11:18

Yes, the problem was my customization of InstantSupport.au3.
Restored original file, recompiled and now it works.
In my customized version of Instansupport.au3, there was a line like this
Code: Select all
$sData = InetRead("http://www.mywebsite.com/ver_instantsupport.txt")

to retrive the version string of my updated exe (to implement a sort of auto-check of new release).
It seems that InetRead autoit function breaks vncserver (?!).
proceno72
 
Posts: 4
Joined: 2009-06-12 23:18


Return to ChunkVNC

Who is online

Users browsing this forum: No registered users and 2 guests

cron