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

SC failed to register with Repeater after couple of hours

Single Click discussions / bugs
Post Reply
nir_kornfeld
8
8
Posts: 13
Joined: 2005-03-30 20:00

SC failed to register with Repeater after couple of hours

Post by nir_kornfeld »

Hello.
I have a strange problem with the SC and the Repeater sevice (both the newest versions): Suddenly, after a few hours of many successful connections, the repeater stops receving registrations from the SCs.
I've built a debug SC with the following helpdesk.txt file:

Code: Select all

[DEBUG]
[HOST]
Nir Kornfeld
-id 10001 -connect 192.168.0.4:5500 -noregistry 
After creating this SC and running it, I got the following log:

Code: Select all

fh is 4
Mon Sep 05 10:02:03 2005
C:\c++\Z_SC\winvnc\winvnc\winvnc.cpp : sockets initialised
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\winvnc.cpp : test... 192.168.0.4 5500
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\winvnc.cpp : server created ok
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncproperties.cpp : loading local-only settings
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillUnauthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillUnauthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : authhosts cleared
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillUnauthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : KillUnauthClients() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncpropertiesPoll.cpp : clearing user settings
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncclient.cpp : vncClient() executing...
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncclient.cpp : TEST 4
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : AddClient() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncclient.cpp : client connected : 192.168.0.4 (1)
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncclient.cpp : DSMPlugin Pointer to socket OK
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : removing unauthorised client
 --An existing connection was forcibly closed by the remote host.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : RemoveClient() done
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncmenu.cpp : quitting from WM_DESTROY
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\winvnc.cpp : shutting down server
 --The operation completed successfully.
C:\c++\Z_SC\winvnc\winvnc\vncserver.cpp : shutting down server object
 --Attempt to release mutex not owned by caller.
Mon Sep 05 10:02:04 2005
Then the SC quits and does not register with the repeater.
Stopping and then Starting the repeater service solves the problem... until the next hang...

Any ideas?
RepeaterNotResponding

Repeater not accepting SC connections after a couple hours

Post by RepeaterNotResponding »

I have had the same problem. I noticed that after a while the repeater did not accept any connections from the SC program but it would allow connections from the vncviewer.exe. I used the latests repeater and vncviewer program. What I had to do was create a scheduled event that would stop and restart the repeater service every couple of hours.
nir_kornfeld
8
8
Posts: 13
Joined: 2005-03-30 20:00

Re: Repeater not accepting SC connections after a couple hou

Post by nir_kornfeld »

RepeaterNotResponding wrote:What I had to do was create a scheduled event that would stop and restart the repeater service every couple of hours.
That's what I'm trying to avoid! Stopping and Restarting the repeater ends all the sessions.

Isn't there any other way? Can anyone of the programmers see the above log and make any sense out of it?

Thanks.
RepeaterNotResponding

Repeter stops responding from SC connections

Post by RepeaterNotResponding »

I previously had the repeater (version 1.1.0.4) running on a Windows 2000 professional workstation. I found that after a while the repeater would stop responding to SC connections but still accepted connections from the vncviewer. I have now installed the repeater on a windows xp professional workstation and the same thing is happening except that the time that it takes the repeater to stop responding to the SC connections is shorter. Again the repeater still accepts connections from the vncviewer.
For both configurations all I did was stop the repeater service and then restart the service. Everything then worked properly again. Does anybody have any idea what is causing this or if it is a know problem. Thanks.
Post Reply