+1
Waiting for information

Linux crashes - internal server error

Stefan 3 years ago updated 2 years ago 8

SC - ScreenConnect_6.6.17808.6681

OS - Ubuntu 16.04.4 LTS


SC is throwing internal server errors and isn't working any more sporadically. Running "screenconnect debug" gives this information - any tipps?


"Threadpool worker" tid=0x0x7f4dfe9f4700 this=0x0x7f4e692e5780 thread handle 0x3064 state : not waiting owns ()
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <IL 0x001f0, 0x00e1f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <IL 0x00070, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfe9f4700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4dfe9f4700 this=0x0x7f4e692e5780 thread handle 0x3064 state : not waiting owns ()
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4e6b5fa700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4e6b5fa700 this=0x0x7f4ead6a8a00 thread handle 0x30be state : not waiting owns ()
  at ScreenConnect.ObjectPool`1.BorrowEntry () <IL 0x00176, 0x004bf>
  at ScreenConnect.ObjectPool`1/DemuxProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) <IL 0x00008, 0x0003f>
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <IL 0x0009e, 0x0043a>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <IL 0x00070, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4e6b5fa700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4e6b5fa700 this=0x0x7f4ead6a8a00 thread handle 0x30be state : not waiting owns ()
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <IL 0x001f0, 0x00e1f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <IL 0x00070, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4e6b5fa700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4e6b5fa700 this=0x0x7f4ead6a8a00 thread handle 0x30be state : not waiting owns ()
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfc5e2700:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store Root doesn't exists.

"Threadpool worker" tid=0x0x7f4dfc5e2700 this=0x0x7f4e6951fc80 thread handle 0x3029 state : not waiting owns ()
  at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) <IL 0x00111, 0x0038b>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_LMRootStore () <IL 0x0001f, 0x0006f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_Roots () <IL 0x00012, 0x0003f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateCollection () <IL 0x00028, 0x00067>
  at System.Security.Cryptography.X509Certificates.X509Chain.FindParent (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00001, 0x00027>
  at System.Security.Cryptography.X509Certificates.X509Chain.BuildChainFrom (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00013, 0x0003b>
  at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00019, 0x00077>
  at System.Net.ServicePointManager/ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection) <IL 0x000a9, 0x002ab>
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x0000f, 0x0002a>
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00018>  at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00013>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection) <IL 0x00026, 0x000e5>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () <IL 0x0005b, 0x000cf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0x00056>
  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0xffffffff>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream) <IL 0x0003a, 0x0009f>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (System.IAsyncResult) <IL 0x0011a, 0x00290>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfc5e2700:] EXCEPTION handling: System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

"Threadpool worker" tid=0x0x7f4dfc5e2700 this=0x0x7f4e6951fc80 thread handle 0x3029 state : not waiting owns ()
  at System.Buffer.BlockCopy (System.Array,int,System.Array,int,int) <IL 0x000b8, 0x001d7>
  at Mono.Security.ASN1..ctor (byte[]) <IL 0x0007f, 0x000d3>
  at Mono.Security.X509.X509Certificate.Parse (byte[]) <IL 0x00002, 0x0004f>
  at Mono.Security.X509.X509Certificate..ctor (byte[]) <IL 0x00040, 0x000c3>
  at Mono.Security.X509.X509Store.LoadCertificate (string) <IL 0x00009, 0x00047>
  at Mono.Security.X509.X509Store.BuildCertificatesCollection (string) <IL 0x00050, 0x000ef>
  at Mono.Security.X509.X509Store.get_Certificates () <IL 0x00013, 0x0001f>
  at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) <IL 0x000a7, 0x000eb>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_UserRootStore () <IL 0x0001f, 0x0006f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_Roots () <IL 0x00026, 0x00057>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateCollection () <IL 0x00028, 0x00067>
  at System.Security.Cryptography.X509Certificates.X509Chain.FindParent (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00001, 0x00027>
  at System.Security.Cryptography.X509Certificates.X509Chain.BuildChainFrom (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00013, 0x0003b>
  at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00019, 0x00077>
  at System.Net.ServicePointManager/ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection) <IL 0x000a9, 0x002ab>
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x0000f, 0x0002a>
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00018>
  at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00013>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection) <IL 0x00026, 0x000e5>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () <IL 0x0005b, 0x000cf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0x00056>
  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0xffffffff>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream) <IL 0x0003a, 0x0009f>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (System.IAsyncResult) <IL 0x0011a, 0x00290>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfc5e2700:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Input data cannot be coded as a valid certificate.

"Threadpool worker" tid=0x0x7f4dfc5e2700 this=0x0x7f4e6951fc80 thread handle 0x3029 state : not waiting owns ()
  at Mono.Security.X509.X509Certificate.Parse (byte[]) <IL 0x0035e, 0x00743>
  at Mono.Security.X509.X509Certificate..ctor (byte[]) <IL 0x00040, 0x000c3>
  at Mono.Security.X509.X509Store.LoadCertificate (string) <IL 0x00009, 0x00047>
  at Mono.Security.X509.X509Store.BuildCertificatesCollection (string) <IL 0x00050, 0x000ef>
  at Mono.Security.X509.X509Store.get_Certificates () <IL 0x00013, 0x0001f>
  at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) <IL 0x000a7, 0x000eb>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_UserRootStore () <IL 0x0001f, 0x0006f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_Roots () <IL 0x00026, 0x00057>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateCollection () <IL 0x00028, 0x00067>
  at System.Security.Cryptography.X509Certificates.X509Chain.FindParent (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00001, 0x00027>
  at System.Security.Cryptography.X509Certificates.X509Chain.BuildChainFrom (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00013, 0x0003b>
  at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00019, 0x00077>
  at System.Net.ServicePointManager/ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection) <IL 0x000a9, 0x002ab>
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x0000f, 0x0002a>
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00018>
  at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00013>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection) <IL 0x00026, 0x000e5>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () <IL 0x0005b, 0x000cf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0x00056>
  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0xffffffff>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream) <IL 0x0003a, 0x0009f>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (System.IAsyncResult) <IL 0x0011a, 0x00290>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dd09e8700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4dd09e8700 this=0x0x7f4e692e58c0 thread handle 0x3065 state : not waiting owns ()
  at ScreenConnect.ObjectPool`1.BorrowEntry () <IL 0x00176, 0x004bf>
  at ScreenConnect.ObjectPool`1/DemuxProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) <IL 0x00008, 0x0003f>
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <IL 0x0009e, 0x0043a>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <IL 0x00070, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dd09e8700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4dd09e8700 this=0x0x7f4e692e58c0 thread handle 0x3065 state : not waiting owns ()
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <IL 0x001f0, 0x00e1f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <IL 0x00070, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dd09e8700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4dd09e8700 this=0x0x7f4e692e58c0 thread handle 0x3065 state : not waiting owns ()
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dd09e8700:] EXCEPTION handling: System.TimeoutException: The operation has timed-out.

"Threadpool worker" tid=0x0x7f4dd09e8700 this=0x0x7f4e692e58c0 thread handle 0x3065 state : not waiting owns ()
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) ScreenConnect.ISessionManager.CreateSession (System.Guid,string,string[]) <IL 0x00048, 0xffffffff>
  at ScreenConnect.Relay.ProcessInitiateSessionMessage (ScreenConnect.RelayConnection,ScreenConnect.InitiateSessionMessage,ScreenConnect.ActionBase&) <IL 0x00105, 0x0070e>
  at ScreenConnect.Relay.ProcessHandshakeMessage (ScreenConnect.RelayConnection,object,ScreenConnect.ActionBase&) <IL 0x0025e, 0x00a0b>
  at ScreenConnect.Relay/<>c__DisplayClass9_0.<StartHandshakeAsyncReceiveLoop>b__0 (ScreenConnect.Func`1<object>) <IL 0x00023, 0x00053>
  at ScreenConnect.Relay/<>c__DisplayClass10_0.<StartAsyncReceiveLoop>b__0 () <IL 0x000bf, 0x00246>
  at ScreenConnect.SocketServer/<>c__DisplayClass9_0.<StartAsyncSocketLoop>b__0 () <IL 0x00006, 0x00019>
  at ScreenConnect.SocketAsyncExecutor.<.ctor>b__2_0 (object,System.Net.Sockets.SocketAsyncEventArgs) <IL 0x00006, 0x00019>
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs) <IL 0x0001c, 0x0002e>
  at System.Net.Sockets.SocketAsyncEventArgs.ReceiveCallback (System.IAsyncResult) <IL 0x0003c, 0x00136>
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) <IL 0x00039, 0x00093>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfc5e2700:] EXCEPTION handling: System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

"Threadpool worker" tid=0x0x7f4dfc5e2700 this=0x0x7f4e6951fc80 thread handle 0x3029 state : not waiting owns ()
  at System.Buffer.BlockCopy (System.Array,int,System.Array,int,int) <IL 0x000b8, 0x001d7>
  at Mono.Security.ASN1..ctor (byte[]) <IL 0x0007f, 0x000d3>
  at Mono.Security.X509.X509Certificate.Parse (byte[]) <IL 0x00002, 0x0004f>
  at Mono.Security.X509.X509Certificate..ctor (byte[]) <IL 0x00040, 0x000c3>
  at Mono.Security.X509.X509Store.LoadCertificate (string) <IL 0x00009, 0x00047>
  at Mono.Security.X509.X509Store.BuildCertificatesCollection (string) <IL 0x00050, 0x000ef>
  at Mono.Security.X509.X509Store.get_Certificates () <IL 0x00013, 0x0001f>
  at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) <IL 0x000a7, 0x000eb>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_UserRootStore () <IL 0x0001f, 0x0006f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_Roots () <IL 0x00026, 0x00057>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateCollection () <IL 0x00028, 0x00067>
  at System.Security.Cryptography.X509Certificates.X509Chain.FindParent (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00001, 0x00027>
  at System.Security.Cryptography.X509Certificates.X509Chain.BuildChainFrom (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00013, 0x0003b>
  at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00019, 0x00077>
  at System.Net.ServicePointManager/ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection) <IL 0x000a9, 0x002ab>
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x0000f, 0x0002a>
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00018>
  at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00013>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection) <IL 0x00026, 0x000e5>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () <IL 0x0005b, 0x000cf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0x00056>

at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0xffffffff>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream) <IL 0x0003a, 0x0009f>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (System.IAsyncResult) <IL 0x0011a, 0x00290>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfc5e2700:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Input data cannot be coded as a valid certificate.

"Threadpool worker" tid=0x0x7f4dfc5e2700 this=0x0x7f4e6951fc80 thread handle 0x3029 state : not waiting owns ()
  at Mono.Security.X509.X509Certificate.Parse (byte[]) <IL 0x0035e, 0x00743>
  at Mono.Security.X509.X509Certificate..ctor (byte[]) <IL 0x00040, 0x000c3>
  at Mono.Security.X509.X509Store.LoadCertificate (string) <IL 0x00009, 0x00047>
  at Mono.Security.X509.X509Store.BuildCertificatesCollection (string) <IL 0x00050, 0x000ef>
  at Mono.Security.X509.X509Store.get_Certificates () <IL 0x00013, 0x0001f>
  at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) <IL 0x000a7, 0x000eb>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_UserRootStore () <IL 0x0001f, 0x0006f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_Roots () <IL 0x00026, 0x00057>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateCollection () <IL 0x00028, 0x00067>
  at System.Security.Cryptography.X509Certificates.X509Chain.FindParent (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00001, 0x00027>
  at System.Security.Cryptography.X509Certificates.X509Chain.BuildChainFrom (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00013, 0x0003b>
  at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00019, 0x00077>
  at System.Net.ServicePointManager/ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection) <IL 0x000a9, 0x002ab>
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x0000f, 0x0002a>
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00018>
  at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00013>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection) <IL 0x00026, 0x000e5>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () <IL 0x0005b, 0x000cf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0x00056>
  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0xffffffff>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream) <IL 0x0003a, 0x0009f>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (System.IAsyncResult) <IL 0x0011a, 0x00290>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

[0x7f4dfc5e2700:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store CA doesn't exists.

"Threadpool worker" tid=0x0x7f4dfc5e2700 this=0x0x7f4e6951fc80 thread handle 0x3029 state : not waiting owns ()
  at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) <IL 0x00111, 0x0038b>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_LMCAStore () <IL 0x0001f, 0x0006f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateAuthorities () <IL 0x00012, 0x0003f>
  at System.Security.Cryptography.X509Certificates.X509Chain.get_CertificateCollection () <IL 0x00039, 0x0008f>
  at System.Security.Cryptography.X509Certificates.X509Chain.FindParent (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00001, 0x00027>
  at System.Security.Cryptography.X509Certificates.X509Chain.BuildChainFrom (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00013, 0x0003b>
  at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2) <IL 0x00019, 0x00077>
  at System.Net.ServicePointManager/ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection) <IL 0x000a9, 0x002ab>
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x0000f, 0x0002a>
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00018>
  at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation2 (Mono.Security.X509.X509CertificateCollection) <IL 0x00002, 0x00013>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection) <IL 0x00026, 0x000e5>
  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () <IL 0x0005b, 0x000cf>
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0x00056>
  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <IL 0x00038, 0xffffffff>
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream) <IL 0x0003a, 0x0009f>
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (System.IAsyncResult) <IL 0x0011a, 0x00290>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>


ConnectWise Control Version:
19.5
Server Affected:
Host Client Affected:
Guest Client Affected:

Any updates on this?

No update ont this. We're still restarting the daemon if this error happens.

We're experiencing something similar:



...refreshing the page seems to help for 30 seconds then it starts with it again. 

By the way: The command "/etc/init.d/screenconnect restart" doesn't work on our SC-server. We have to run these commands:


service screenconnect stop

kill -9 'pgrep screenconnect'

service screenconnect start


That's handy, thanks, I'll give it a try next time it happens here.

By the way, not sure if this is new knowledge or not, but disabling TLS 1.3 on Firefox seems to make a lot of these issues go away.

Waiting for information

About how long after the process has been running does this issue start to happen?


Is your ConnectWise Control server using HTTPS?  Has it been implemented through mono or via another method, such as nginx?

Just had a chat with Andrew (Control Support):

- this happens 2-3 times a week sporadically

- Relay is using port 443

- instance is running with mono

- we're using Firefox (mostly)

- next time this happens we will try to open SC with Internet Explorer


Does Chrome kills mono because of TLS 1.3? see Chrome and TLS 1.3