Connection Error - WeOnlyDo Discussion board

Connection Error (wodSSH / wodSSH.NET)

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

Hello,

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?

Thanks!
Barry

Re: Connection Error

by woddrazen, Tuesday, December 09, 2008, 15:15 (5588 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:
http://www.weonlydo.com/SSH/Help/Errors.html

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.


Drazen

Re: Connection Error

by bmclellan, Tuesday, December 09, 2008, 16:56 (5588 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?


Thanks!
Barry

Re: Connection Error

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

Barry,

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.

Regards,
Damba