You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional information
Since the waitfor variable in _handleAuthFailed is 0, it kepts reconnecting instantly until timed out.
This bug also occurs in version 0.13.0.
The text was updated successfully, but these errors were encountered:
redphx
changed the title
Bug: Cannot connect to server
Bug: Constant "Cannot connect" error messages
May 31, 2023
And now I'm pissed because authentication failed (0x00000001).
Here are no messages with an explanation (0x00000000).
And I send you additional garbage for your convenience: \x04\x00\x03\x00\xff\xff\xff!'
Summary: to me it looks like your server is announcing RFB3.8, but does not follow the protocol. There's not much we can do expect fixing the logic to terminate the function earlier, so that you do not have to wait for your timeout. (self.transport.loseConnection() is called, but the API does not handle this correctly?)
Have you checked any other VNC viewer, if they can be used to connect to that serrver? (name and version of any working VNC viewer please).
It would also be of interest, what kind of server you're trying to connect to. Without access to it or at least some information on which software and version it is, there's very little we can do to help you.
If the server doesn't follow the protocol then I'd love vncdotool to drop the connection instantly instead of trying again and again. Maybe drop connection when waitfor == 0?
vncdotool version
vncdotool 1.1.0, python 3.1.0
VNC server and version
Unknown, but it uses protocol version 3.8
Steps to reproduce
Expected result
Screenshot captured successfully.
Which erroneous result did you get instead
Note: I printed
data
param inrfb.RFBClient.dataReceived()
to get additional info.It didn't stop until timed out (60s later).
Additional information
Since the
waitfor
variable in_handleAuthFailed
is 0, it kepts reconnecting instantly until timed out.This bug also occurs in version
0.13.0
.The text was updated successfully, but these errors were encountered: