openim-sdk-core icon indicating copy to clipboard operation
openim-sdk-core copied to clipboard

[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.

Open 7msunshine opened this issue 1 year ago • 2 comments

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

7msunshine avatar May 14 '24 06:05 7msunshine

The latest version doesn't have this issue. Please go ahead and use it.

skiffer-git avatar Nov 21 '24 13:11 skiffer-git