WinSCP takes ages to cancel a connection

Advertisement

hothandao
Guest

WinSCP takes ages to cancel a connection

Hi,

If WinSCP is used for connect to a remote which is not response or spercified a wrong port, then users instantly close to connection.

Now, WinSCP will show "Cancelling..." but seem forever to done this task.

Please try host diaocsva.com with port 2283 for SFTP connection.

I have to use Task Manager to Close it!

Please fix this issue.

This happened in 5.1.4

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: WinSCP takes ages to cancel a connection

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Same issue in 2017 version 5.9.5

Danve wrote:

Takes a lot to cancel a stopped connection
Thanks
Same answer: Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

jucedupp
Guest

This is an architecture issue

No amount of debugging versions is going to stop this. It is a fundamental "How it is written" issue in WinSCP. It has always done this, on all computers across versions, across different networks, for a long time (as in always). It's only the length of time it takes that differs. Expected behaviour: Click the cancel button, it exits as fast as your CPU can send the command. Actual behaviour: You click cancel and it can take anything from 15 seconds to a few minutes to simply trash a connection.

Reply with quote

dont know
Guest

Same problem

I have a similar problem, If I lose the connection WinSCP tries to reconnect. But I cannot stop it or close the program. If I click the "X" it just restarts the connection, while it is trying to reconnect, it won't let me shut the program. This happens when "Keep remote directory up to date", but it might happen other time too.

When I use the task manager to shut it down, that won't work either. Task manager opens a window "this program is waiting for user input" but before I can do anything with that window, WINSCP ( i think ) forces it to close.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Same problem

Thanks for your report.

Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

radojko
Guest

The same situation here, it is very frustrating to wait so long time when you cancel a job.
This problem exist i think from always.

Please solve this issue :)

Thanks!

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

radojko wrote:

The same situation here, it is very frustrating to wait so long time when you cancel a job.
This problem exist i think from always.
As you can see in the tracker link above, this will be resolved in upcoming WinSCP 5.12.

Reply with quote

Advertisement

You can post new topics in this forum