Error 30007 in ASP (wodSSH / wodSSH.NET)
Hi, I use do-loop to excute those code in asp.
But it often response err code 30007.
I think those code is no problem in once exection.
How to handle err 30007 ? Why it happens ?
On Error Resume Next
set ssh = CreateObject( WeOnlyDo.wodSSHCom.1 )
ssh.Login = name
ssh.Password = pwd
ssh.Hostname = IP_ary
ssh.Blocking = 1
ssh.Protocol = 3
ssh.Port = 22
ssh.Timeout = 30
ssh.Connect
ssh.WaitFor regex:[$ #>] $ ,30
ssh.DataReady = 0
resp = ssh.Execute(cmds & vbLf, regex:[$ #>] $ ,30)
ssh.Disconnect
set ssh = nothing
Re: Error 30007 in ASP
Hi Shin,
Your code looks fine. Which line produce such problem?
Did you maybe try same with some other client. Does it also disconnect from that server after doing same?
Let us know how it goes.
Regards,
Drazen
Re: Error 30007 in ASP
Hi Shin,
Your code looks fine. Which line produce such problem?Did you maybe try same with some other client. Does it also disconnect from that server after doing same?
Let us know how it goes.
Regards,
Drazen
IIS response message :
WeOnlyDo.wodSSHCom.1 error '800a989e'
You system did not provide string representation of the error.
/edge/omcr211.asp, lin 108
line 108 = ssh.Connect
Re: Error 30007 in ASP
Shin,
Can you please try with putty? Maybe this is somehow server issue. Server is down and wodSSH can't connect there.
Drazen
Re: Error 30007 in ASP
Shin,
Can you please try with putty? Maybe this is somehow server issue. Server is down and wodSSH can't connect there.
Drazen
I think the server is good.
Because I use the code the send different commands to different server.
It's like I try to ping a serveral for 1000 times than I ping another server.
90 ping commands send correctly and have correct response.
But the other 10 ping commands doesn't send out. It fail at ssh.connect this command.
Re: Error 30007 in ASP
Shin,
Is there any chance that we could connect there and duplicate your problem?
You can send your private information to techsupport@weonlydo.com
Drazen