Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Bug: Server fails to switch to another repeater

Post Reply
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Bug: Server fails to switch to another repeater

Post by YY »

Once the server had been successfully connected to a repeater, all later instruction point to other repeaters (from "Add Client", or via cmdline) will be perpetually connecting to the one that it had been first connected, rather than the new repeater as specified.

This problem exists on 10961 (May 12), 1.0.9.x., 1.0.8.x .....
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6868
Joined: 2004-04-23 10:21
Contact:

Re: Bug: Server fails to switch to another repeater

Post by Rudi De Vos »

The behaviour is the same as for
winvnc -connect host1 -run
winvnc -connect host2 -run
2 connections.

For repeaters
wincnc -autoreconnect -ID:1234 -connect host1 -run
wincnc -autoreconnect -ID:1234 -connect host2 -run

winvnc is now connected to 2 repeaters (host1/host2)

Internal a -connect for a host or repeater is handled the same.
adrianio
Posts: 6
Joined: 2011-05-21 10:20

Re: Bug: Server fails to switch to another repeater

Post by adrianio »

Sorry for posting here, but i don't find where.

So, for WinVNC 1.0.9.6 started with:
winvnc -id:12345678 -autoreconnect -connect host -run
(I activated also SecureVNCPlugin)

All is good connection - reconnection stable.
But if I cancel the box when ask to enter password, the server lose its connection-autoreconnection with the repeater.
I have to restart the server and all works after that.
Last edited by adrianio on 2011-05-23 08:36, edited 1 time in total.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Bug: Server fails to switch to another repeater

Post by YY »

Rudi De Vos wrote:The behaviour is the same as for
winvnc -connect host1 -run
winvnc -connect host2 -run
2 connections.

For repeaters
wincnc -autoreconnect -ID:1234 -connect host1 -run
wincnc -autoreconnect -ID:1234 -connect host2 -run

winvnc is now connected to 2 repeaters (host1/host2)

Internal a -connect for a host or repeater is handled the same.
That's not my point. I try to explain more detail of my problem.

In my test, the server is already running as service, and then


1. Run following command:

  winvnc.exe -ID:1234 -connect repeater-1
  (say: got connected with the corresponding viewer, and later the communication ended by user normally)


2. Later I run another command:

  winvnc.exe -ID:357 -connect repeater-2
  (It happened that the server still trying to connect to repeater-1 !!!)
Post Reply