Connection Error - WeOnlyDo Discussion board

Connection Error (wodSSH / wodSSH.NET)

by bmclellan, Tuesday, December 09, 2008, 14:53 (3723 days ago)


I have a user who can't seem to connect using the wodSSH.

I have added a trace using:
objssh.DebugFile = c: empCFE.nfo

And this is what I am receiving
*** OnConnect received, err = 1460
*** OnConnect received, err = 10061

Is there a table I can use to reference these error numbers?


Re: Connection Error

by woddrazen, Tuesday, December 09, 2008, 15:15 (3723 days ago) @ bmclellan

Hi Barry

1460 - The current connection has timeout.
10061 - Connection refused. No connection could be made because the target machine actively refused it.

You can find error list and explanation for wodSSH here:

Can he connect with some other client like Putty for example to that server? Maybe there is some firewall that block connection with server.

Please also make sure that correct port and protocol is used in wodSSH.

Let us know ho wit goes.


Re: Connection Error

by bmclellan, Tuesday, December 09, 2008, 16:56 (3723 days ago) @ woddrazen

Looks like we figured it out. We had SSH selected, but were not connecting to a port that used SSH.

Should I be able to see this kind of error in the logs somewhere? Or maybe trap on an error number, and then try connecting again without SSH?


Re: Connection Error

by wodDamir, Tuesday, December 09, 2008, 17:05 (3723 days ago) @ bmclellan


Both of these errors are thrown in Connected event. However, please note that Timeout error will occur when you connect to server that has the specified port open (listening) but doesn't send the correct sequence (i.e. is not an SSH Server). In this case the connection will simply Timeout after the period specified in Timeout property passes.

As for 10061, this error will be triggered right after Connect method is invoked, and occurs when HostName is correct, but specified port isn't listening for incoming connection.