#1
|
||||
|
||||
crt.Session.Disconnect hangs
Hi,
Ever since the first 5.0 beta up to the official version, I've been having problem with my scripts that works perfectly under version 4.1. The worse problem I'm having is by using crt.Session.Disconnect . The script will just hang there forever... Did anyone observed that? Thanks! Last edited by cythraul; 06-17-2005 at 06:17 AM. |
#2
|
||||
|
||||
Hi,
When you say the script hangs, do you mean that after a call to CRT.Session.Disconnect no other commands in the script are run, or is it the application itself that hangs? Could you provide an example of a script that causes this behavior so I can try and reproduce the problem here? Thanks, Daniel |
#3
|
||||
|
||||
Hi Daniel,
I'm sorry; I should have been more specific. It's the script execution that hangs. I have opened a case (T200506170015) with support to whom (Jamie) I gave a script example. But, the script does not matter. I can reproduce the problem from a plain script: Code:
# $language = "VBScript" # $interface = "1.0" crt.Session.Disconnect MsgBox "You will never see me!" I guess I'm the only one with that problem; otherwise the forum would be soaring with questions about this. ![]() Another problem that I have, which, curiously, has the exact inverse symptom is with the crt.Screen.WaitForString function. This one will not hang script execution has it should. Indeed, it's simply ignores the string it's should be waiting for and continue the script execution. For example: Code:
# $language = "VBScript" # $interface = "1.0" crt.Screen.WaitForString "Some string that will never appear" MsgBox "You _will_ see me!" Thanks! cyth |
#4
|
|||
|
|||
![]()
Hi cyth
You're not the only one having this problem. A few weeks ago I upgraded to version 5 and since then my scripts are hanging as well. Do you have any news when this bug will be fixed? Thanks. |
#5
|
||||
|
||||
Quote:
This was bug was just recently fixed and verfied. While the fix will be included in the next maintenance release, people that are being affected by this bug should contact Support@vandyke.com so that we can get a patched version to you that will resolve this problem. Thanks, -bocks |
#6
|
|||
|
|||
Is it possible to explore this Forum using similar keywords ?
I Can't realize that Is it possible to explore this Forum using similar keywords instead of exact words.
I searched for similar keywords in http://www.google.com and http://www.boardexplorer.com and I found this Forum. but inside the web site I could not find any intelligent search. you must know exact words to find related topics any one who knows something? |
#7
|
||||
|
||||
Hi Jack123,
We are aware of the limitations of the searching capablity of the forum and are currently looking in to an upgrade to the forum software. There isn't a time frame for the implementation of this upgrade but we will let you know. Could you tell me what information you were looking for so I can help?
__________________
Thanks, Teresa Teresa Nygren |
#8
|
|||
|
|||
Same here
I am on
Version 7.2.5 (x64 build 550) - Official Release - June 5, 2014 I get session hangs a lot ![]() |
#9
|
||||
|
||||
SecureCRT tries to get things right, play nice, clean up after itself, etc., so when disconnecting from a remote host, SecureCRT tells the SSH server that it's going to shut things down and eventually disconnect, if it's alright with the server. SecureCRT kindly waits for an acknowledgement from the server that it's received all the data it needs to read, and it's "safe" to shut down the connection. Some servers just never reply with the "it's safe now" indication.
![]() If you want SecureCRT to "just hang up, now!", you can configure it to do just that. In Session Options, the SSH2 / Advanced category, enable the Force session channel to close on disconnect option. See also: https://forums.vandyke.com/showthread.php?t=11067 https://forums.vandyke.com/showthread.php?t=10754 --Jake
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support |
#10
|
|||
|
|||
![]() ![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|