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

Problem with repeater

Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Problem with repeater

Post by Guindillas »

Hi all !!

Sorry for my bad english. I hope you understand me. Thanks in advance.

I have a problem with the use of the repeater from some machines at some moments. The servers connect directly to the repeater by adding to the file ultravnc.ini in the admin section the line:

service_commandline=-autoreconnect ID:0002 -connect m.y.i.p:5500

All PCs connect to the repeater at startup, but at a certain time, some of them (with Windows 10 Pro 64) stop reaching the repeater signal. If I connect directly and locally within the LAN I can connect, that is, the service is up and running, but it does not signal out to the repeater.
I thought that it would be a problem of permissions in the Firewall, but apparently everything is correct, in addition if it were not like that, it would not connect either with the repeater in the boot.

Finally, if I manually turn the service off and on (net stop uvnc_service - net start uvnc_service) on the server, everything will work correctly again. All signals reach the repeater until after a while (several hours) it fails again.

Is it possible that some other program interferes with the service and prevents its self-connection?
Has anyone seen a similar problem?

Thanks.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

More info needed
Version or date repeater and vnc server ?
ultravnc.ini ( erase passwd hash and ip)
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

Versions:

UltraVNC Repeater 2016 build 1400
UltraVNC Server 1.2.2.1 Build: Jun 14 2018 22:01:12

UltraVNC.ini
------------------------------------
[ultravnc]
passwd=
passwd2=
[admin]
service_commandline=-autoreconnect ID:0001 -connect nnn.nnn.nnn.nnn:5500
DSMPluginConfig=SecureVNC;0;0x00104001;
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\Program Files\uvnc bvba\UltraVNC
accept_reject_mesg=
DebugLevel=0
DisableTrayIcon=0
rdpmode=0
LoopbackOnly=0
UseDSMPlugin=1
AllowLoopback=1
AuthRequired=1
ConnectPriority=0
DSMPlugin=SecureVNCPlugin64.dsm
AuthHosts=
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
primary=1
secondary=0
SocketConnect=1
HTTPConnect=1
AutoPortSelect=1
PortNumber=5900
HTTPPortNumber=5800
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=0
RemoveAero=0
QuerySetting=2
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=1
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
kickrdp=0
clearconsole=0
[admin_auth]
group1=
group2=
group3=
locdom1=0
locdom2=0
locdom3=0
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
MaxCpu=40
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

Repeater 1400 has a keepalive feature to avoid network timeouts.

Via webgui
http://localhost:xx/settings.html

UltraVNC Repeater Settings
Keepalive require winvnc >=1201 : [v] <<<<<<<<<<<<<<<<<<<<< (default == off)

If the keepalive is selected the repeater send a keepalive message to the waiting winvnc.exe .
Min version winvnc 1201 and not backward compatiable.
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

Hi:

Keepalive is on now, but nothing changes. I think I intuit where the problem may come from.

There are 2 remote PCs (A and B) that are turned on 24x7 and another 3 (C,D and E) that turned off every day. The repeater is not active 24x7 but it turns on when I want to connect remotely to the servers.

If the PCs C, D and E start the service with the repeater off, and later (hours) the repeater is turned on, it does not receive signal from the PCs. If then from the PCs we stop and start the service (with the repeater on) then it arrives signal. That is, after a while without the server connecting to the repeater, (because it is off) when it is turned on, it does not receive a signal and it is necessary to stop and start the service on the PC to connect.

But with PCs A and B, that does not happen. If these already connected with the repeater, even if i turn off the repeater for hours, when i restart it, they connect perfectly without stopping and starting the service.

That is, if the server (A and B 24x7) has connected to the repeater, even if the repeater is turned off, when the repeater is turned on again, the repeater receives a signal from the server, but if the server is turned off (C,D y F) and turned on without connection to the repeater, then the connection will never occurs until the service is reactivated.

I hope to have explained myself despite my terrible English.

Thanks.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

The keealive wil natural not work when no repeater is running...
I never tested a running server with a repeater that comes alive after a few hours :(
Will test it.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

When you activate logging you should see something like this, this keeps running for hours.
Can you verify what happen on your site.

Code: Select all

c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncserver.cpp : Attempting AutoReconnect....
 --Invalid window handle.
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : closing socket
Tue Nov 13 23:15:50 2018
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : closing socket
 --A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Tue Nov 13 23:16:20 2018
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncserver.cpp : Attempting AutoReconnect....
 --Invalid window handle.
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : closing socket
Tue Nov 13 23:16:41 2018
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : closing socket
 --A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Tue Nov 13 23:17:11 2018
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncserver.cpp : Attempting AutoReconnect....
 --Invalid window handle.
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : closing socket
Tue Nov 13 23:17:32 2018
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vsocket.cpp : closing socket
 --A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

Hello:

The server start up at 05:40
The repeater start up at 12:40 and did not receive a signal from the server.
At 13:37 stop and start service on server manually and the repeater received signal.

This is WinVNC.log file:

Code: Select all

Wed Nov 14 05:40:48 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Wed Nov 14 05:40:49 2018
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncsockconnect.cpp : started socket connection thread
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
winvnc.cpp : PostAddNewClient IIIII
vncserver.cpp : AutoConnectRetry(): started
Wed Nov 14 05:40:50 2018
vncserver.cpp : Attempting AutoReconnect....
 --El identificador de la ventana no es válido.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Wed Nov 14 05:41:11 2018
vsocket.cpp : closing socket
 --Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder.
Wed Nov 14 05:41:20 2018
vncmenu.cpp : user name has changed
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : ############## Kill vncMenu thread
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Default (340) from d4
winvnc.cpp : Username SYSTEM 
vncmenu.cpp : vncmenu(server)
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - New one - Unload the current 
Wed Nov 14 05:41:21 2018
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
 --Esta clase no existe.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
Wed Nov 14 13:37:10 2018
winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Wed Nov 14 13:37:12 2018
vncmenu.cpp : quitting from WM_DESTROY
vncserver.cpp : KillAuthClients() done
 --El identificador de la ventana no es válido.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Se intentó liberar una exclusión mutua que no pertenece al proceso.
vncserver.cpp : shutting down server object1
vsocket.cpp : shutdown socket
vsocket.cpp : closing socket
 --No se permitió una solicitud para enviar o recibir datos ya que el socket no está conectado y no se ha proporcionado ninguna dirección, al realizar el envío en un socket de datagramas por medio de una llamada sendto.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncsockconnect.cpp : quitting socket connection thread
 --Una operación de bloqueo fue interrumpida por una llamada a WSACancelBlockingCall.
Wed Nov 14 13:37:14 2018
vsocket.cpp : closing socket
 --No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión.
vsocket.cpp : shutdown socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
 --No se permitió una solicitud para enviar o recibir datos ya que el socket no está conectado y no se ha proporcionado ninguna dirección, al realizar el envío en un socket de datagramas por medio de una llamada sendto.
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
vnchttpconnect.cpp : quitting HTTP server thread
vsocket.cpp : closing socket
vncserver.cpp : KillAuthClients() done
vncserver.cpp : KillUnauthClients() done
vncserver.cpp : ~server m_pDSMPlugin = NULL 
 --Esta clase no existe.
Wed Nov 14 13:37:32 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Wed Nov 14 13:37:33 2018
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncsockconnect.cpp : started socket connection thread
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
winvnc.cpp : PostAddNewClient IIIII
vncserver.cpp : AutoConnectRetry(): started
vncserver.cpp : Attempting AutoReconnect....
 --El identificador de la ventana no es válido.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : AddClient() started
vncclient.cpp : vncClient() executing...
vncserver.cpp : AddClient() done
vncclient.cpp : client connected : m.y.i.p (1)
vncclient.cpp : DSMPlugin Pointer to socket OK
vncclient.cpp : Send protocolMsg
vncclient.cpp : Send_OK
Wed Nov 14 13:38:35 2018
vncclient.cpp : Keepalive received
vncclient.cpp : Send protocolMsg
vncclient.cpp : Send_OK
Wed Nov 14 13:39:35 2018
vncclient.cpp : Keepalive received
vncclient.cpp : Send protocolMsg
vncclient.cpp : Send_OK
There is no log from 05:41 to 13:37 that I stop and start up the server...

Just add that at 13:37, before reactivating the service, it appears in execution.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

option "loglevel" should be higher.
Normal you should see the reconnect running in the background
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

Tested
Repeater on uvnc2me off ( sorry)
enabled winvnc with -autoreconnect -id:xxx -connect uvnc2me.com -run
let it run for 10 minutes, activate repeater

1) Test one: repeater off while running wait 10 minutes back on -> OK
2) Test two: repeater of before starting winvnc.exe wait 10 minutes enabled repeater ->OK
same test but with dsm encryption
Both still connect

Anything else i can try to repeat it
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

First of all, thank you for your attention.

It seems as if the service is blocked. I activated the log with DebugLevel = 12. I started the server at 19:18 and the repeater at 20:25. The service is active and running. Here copy the log:

Code: Select all

Thu Nov 15 19:18:43 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Thu Nov 15 19:18:45 2018
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar la ruta especificada.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
winvnc.cpp : PostAddNewClient IIIII
vncsockconnect.cpp : started socket connection thread
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : AutoConnectRetry(): started
vncserver.cpp : Attempting AutoReconnect....
 --El identificador de la ventana no es válido.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Thu Nov 15 19:19:06 2018
vsocket.cpp : closing socket
 --Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder.
Thu Nov 15 19:19:07 2018
vncmenu.cpp : user name has changed
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : ############## Kill vncMenu thread
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Default (3d4) from c0
winvnc.cpp : Username SYSTEM 
vncmenu.cpp : vncmenu(server)
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
Thu Nov 15 19:19:30 2018
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del volumen no son correctos.vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
It seems that the log ends at 19:19, but the service is active at 20:25. I can stop it (then it is active) and start it again and then everything works again. But from 19:30 until 20:25 there is no data in the log.

At 20:44 I stop and start the service and this is the log. The signal already reaches the repeater.

Code: Select all

...
Thu Nov 15 19:19:30 2018
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del volumen no son correctos.vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet  
Thu Nov 15 20:44:42 2018
winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Thu Nov 15 20:44:44 2018
vncmenu.cpp : quitting from WM_DESTROY
vncserver.cpp : KillAuthClients() done
 --El identificador de la ventana no es válido.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Se intentó liberar una exclusión mutua que no pertenece al proceso.
vncserver.cpp : shutting down server object1
vsocket.cpp : shutdown socket
vsocket.cpp : closing socket
 --No se permitió una solicitud para enviar o recibir datos ya que el socket no está conectado y no se ha proporcionado ninguna dirección, al realizar el envío en un socket de datagramas por medio de una llamada sendto.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncsockconnect.cpp : quitting socket connection thread
 --Una operación de bloqueo fue interrumpida por una llamada a WSACancelBlockingCall.
Thu Nov 15 20:44:45 2018
vsocket.cpp : closing socket
 --No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión.
vsocket.cpp : shutdown socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
 --No se permitió una solicitud para enviar o recibir datos ya que el socket no está conectado y no se ha proporcionado ninguna dirección, al realizar el envío en un socket de datagramas por medio de una llamada sendto.
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
vnchttpconnect.cpp : quitting HTTP server thread
vsocket.cpp : closing socket
vncserver.cpp : KillAuthClients() done
vncserver.cpp : KillUnauthClients() done
vncserver.cpp : ~server m_pDSMPlugin = NULL 
 --Esta clase no existe.
Thu Nov 15 20:44:54 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Thu Nov 15 20:44:55 2018
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncsockconnect.cpp : started socket connection thread
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar la ruta especificada.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
winvnc.cpp : PostAddNewClient IIIII
vncserver.cpp : AutoConnectRetry(): started
Thu Nov 15 20:44:56 2018
vncserver.cpp : Attempting AutoReconnect....
 --El identificador de la ventana no es válido.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : AddClient() started
vncclient.cpp : vncClient() executing...
vncserver.cpp : AddClient() done
vncclient.cpp : client connected : m.y.i.p (1)
vncclient.cpp : DSMPlugin Pointer to socket OK
vncclient.cpp : Send protocolMsg
vncclient.cpp : Send_OK
Thu Nov 15 20:45:57 2018
vncclient.cpp : Keepalive received
vncclient.cpp : Send protocolMsg
vncclient.cpp : Send_OK
Thu Nov 15 20:46:57 2018
vncclient.cpp : Keepalive received
vncclient.cpp : Send protocolMsg
vncclient.cpp : Send_OK
Just indicate that I use the line: service_commandline=-autoreconnect ID:0001 -connect m.y.i.p:5500 in the admin section of ultravnc.ini file to connect to repeater.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

I will test again as service, without a logged user.

Possible the cause is the reconnect timer. Could be that without desktop he isn't running proper.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

tested with service commandline

Restart pc while repeater is off, no logon, pc stay on logon screen
After 10 minutes activated repeater
verified repeater webgui that ID was added

On the first log i see vncmenu.cpp : IsIconSet
Did you logon on server ?

Gonnna test again this eveving with your ini settings, but still have trouble repeatering it.
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

Today log:

Code: Select all

Mon Nov 19 05:53:22 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Mon Nov 19 05:53:23 2018
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncsockconnect.cpp : started socket connection thread
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
Mon Nov 19 05:53:24 2018
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
winvnc.cpp : PostAddNewClient IIIII
vncserver.cpp : AutoConnectRetry(): started
vncserver.cpp : Attempting AutoReconnect....
 --El identificador de la ventana no es válido.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Mon Nov 19 05:53:45 2018
vsocket.cpp : closing socket
 --Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder.
Mon Nov 19 05:53:46 2018
vncmenu.cpp : user name has changed
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : ############## Kill vncMenu thread
vncmenu.cpp : vncmenu killed
Mon Nov 19 05:53:47 2018
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Winlogon (36c) from cc
winvnc.cpp : Username SYSTEM 
vncmenu.cpp : vncmenu(server)
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - New one - Unload the current 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
 --Esta clase no existe.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
Mon Nov 19 05:54:03 2018
vncmenu.cpp : user name has changed
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : ############## Kill vncMenu thread
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Default (444) from cc
winvnc.cpp : Username SYSTEM 
vncmenu.cpp : vncmenu(server)
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - New one - Unload the current 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
 --Esta clase no existe.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
Mon Nov 19 20:05:00 2018
vncmenu.cpp : show user properties requested
Mon Nov 19 20:05:01 2018
vncproperties.cpp : INITDIALOG properties
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - New one - Unload the current 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
Mon Nov 19 20:05:08 2018
vncproperties.cpp : enddialog (CANCEL)
vncproperties.cpp : dialog result = 2
c:\users\rudi\desktop\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
Server start at 05:53 with repeater off. From 05:54 to 20:05 there are not entries in log file. Repeater start at 18:55. At 20:05 the repeater is on but does not receive signal.

Why stop log at 05:54?
Why start again at 20:05?

This does not always happen. Sometimes, somedays, a signal arrives from the server. If I reboot the service then it works fine again.

This log file has "vncmenu.cpp : IsIconSet " as last line at 05:54. What does that line mean? Today I have not connected with the server all day.

Thanks.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

Still searching...
I only found that when you use a unknown dns name the reconnect stop.

Adding extra debug info in the exe, i just can't repeat it.
https://www.uvnc.eu/download/1224/winvn ... peater.zip
Can you see if it give more info after the iconset
iconset == start systray menu
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

WinVNC.log copied at 12:00 am. Last entry in log file at 05:55
Using last winvnc.exe for extra debug info. Repeater is off.

Code: Select all

Thu Nov 22 05:55:08 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncserver.cpp : SockConnect 1
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
Thu Nov 22 05:55:09 2018
vsocket.cpp : closing socket
 --No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión.
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
vncsockconnect.cpp : started socket connection thread
vncserver.cpp : SockConnect  Done 1
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncservice.cpp : VNCWindow found 
winvnc.cpp : PostAddNewClient IIIII
vncservice.cpp : VNCWindow found 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG called 
vncserver.cpp : AutoConnectRetry(): started
vncserver.cpp : Attempting AutoReconnect....
 --El identificador de la ventana no es válido.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
Thu Nov 22 05:55:30 2018
vsocket.cpp : closing socket
 --Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder.
Thu Nov 22 05:55:40 2018
vncmenu.cpp : user name has changed
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Default (418) from c0
winvnc.cpp : Username SYSTEM 
vncmenu.cpp : vncmenu(server)
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncserver.cpp : SockConnect 1
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - New one - Unload the current 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
 --Esta clase no existe.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
vncservice.cpp : VNCWindow found 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG called 
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

So it stop somewere between
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG called
<<<<<
vncserver.cpp : AutoConnectRetry(): started

I need to add debug messages between thoose 2 functions, will do it this eveving
stefanorossetti
20
20
Posts: 49
Joined: 2018-11-23 09:48

Re: Problem with repeater

Post by stefanorossetti »

Good morning
I also encountered similar problems with the repeater.
sorry for my english too
We have been using ultravnc with the repeater for some years to provide assistance to our customers. I am extremely satisfied with the product because over time it has improved a lot.
the repeater is configured on our server in the office and indeed sometimes there are some disconnections with the customers whose I can not understand the reason.
the problems I encountered only when the customer ultravnc is installed as a service.
the disconessions are random, that is, there was not an apparent connection that could indicate a common cause. (the versions of windows are various we change from win7 to win10 or win server 2016 etc .. for example everything worked for a few hours then the the client's id disappears from the reperater and can no longer be reached).
in order to get back the client in some cases it is enough to restart the ultravnc service from the client, while in other cases the repeater on the server has to be restarted.
I also noticed that some customers never disconnected while others often disappeared from the repeaters and were no longer reachable despite the service being active.
after so many tests
I solved the 90% problems scheduling at night a repeater stop on the server at least 5 minutes around 3 am, and in the clients at 3.30 am I scheduled the restart of ultravnc service on the customers' PCs
(I also tried to understand if on the cleint what happens but with the command netstat I always see the connection stability but the repeater does not see client id)
I do not know if I can explain myself well because it's difficult
I'm using the latest version of the repeater and also ultravnc using the last 1.2.2.3.ma also with the previous versions does not change anything.
I carefully followed all the information I found on the forum
For now I'm using it this way
I hope you can understand if I'm doing something wrong.

PS.
it seems to me that in the last release a lot improved the performance of vncviewer I hope that the development continues because I want to continue to use this product and I appreciate the efforts of the developers for the constant improvement.
Thank you
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

All help and hints are welcome.
I'm trying to find the cause, but as i can not repeat it myself it takes a long time
and i always need to make a test version and let other people test it.

Analysing code isn't the same as running it in a debugger.

Ruid
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Problem with repeater

Post by Chrispy »

Sounds to me like a threading problem.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

stefanorossetti,
The problem Guindillas reported was
winvnc is running as service
Then they start and stop the repetaer for some times.

Your issue seems to be that while repeater is connected the server get removed.
Possible this is solved with the keepalive repeater options.
While repeater has a server connected they send keepalive messages.
This should keep network ports open on hard and/or software.
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

I think the problem described by stefanorossetti is very similar to mine, if not the same.
The problem is ramdom and it occurs in various operating systems, using uvnc as a service. Yesterday I installed the new executable and it has not failed until this afternoon. Now the log file does not stop recording data although it repeats. Copy and paste:

Code: Select all

Wed Nov 28 14:58:37 2018
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncserver.cpp : SockConnect 1
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
Wed Nov 28 14:58:38 2018
vsocket.cpp : closing socket
 --No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión.
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
vncsockconnect.cpp : started socket connection thread
vncserver.cpp : SockConnect  Done 1
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vnchttpconnect.cpp : started HTTP server thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncservice.cpp : VNCWindow found 
winvnc.cpp : PostAddNewClient IIIII
vncservice.cpp : VNCWindow found 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG called 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG lParam != 0 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG ret > 0 ID:0003 
vncserver.cpp : AutoConnectRetry(): started
Wed Nov 28 14:58:39 2018
vncserver.cpp : Attempting AutoReconnect....
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
Wed Nov 28 14:58:43 2018
vncmenu.cpp : WM_TIMER
 --El identificador de la ventana no es válido.
Wed Nov 28 14:58:48 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 14:58:53 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 14:58:54 2018
vncmenu.cpp : user name has changed
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ################## Creating Imp Thread 
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Default (428) from b0
winvnc.cpp : Username SYSTEM 
vncmenu.cpp : vncmenu(server)
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncserver.cpp : SockConnect 1
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - New one - Unload the current 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
 --Esta clase no existe.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --El sistema no puede encontrar el archivo especificado.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc_291018\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : IsIconSet 
vncservice.cpp : VNCWindow found 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG called 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG lParam != 0 
vncmenu.cpp : MENU_AUTO_RECONNECT_MSG ret > 0 ID:0003 
Wed Nov 28 14:58:59 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 14:59:00 2018
vsocket.cpp : closing socket
 --Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder.
Wed Nov 28 14:59:04 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:09 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:14 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:19 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:24 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:29 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:34 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 14:59:39 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:44 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 14:59:49 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:54 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 14:59:59 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 15:00:04 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:09 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 15:00:14 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:19 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:24 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:29 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:34 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:39 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:44 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:49 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:00:54 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 15:00:59 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:04 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:09 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:14 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:19 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:24 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:29 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:34 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:39 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 15:01:44 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.



repeat WM_TIMMER message until 19:56 that i stop the service
Before at 19:45 start Repeater but it did not receive a signal


Wed Nov 28 19:54:46 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:54:51 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:54:56 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:01 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:06 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:11 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:16 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:21 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:26 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:31 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:36 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:41 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:46 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:51 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:55:56 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:56:01 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:56:06 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 19:56:11 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:56:16 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
Wed Nov 28 19:56:21 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 19:56:26 2018
vncmenu.cpp : WM_TIMER
Wed Nov 28 19:56:31 2018
vncmenu.cpp : WM_TIMER
 --El sistema no puede encontrar el archivo especificado.
winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
 --El sistema no puede encontrar el archivo especificado.
vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Wed Nov 28 19:56:33 2018
vncmenu.cpp : quitting from WM_DESTROY
vncserver.cpp : KillAuthClients() done
 --El identificador de la ventana no es válido.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Se intentó liberar una exclusión mutua que no pertenece al proceso.
vncserver.cpp : shutting down server object1
vsocket.cpp : shutdown socket
vsocket.cpp : closing socket
 --No se permitió una solicitud para enviar o recibir datos ya que el socket no está conectado y no se ha proporcionado ninguna dirección, al realizar el envío en un socket de datagramas por medio de una llamada sendto.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
 --Una operación de bloqueo fue interrumpida por una llamada a WSACancelBlockingCall.
vncsockconnect.cpp : accepted connection from 247.127.0.0
vsocket.cpp : closing socket
vncsockconnect.cpp : quitting socket connection thread
 --Se intentó realizar una operación en un elemento que no es un socket.
Wed Nov 28 19:56:34 2018
vsocket.cpp : closing socket
 --No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión.
vsocket.cpp : closing socket
vsocket.cpp : closing socket
 --Se intentó realizar una operación en un elemento que no es un socket.
vsocket.cpp : closing socket
 --Se intentó realizar una operación en un elemento que no es un socket.
vsocket.cpp : shutdown socket
 --Se intentó realizar una operación en un elemento que no es un socket.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
 --No se permitió una solicitud para enviar o recibir datos ya que el socket no está conectado y no se ha proporcionado ninguna dirección, al realizar el envío en un socket de datagramas por medio de una llamada sendto.
vsocket.cpp : closing socket
vsocket.cpp : closing socket
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vsocket.cpp : closing socket
vnchttpconnect.cpp : quitting HTTP server thread
vsocket.cpp : closing socket
vsocket.cpp : closing socket
vsocket.cpp : closing socket
 --Se intentó realizar una operación en un elemento que no es un socket.
vncserver.cpp : KillAuthClients() done
 --Se intentó realizar una operación en un elemento que no es un socket.
vncserver.cpp : KillUnauthClients() done
vncserver.cpp : ~server m_pDSMPlugin = NULL 
 --Esta clase no existe.
At 19:45 start Repeater but it did not receive a signal
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

Thanks for the extra log, i will try to analyse it this weekend
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

new test

https://www.uvnc.eu/download/1224/winvn ... eater3.zip

Replaced timer with a looped thread
stefanorossetti
20
20
Posts: 49
Joined: 2018-11-23 09:48

Re: Problem with repeater

Post by stefanorossetti »

even if the time available is little if you need to do some tests, I'm available
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Problem with repeater

Post by Rudi De Vos »

You can try to replace your winvnc.exe with the testversion
https://www.uvnc.eu/download/1224/winvn ... eater3.zip
It use another method to stay connected.
Fast test
reaname winvnc.exe to winvnc.old.exe copy new winvnc.exe in folder
This way you akways can fast switch between the old/new version

64bit only, don't replace a 32bit winvnc with it, want work.
stefanorossetti
20
20
Posts: 49
Joined: 2018-11-23 09:48

Re: Problem with repeater

Post by stefanorossetti »

ok
As soon as possible, I do tests and update them
stefanorossetti
20
20
Posts: 49
Joined: 2018-11-23 09:48

Re: Problem with repeater

Post by stefanorossetti »

I have already replaced the file by a customer who surely after a while presented the problem. I have also disabled my schedules that restarted the winvnc service at 3 am. So if everything is ok it should always be connected
Since the problem was random, you have to wait a few days and see what happens.
I keep you updated
Thank you.
Guindillas
8
8
Posts: 21
Joined: 2018-10-24 17:51

Re: Problem with repeater

Post by Guindillas »

I am testing the latest version but it has not failed yet...
Post Reply