Recv failed 104 Connection reset by peer while reading upstream

Problem:

In the web-ui, the libraries list is replaced by the message: … please check the network … occasionally. I can’t use the web-ui when this happens.

In the console, I see this error. [error] 160#160: *105610 recv() failed (104: Connection reset by peer) while reading upstream

Story:

I set up a fresh seafile-mc 7.0.5 docker.

It seemed to be somewhat working. I have synced 28 Gb of data in several libraries.

errors:

db_1         | 2020-04-07T00:04:16.005838944Z 2020-04-07  0:04:16 837 [Warning] Aborted connection 837 to db: 'unconnected' user: 'unauthenticated' host: '192.168.16.6' (This connection closed normally without authentication)
jproxy_1     | 2020-04-07T00:04:16.006854409Z nginx.1    | 2020/04/07 00:04:16 [error] 160#160: *105610 recv() failed (104: Connection reset by peer) while reading upstream, client: 192.168.88.1, server: seba.com, request: "GET /api/v2.1/repos/?type=mine HTTP/2.0", upstream: "http://192.168.16.5:3306/api/v2.1/repos/?type=mine", host: "seba.com", referrer: "https://seba.com/my-libs/"

The client logs show this type of thing. The client does eventually sync.

[04/06/20 20:30:48] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'data') --> ('error', 'finished')
[04/06/20 20:30:48] sync-mgr.c(621): Repo 'sfile' sync state transition from downloading to 'error': 'File is locked by another application'.
[04/06/20 20:31:19] sync-mgr.c(582): Repo 'sfile' sync state transition from 'synchronized' to 'downloading'.
[04/06/20 20:31:19] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'init') --> ('normal', 'check')
[04/06/20 20:31:19] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'check') --> ('normal', 'commit')
[04/06/20 20:31:19] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'commit') --> ('normal', 'fs')
[04/06/20 20:31:19] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'fs') --> ('normal', 'data')
[04/06/20 20:31:21] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'data') --> ('finished', 'finished')
[04/06/20 20:31:21] sync-mgr.c(582): Repo 'sfile' sync state transition from 'downloading' to 'synchronized'.
[04/06/20 20:31:23] sync-mgr.c(582): Repo 'sfile' sync state transition from 'synchronized' to 'committing'.
[04/06/20 20:31:23] repo-mgr.c(3781): All events are processed for repo 71cd205d-7748-4393-a0e4-fc3513331c55.
[04/06/20 20:31:23] sync-mgr.c(582): Repo 'sfile' sync state transition from 'committing' to 'uploading'.
[04/06/20 20:31:23] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'init') --> ('normal', 'check')
[04/06/20 20:31:23] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'check') --> ('normal', 'commit')
[04/06/20 20:31:24] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'commit') --> ('normal', 'fs')
[04/06/20 20:31:24] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'fs') --> ('normal', 'data')
[04/06/20 20:31:24] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'data') --> ('normal', 'update-branch')
[04/06/20 20:31:24] http-tx-mgr.c(1157): Transfer repo '71cd205d': ('normal', 'update-branch') --> ('finished', 'finished')
[04/06/20 20:31:24] sync-mgr.c(582): Repo 'sfile' sync state transition from 'uploading' to 'initializing'.
[04/06/20 20:31:24] sync-mgr.c(881): Removing blocks for repo sfile(71cd205d).

Can someone help figure this out?