Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Connection failed - Error reading Protocol Version

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
bo_hog
Posts: 1
Joined: 2007-05-21 19:27
Location: Tuscaloosa, Alabama
Contact:

Connection failed - Error reading Protocol Version

Post by bo_hog »

Connection failed - Error reading Protocol Version

We are having a problem with UltraVNC SC MSRC4Plugin_NoReg.dsm on a Win 98 SE box running IE 6.
The UltraVNC SC exe file works fine for 25+ other PCs including other Win 98 boxes.
On this PC when we run the exe to connect it just hangs there until we close the icon, then an error comes up on the viewer PC saying "Connection failed - Error reading Protocol Version".

We took out the MSRC4Plugin_NoReg.dsm and the connection works fine.
We downloaded the crypto.exe from the web site for the plugin and when we ran "crypto -x" we got the error message "Error 57 during CryptGetKeyParam"

We have reinstalled IE 6.0 and it did not help.

Thanks in advance for any suggestions to try.
Leprechaun
Posts: 1
Joined: 2007-06-02 18:44

Re: Connection failed - Error reading Protocol Version

Post by Leprechaun »

I'm having the same problem on a slightly different setup. I'm running Windows XP on both boxes (box running vncviewer and box running UltraVNC SC). Both boxes have all critical updates and IE7 installed.

I'm using UltraVNC 1.02 and MSRC4Plugin 1.2.2. I have tried creating the SC executable with both the RC23 and REL1.00 creators (the result was the same).

Connecting without encryption, works just fine.

Here are the logs for the connection - hopefully they can shed some light on the problem.

vncviewer.log (loglevel 9):

Code: Select all

Started and Winsock (v 2) initialised
In listening mode - staring daemons
Adding tray icon
bufsize expanded to 4352
Registered connection with app
rdr::Exception (2): rdr::EndOfStream
Error reading protocol version: rdr::EndOfStream
Deregistered connection from app
Checking tray icon
Exiting
Deleting tray icon
VNC viewer closing down
msrc4.log:

Code: Select all

06/02/07 13:51:12 : StartUp
06/02/07 13:51:12 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.2.2.0,MSRC4Plugin_NoReg.dsm
06/02/07 13:51:12 : Trying to find the key file
06/02/07 13:51:12 : GetEnvVar (registry) programfiles = C:\Program Files 
06/02/07 13:51:12 : Looking at msrc4pluginkey
06/02/07 13:51:12 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
06/02/07 13:51:12 : pluginkey "c:\program files\UltraVNC\rc4.key"
06/02/07 13:51:12 : GetModuleFileName C:\Program Files\UltraVNC\vncviewer.exe
06/02/07 13:51:12 : Looking for C:\Program Files\UltraVNC\rc4.key
06/02/07 13:51:12 : KEY FILE FOUND. Using key files.
06/02/07 13:51:12 : GetParams. NothingNeeded
06/02/07 13:51:12 : GetEnvVar (getenv) dsmdebug = 1 
06/02/07 13:51:12 : dsmdebug = 1
06/02/07 13:51:12 : Set Params
06/02/07 13:51:12 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.2.2.0,MSRC4Plugin_NoReg.dsm
06/02/07 13:51:12 : InitVars
06/02/07 13:51:12 : GetCryptoVersion.
06/02/07 13:51:12 : Acquiring the Crypto Context.
06/02/07 13:51:12 : CryptAcquireContext |0| |(null)| |(null)| |1| |-268435456|
06/02/07 13:51:12 : Crypto acquired a Crypto Provider Context. 
06/02/07 13:51:12 : Crypto Version = 2
06/02/07 13:51:12 : OS is 'Windows XP'
06/02/07 13:51:12 : Using provider ''
06/02/07 13:51:12 : Max Key Length 128
06/02/07 13:51:12 : GetEnvVar (registry) programfiles = C:\Program Files 
06/02/07 13:51:12 : SetParams - StartUp.
06/02/07 13:51:12 : ***** VIEWER Application *****
06/02/07 13:51:12 : Trying to find the key file
06/02/07 13:51:12 : Trying to find the key file
06/02/07 13:51:12 : GetEnvVar (registry) programfiles = C:\Program Files 
06/02/07 13:51:12 : Looking at msrc4pluginkey
06/02/07 13:51:12 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
06/02/07 13:51:12 : pluginkey "c:\program files\UltraVNC\rc4.key"
06/02/07 13:51:12 : GetModuleFileName C:\Program Files\UltraVNC\vncviewer.exe
06/02/07 13:51:12 : Looking for C:\Program Files\UltraVNC\rc4.key
06/02/07 13:51:12 : KEY FILE FOUND. Using key files.
06/02/07 13:51:12 : PrepContext
06/02/07 13:51:12 : Using VERIFY_CONTEXT
06/02/07 13:51:12 : CryptAcquireContext |268492560| || || |1| |-268435456|
06/02/07 13:51:12 : PrepContext
06/02/07 13:51:12 : Using VERIFY_CONTEXT
06/02/07 13:51:12 : CryptAcquireContext |268492564| || || |1| |-268435456|
06/02/07 13:51:12 : Reading KeyBlob
06/02/07 13:51:12 : Importing ExponentOfOne KeyBlob
06/02/07 13:51:12 : Importing KEY KeyBlob
06/02/07 13:51:12 : Reading KeyBlob
06/02/07 13:51:12 : Importing ExponentOfOne KeyBlob
06/02/07 13:51:12 : Importing KEY KeyBlob
06/02/07 13:51:12 : Key File Read.
06/02/07 13:51:34 : Shutting Down.
If anyone would like more information, please let me know.
Post Reply