openimsdk / openim-sdk-core

Instant Messaging
https://openim.io
Apache License 2.0
348 stars 314 forks source link

[BUG] On the Android side, some accounts are consistently failing when calling the login interface, causing database errors. These accounts were able to log in normally previously. This issue is constantly reproducible on version 3.5.1. #541

Open 7msunshine opened 4 months ago

7msunshine commented 4 months ago

OpenIM Server Version

3.5.1

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Initially, with SDK version 3.2.0, the issue was recurrent with each login attempt and no unique characteristics of these problem accounts were flagged. After upgrading to version 3.5.1, the same issue persisted and the errors were consistent. It is unclear what may have caused this and how to troubleshoot it. There are tables in the cache database, but the user data is not comprehensive. What could possibly be causing this and how should I go about investigating? ErrorInfo: code:10005 error:error *errors.withStack not implement CodeError: init database ==> open_im_sdk/pkg/db.NewDataBase()@107: initDB failed /data/user/0/com.im.test/cache: index index_recv_id already exists: 10006 SdkInternalError

Screenshots Link

521715667911_ pic 531715667913_ pic

kubbot commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

kubbot commented 2 months ago

This issue was closed because it has been stalled for 7 days with no activity.