mlittle / avaya-moagent-client

Avaya Moagent Client is a fully-managed replacement for the COM-component provided as part of the Avaya SDK.
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data #7

Open ghost opened 12 years ago

ghost commented 12 years ago

I've seen this error a few times over the last few days, and I've yet to see any indication of what's causing it. Different PCs, some are logging into the dialer for the first time, others have logged in and worked without issue, but it fails when logging back in - so I know that the certificates are good.

Source:       ManagedOpenSsl
Type:         OpenSSL.Core.OpenSslException
Message:      error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data
Stack Trace:  
   at OpenSSL.Core.Native.ExpectNonNull(IntPtr ptr)
   at OpenSSL.X509.X509Certificate.FromDER(BIO bio)
   at AvayaMoagentClient.MoagentClient..ctor(String host, Int32 port, Boolean useSSL) in <redacted>\AvayaMoagentClient\MoagentClient.cs:line 56
   at AvayaMoagentClient.AvayaDialer.Connect() in <redacted>\AvayaMoagentClient\AvayaDialer.cs:line 55
   at <redacted>.AvayaControl._DialerLogon() in <redacted>\AvayaControl.cs:line 1864
   at <redacted>.AvayaControl.Logon() in <redacted>\AvayaControl.cs:line 556
   at <redacted>.AvayaControl.btnLoginout_Click(Object sender, EventArgs e) in <redacted>\AvayaControl.cs:line 822
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Any thoughts?