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

UltraVNC_1.0.9.6.2_x64 autoreconnect to repeater problem

Post Reply
Xeo
Posts: 6
Joined: 2011-10-11 14:23

UltraVNC_1.0.9.6.2_x64 autoreconnect to repeater problem

Post by Xeo »

Hello,
I have some problem here with autoreconnect option. I have repeater running on the Linux server and the server making reverse connection to the repeater using parameter: service_commandline=-autoreconnect ID:11112 -connect mydomain.com.

Server is installed on windows 7 PC as a service. Everything is running nicely but...
When I'm trying to restart win7 PC and looking on a live log on the repeater firstly the connection is closing nicely (at line 3 of below log) but then when the system is almost shut down (closing down screen of win 7) the connection is reestablished(line 4) and short after PC is rebooting leaving not closed connection on repeater. Then when PC is booted up it tries to connect again and cannot since previous connection is still open (line7).

log:
********
UltraVnc Thu Mar 8 15:42:56 2012 > acceptConnection(): connection accepted ok from ip: 89.204.192.125
UltraVnc Thu Mar 8 15:42:57 2012 > findViewerList(): Warning, viewer not found (code = 11112)
UltraVnc Thu Mar 8 15:43:32 2012 > connectionRemover(): Removing server 11112 at index 0 (peer has disconnected)
UltraVnc Thu Mar 8 15:43:38 2012 > acceptConnection(): connection accepted ok from ip: 89.204.192.125
UltraVnc Thu Mar 8 15:43:39 2012 > findViewerList(): Warning, viewer not found (code = 11112)
UltraVnc Thu Mar 8 15:44:12 2012 > acceptConnection(): connection accepted ok from ip: 89.204.192.125
UltraVnc Thu Mar 8 15:44:13 2012 > findDuplicateIdIndex(): similar server ID already there
UltraVnc Thu Mar 8 15:44:13 2012 > acceptConnection(): duplicate ID string found, closing connection
*******

For me it looks like the connection is closed on shut down but the service is still running and tries to reestablish connection before system manages to shut the service. Is there any option to set delay on auto reconnect option?

Any other ideas?

Regards,
Xeo
Post Reply