Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Viewer connection issue on "Negotiate Protocol"

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
proceno72
Posts: 4
Joined: 2009-06-12 23:18

Viewer connection issue on "Negotiate Protocol"

Post by proceno72 »

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?
KevCar
Posts: 6
Joined: 2011-07-26 01:43

Re: Viewer connection issue on "Negotiate Protocol"

Post by KevCar »

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"

Post by KevCar »

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.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Viewer connection issue on "Negotiate Protocol"

Post by supercoe »

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!
proceno72
Posts: 4
Joined: 2009-06-12 23:18

Update: Viewer connection issue on "Negotiate Protocol"

Post by proceno72 »

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 (?!).
Post Reply