open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

Bug: App freezes and crashes

Open tianyu9090 opened this issue 1 year ago • 4 comments

What happened?

App freezes and crashes

What did you expect to happen?

On the session list page, The application keeps printing error logs: 2024-04-19 06:40:06.262 [31mERROR[0m [31m[PID:479][0m [conversation_msg/message_controller.go:52] Unmarshal err {"operationID": "1713508780157", "conversationID": "si_1181044594_5665709918", "latestMsg": "", "error": "unexpected end of JSON input"}

On the session details page,The application keeps printing error logs: 2024-04-19 06:24:04.123 [31mERROR[0m [31m[PID:449][0m [util/post.go:98] ApiRequest {"operationID": "1713507779357", "type": "network error", "error": "Post "https://openim-api.88zb3355.com/conversation/set_conversations": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"} 2024-04-19 06:24:04.123 [31mERROR[0m [31m[PID:449][0m [util/post.go:98] ApiRequest {"operationID": "1713507778982", "type": "network error", "error": "Post "https://openim-api.88zb3355.com/conversation/set_conversations": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"} 2024-04-19 06:24:04.123 [31mERROR[0m [31m[PID:449][0m [util/post.go:98] ApiRequest {"operationID": "1713507779352", "type": "network error", "error": "Post "https://openim-api.88zb3355.com/conversation/set_conversations": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"} 2024-04-19 06:24:04.123 [31mERROR[0m [31m[PID:449][0m [util/post.go:98] ApiRequest {"operationID": "1713507779369", "type": "network error", "error": "Post "https://openim-api.88zb3355.com/conversation/set_conversations": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}

Question: As a result, the memory increases to 1G, so the application freezes or crashes.I guess the bottom layer keeps making requests, causing the memory to skyrocket.

How can we reproduce it (as minimally and precisely as possible)?

[email protected], This is my personal email. If you see the information, please contact me and let me know the solution. Thank you.

Anything else we need to know?

No response

version

V3.5.1

Cloud provider

No have

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

tianyu9090 avatar Apr 19 '24 07:04 tianyu9090

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

kubbot avatar Apr 19 '24 07:04 kubbot

Hello! thank you for your reply! The error log printed above is what I provided. In addition, the link you sent to join slack is invalid. Could you please send it to the developer's email address so that I can communicate with him easily and solve the problem quickly.

tianyu9090 avatar Apr 20 '24 01:04 tianyu9090

https://join.slack.com/t/openimsdk/shared_invite/zt-2hljfom5u-9ZuzP3NfEKW~BJKbpLm0Hw

skiffer-git avatar Apr 28 '24 08:04 skiffer-git

I recommend you update to release-v3.8. If you encounter any new issues, please reopen this issue or create a new one.

skiffer-git avatar Sep 29 '24 06:09 skiffer-git