Error 30007 in ASP - WeOnlyDo Discussion board

Error 30007 in ASP (wodSSH / wodSSH.NET)

by shin, Monday, July 14, 2008, 07:59 (5977 days ago)

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

by woddrazen, Monday, July 14, 2008, 10:11 (5977 days ago) @ shin

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

by shin, Monday, July 14, 2008, 11:14 (5977 days ago) @ woddrazen

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

by woddrazen, Monday, July 14, 2008, 12:38 (5977 days ago) @ shin

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

by shin, Tuesday, July 15, 2008, 02:37 (5977 days ago) @ woddrazen

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

by woddrazen, Tuesday, July 15, 2008, 09:37 (5976 days ago) @ shin

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