Filetransfer stuck and freeze

Re: Filetransfer stuck and freeze

Postby AnotherUVNCuser » 2017-10-10 23:46

Wow, i didn't expect to see that many new messages from you :P

nzsolt wrote:The problem exists if you watch a video (for screen update) on remote computer and answer in chat.
Maybe the screen update and the chat messages are mixed.


Hmm, i only showed the chat window to demonstrate the server was an UltraVNC server and no other VNC server program ;-)

Rudi De Vos wrote:I was extracting all network code parts in a lib as part of a viewer rewrite.
Perhpas i find the bug while on that.


Do you use Wireshark for that? (useful/powerful free network traffic inspection program)

Does stopping a filetransfer work on your end?


Good luck figuring it all out (may the code be with you :mrgreen: )
AnotherUVNCuser
20
20
 
Posts: 33
Joined: 2017-09-13 00:40

Re: Filetransfer stuck and freeze

Postby AnotherUVNCuser » 2017-10-14 21:25

Well, the viewer somehow still manages to crash fairly often, but i don't know why or by what the crash is caused.

I can only say that it happens when there are multiple connections/sessions active.
When not interacting with the remote computers, the viewer eventually crashes.

(tested with 1.2.1.6 x86/x64 under Windows 10 x64)
AnotherUVNCuser
20
20
 
Posts: 33
Joined: 2017-09-13 00:40

Re: Filetransfer stuck and freeze

Postby Rudi De Vos » 2017-10-16 21:22

crash or disconnect ?
Can you pm the ini file ( just erase the passwd)
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5471
Joined: 2004-04-23 10:21

Re: Filetransfer stuck and freeze

Postby AnotherUVNCuser » 2017-10-17 04:31

Rudi De Vos wrote:crash or disconnect ?
Can you pm the ini file ( just erase the passwd)


I'm sorry, i noticed that i was using the the wrong vncviewer .exe (standard 1.2.1.6 instead of the 1.2.1.6 with tightVNC/jpeg fix)... :oops: :oops:



off-topic: When opening [Network Favorites] i often see a target.lnk and desktop.ini file, but no actual network files/folders (when downloading and opening target.lnk i see a \\network location)

Isn't it possible to browse/navigate through network shares and download the shared files using the Filetransfer manager?
AnotherUVNCuser
20
20
 
Posts: 33
Joined: 2017-09-13 00:40

Re: Filetransfer stuck and freeze

Postby AnotherUVNCuser » 2017-10-18 21:31

Well Rudi, apparently the crashing does occur with the "fixed" (24 sept 2017 22:02:19) 1.2.1.6 build, as well...

The viewer isn't closing/disconnecting either, because i didn't touch the viewer nor the remotely connected computers when the crash occurred.

(i've tested it with multiple/simultaneous remote connections to different computers, and left them alone/idle for a while).


I'm not sure how useful my .ini would be, but i'll pm it you regardless.
AnotherUVNCuser
20
20
 
Posts: 33
Joined: 2017-09-13 00:40

Re: Filetransfer stuck and freeze

Postby Rudi De Vos » 2017-11-08 23:19

Found something

The viewer send keepalives to the server.

When you have a static screen ( tested with hyperv and just do nothing), the keepalive prevent
-switches to close the line
-server recv timeouts

But the viewer still can timeout. Sending something doesn't reset the recv timeout.

A solution would be
viewer send keeaplive
server answer with his own keealive
So both recv sockets are reset

Doing some tests to check if this doesn't break other things
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5471
Joined: 2004-04-23 10:21

Re: Filetransfer stuck and freeze

Postby AnotherUVNCuser » 2017-11-15 19:17

Rudi De Vos wrote:Found something

The viewer send keepalives to the server.

When you have a static screen ( tested with hyperv and just do nothing), the keepalive prevent
-switches to close the line
-server recv timeouts

But the viewer still can timeout. Sending something doesn't reset the recv timeout.

A solution would be
viewer send keeaplive
server answer with his own keealive
So both recv sockets are reset

Doing some tests to check if this doesn't break other things


I really appreciate the effort Rudi. If i was able to develop and commit fixes myself, i would gladly contribute them.

Hopefully you can solve this particular problem because its a very common thing to sometimes work on simultaneous connected remote systems ;-)

edit: I noticed the topic with the timeout fixed build. Gonna do some testing now. Thanks! :D

Best regards,
AnotherUVNCuser
AnotherUVNCuser
20
20
 
Posts: 33
Joined: 2017-09-13 00:40

Previous

Return to 1.2.1.x

Who is online

Users browsing this forum: No registered users and 1 guest