Connection is lost problem with Docs integration

Hi!

Installed CommunityServer with docker and periodically get a problem in dox “Connection is lost”. The following information is visible in the web.files.log logs and I do not understand how to solve it. Only pod reboot helps for a while.
Using communityserver docker latest version

web.files.log

2021-11-30 07:54:18,056 ERROR [159] ASC.Files - DocService command error System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.) ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
  at /build/mono-6.8.0.123/external/boringssl/ssl/handshake_client.c:1132
  at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
  at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
   --- End of inner exception stack trace ---
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x0016a] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001ba] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
   --- End of inner exception stack trace ---
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x0021a] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00141] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at System.Net.WebOperation.Run () [0x0009a] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00016] in <88f564ea69dd4dc8ba9bf979e48d5996>:0 
  at ASC.Web.Core.Files.DocumentService.CommandRequest (System.String documentTrackerUrl, ASC.Web.Core.Files.DocumentService+CommandMethod method, System.String documentRevisionId, System.String callbackUrl, System.String[] users, ASC.Web.Core.Files.DocumentService+MetaData meta, System.String signatureSecret, System.String& version) [0x000f0] in <91ae371a480b45c4914e0eac43a7218e>:0 
  at ASC.Web.Files.Services.DocumentService.DocumentServiceConnector.Command (ASC.Web.Core.Files.DocumentService+CommandMethod method, System.String docKeyForTrack, System.Object fileId, System.String callbackUrl, System.String[] users, ASC.Web.Core.Files.DocumentService+MetaData meta) [0x00056] in <e96af0f606dc4078885e2ef926641c05>:0 
2021-11-30 07:54:18,061 ERROR [159] ASC.Files - System.Exception: Ошибка запуска редактирования файла
  at ASC.Web.Files.Services.WCFService.FileStorageServiceController.StartEdit (System.String fileId, System.Boolean editingAlone, System.String doc) [0x00129] in <e96af0f606dc4078885e2ef926641c05>:0  System.Exception: Ошибка запуска редактирования файла
  at ASC.Web.Files.Services.WCFService.FileStorageServiceController.StartEdit (System.String fileId, System.Boolean editingAlone, System.String doc) [0x00129] in <e96af0f606dc4078885e2ef926641c05>:0 

Hello av.antonov.

Please point us to the guide which you used for portal installation, also let us know your version of components.

I see error entry in provided log: SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED

How did you enable HTTPS on the portal? Please double check your certificate, it looks like something goes wrong.

As for the issue in general. Please make a screenshot of an error and provide us with whole Document server logs folder. It’s located here: /app/onlyoffice/DocumentServer/logs/documentserver/