Internal Server Error When Sync File

The Client can not successfully sync files, it throws an internal server error.
And sometimes it can not login,same situation appear at webUI seafile.
But most of time the webUI seafile can be used as normal.
I wonder any predecessor could tell me how it happens and how to solve it.

Here I lie some images of this phenomenons and relevant logs.

login error page of Client:
internal server error

login error page of webUI:

Client log at local:

seafevent log on server:

seahub log on server: