Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: 3.5 Source Code for release 2013.1.8?

$
0
0

Gerri/Oleg,

Here is exaclty where mine times out:

Line 538 of Session.cs calls this during .Connect():

 // Wait for key exchange to be completed 

 this.WaitHandle(this._keyExchangeCompletedWaitHandle);

Inside WaitHandle (line 629), I hit the TimeOut Case in the following:

internalvoid WaitHandle(WaitHandle waitHandle)
        {var waitHandles = new WaitHandle[]
                {this._exceptionWaitHandle,
                    waitHandle,
                };switch (EventWaitHandle.WaitAny(waitHandles, this.ConnectionInfo.Timeout))
            {case 0:throwthis._exception;//--->Herecase System.Threading.WaitHandle.WaitTimeout:this.SendDisconnect(DisconnectReason.ByApplication, "Operation timeout");thrownew SshOperationTimeoutException("Session operation has timed out");default:break;
            }
        }

It is like the KeyExchange message never comes through, or the listener is not wired up correctly.

Like I said above though, build it in VS2010 and it works fine.

Thanks, Mike


Viewing all articles
Browse latest Browse all 1729

Trending Articles