-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant crate new entries - cant read rew entries if created from e.g. webui #16
Comments
@ippocratis please share reproduction steps. |
I'm on an android A14 custom called crdroid rooited with KSU if any on this matters. Both the latest release but the latest build from actions artifact fail to read changes in server or create new entries. Nothing special to say on how to reproduce . Install app . set selfhosted instance (I use vaultwarden) , select a setwm cert or.import it, put your email and password to login and complete.the 2fa chalenge. Tap the plus(+) button to add a new entry . use a unique name for testing purpuses . tap save . a popup appears saying item added. Swatch for the new entry and discover that it never was created . i can't find it Server logs looks normal(?) [2024-08-02 16:08:03.786][request][INFO] GET /api/sync [2024-08-02 16:08:03.862][request][INFO] GET /api/sync [2024-08-02 16:08:04.392][response][INFO] (sync) GET /api/sync?<data..> => 200 OK [2024-08-02 16:08:04.392][response][INFO] (sync) GET /api/sync?<data..> => 200 OK [2024-08-02 16:08:05.929][request][INFO] GET /api/config/ [2024-08-02 16:08:05.930][][WARN] Response was Maybe the [2024-08-02 16:08:06.009][response][INFO] (web_files) GET /<p..> [10] => 404 Not Found Looks suspicious |
@ippocratis can you try to select option 'Sync' on top right menu, three dots ? This works for me. I know bitwarden supports automatic sync based on websocket. Do you refer to it? |
New entry is not saved even when using the sync option
I guess yes. Anything else I could posibly check? Device logs dont look any helpfull
logcat08-03 21:18:59.717 21410 21716 I AppLocaleUtil: Can display preference - [com.x8bit.bitwarden] : isDisallowedPackage : false / isSignedWithPlatformKey : false / hasLauncherEntry : true / canDisplay : false / 1.1 08-03 21:19:00.239 3084 3098 W system_server: ApkAssets: Deleting an ApkAssets object ' and /data/app/~~tTP-5aQcULAuYsI0Sqd94g==/com.x8bit.bitwarden-AlbLejxa2Prquoanauc4Qw==/base.apk' with 1 weak references 08-03 21:19:01.206 3400 3426 V WindowManagerShell: Transition requested (bitwarden#2118): android.os.BinderProxy@bb282f6 TransitionRequestInfo { type = TO_FRONT, triggerTask = TaskInfo{userId=0 taskId=8939 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x34000000 pkg=com.x8bit.bitwarden cmp=com.x8bit.bitwarden/.MainActivity } baseActivity=ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} topActivity=ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} origActivity=null realActivity=ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} numActivities=1 lastActiveTime=120950248 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@f2ce6f7} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 94 - 0, 0) topActivityInfo=ActivityInfo{e87c964 com.x8bit.bitwarden.MainActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2400 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatControlState=hidden}}, pipTask = null, remoteTransition = null, displayChange = null, flags = 0, debugId = 2118 } 08-03 21:19:01.207 3400 3426 D WindowManagerShell: onActivityRestartAttempt: ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} 08-03 21:19:01.210 3084 3108 D ActivityManager: sync unfroze 20956 com.x8bit.bitwarden for 1 08-03 21:19:01.237 3084 3105 V WindowManager: Sent Transition (bitwarden#2118) createdAt=08-03 21:19:01.200 via request=TransitionRequestInfo { type = TO_FRONT, triggerTask = TaskInfo{userId=0 taskId=8939 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x34000000 pkg=com.x8bit.bitwarden cmp=com.x8bit.bitwarden/.MainActivity } baseActivity=ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} topActivity=ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} origActivity=null realActivity=ComponentInfo{com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity} numActivities=1 lastActiveTime=120950248 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{RemoteToken{5dbe5f2 Task{d0a7c73 #8939 type=standard A=10690:com.x8bit.bitwarden}}} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 94 - 0, 0) topActivityInfo=ActivityInfo{af350e2 com.x8bit.bitwarden.MainActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2400 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatControlState=hidden}}, pipTask = null, remoteTransition = null, displayChange = null, flags = 0, debugId = 2118 } 08-03 21:19:01.238 3084 3105 V WindowManager: {WCT{RemoteToken{5dbe5f2 Task{d0a7c73 #8939 type=standard A=10690:com.x8bit.bitwarden}}} m=TO_FRONT f=MOVE_TO_TOP leash=Surface(name=Task=8939)/@0xa855d54 sb=Rect(0, 0 - 1080, 2400) eb=Rect(0, 0 - 1080, 2400) d=0}, 08-03 21:19:01.270 3084 3453 D ConnectivityService: requestNetwork for uid/pid:10690/20956 activeRequest: null callbackRequest: 9083 [NetworkRequest [ REQUEST id=9084, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10690 RequestorUid: 10690 RequestorPkg: com.x8bit.bitwarden UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647 08-03 21:19:01.275 3084 3259 D WifiNetworkFactory: got request NetworkRequest [ REQUEST id=9084, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10690 RequestorUid: 10690 RequestorPkg: com.x8bit.bitwarden UnderlyingNetworks: Null] ] 08-03 21:19:01.281 3084 3259 D UntrustedWifiNetworkFactory: got request NetworkRequest [ REQUEST id=9084, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10690 RequestorUid: 10690 RequestorPkg: com.x8bit.bitwarden UnderlyingNetworks: Null] ] 08-03 21:19:01.281 3084 3259 D OemPaidWifiNetworkFactory: got request NetworkRequest [ REQUEST id=9084, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10690 RequestorUid: 10690 RequestorPkg: com.x8bit.bitwarden UnderlyingNetworks: Null] ] 08-03 21:19:01.282 3084 3259 D MultiInternetWifiNetworkFactory: got request NetworkRequest [ REQUEST id=9084, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10690 RequestorUid: 10690 RequestorPkg: com.x8bit.bitwarden UnderlyingNetworks: Null] ] 08-03 21:19:01.293 20956 20996 I AdrenoGLES-0: Process Name : com.x8bit.bitwarden 08-03 21:19:01.322 3648 3648 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ REQUEST id=9084, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10690 RequestorUid: 10690 RequestorPkg: com.x8bit.bitwarden UnderlyingNetworks: Null] ] 08-03 21:19:01.352 3084 3209 I ImeTracker: com.x8bit.bitwarden:55b1094a: onRequestHide at ORIGIN_SERVER reason HIDE_UNSPECIFIED_WINDOW fromUser false 08-03 21:19:01.352 3084 3209 I ImeTracker: com.x8bit.bitwarden:55b1094a: onCancelled at PHASE_SERVER_SHOULD_HIDE 08-03 21:19:01.783 21410 21707 D AppBatteryPresenter: package:com.x8bit.bitwarden|com.x8bit.bitwarden uid:10690 userId:0 08-03 21:19:04.078 20956 20956 I ImeTracker: com.x8bit.bitwarden:dc7ba620: onRequestShow at ORIGIN_CLIENT reason SHOW_SOFT_INPUT fromUser false 08-03 21:19:04.252 3084 3209 D CoreBackPreview: Window{1506aaa u0 com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@c4c60fe, mPriority=0, mIsAnimationCallback=false} 08-03 21:19:04.519 20956 20956 I ImeTracker: com.x8bit.bitwarden:dc7ba620: onShown 08-03 21:19:11.316 20956 20956 I ImeTracker: com.x8bit.bitwarden:e69055f6: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser true 08-03 21:19:11.361 3084 3101 D CoreBackPreview: Window{1506aaa u0 com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@fe6a279, mPriority=0, mIsAnimationCallback=false} 08-03 21:19:11.376 3084 6487 D CoreBackPreview: Window{663cb7d u0 com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@66a55ca, mPriority=0, mIsAnimationCallback=false} 08-03 21:19:11.387 3084 3109 V WindowManager: Loading animations: layout params pkg=com.x8bit.bitwarden resId=0x1030309 08-03 21:19:11.621 20956 20956 I ImeTracker: com.x8bit.bitwarden:3400bbe4: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT_ON_ANIMATION_STATE_CHANGED fromUser false 08-03 21:19:11.621 3084 6487 I ImeTracker: com.x8bit.bitwarden:3400bbe4: onCancelled at PHASE_SERVER_SHOULD_HIDE 08-03 21:19:11.621 20956 20956 I ImeTracker: com.x8bit.bitwarden:e69055f6: onHidden 08-03 21:19:11.867 3084 6487 D CoreBackPreview: Window{663cb7d u0 com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity}: Setting back callback null 08-03 21:19:11.869 3084 3729 W InputManager-JNI: Input channel object '663cb7d com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity (client)' was disposed without first being removed with the input manager! 08-03 21:19:11.869 3084 3729 V WindowManager: Loading animations: layout params pkg=com.x8bit.bitwarden resId=0x1030309 08-03 21:19:11.873 3084 3729 I NotificationService: cancelToast pkg=com.x8bit.bitwarden token=android.os.BinderProxy@7d0cc5d 08-03 21:19:11.873 3084 3729 W NotificationService: Toast already cancelled. pkg=com.x8bit.bitwarden token=android.os.BinderProxy@7d0cc5d 08-03 21:19:14.476 3084 3209 W NotificationService: Toast already killed. pkg=com.x8bit.bitwarden token=android.os.BinderProxy@88a5932 08-03 21:19:16.139 3084 6487 I InputDispatcher: Channel [Gesture Monitor] swipe-up (server) is stealing input gesture for device 4 from [1506aaa com.x8bit.bitwarden/com.x8bit.bitwarden.MainActivity, [Gesture Monitor] edge-swipe]08-03 21:19:16.222 3084 3105 V WindowManager: {WCT{RemoteToken{5dbe5f2 Task{d0a7c73 #8939 type=standard A=10690:com.x8bit.bitwarden}}} m=TO_BACK f=NONE leash=Surface(name=Task=8939)/@0xa855d54 sb=Rect(0, 0 - 1080, 2400) eb=Rect(0, 0 - 1080, 2400) d=0}, 08-03 21:19:17.049 3084 3105 V WindowManager: {WCT{RemoteToken{5dbe5f2 Task{d0a7c73 #8939 type=standard A=10690:com.x8bit.bitwarden}}} m=TO_BACK f=NONE leash=Surface(name=Task=8939)/@0xa855d54 sb=Rect(0, 0 - 1080, 2400) eb=Rect(0, 0 - 1080, 2400) d=0} 08-03 21:19:17.058 3084 3101 V WindowManager: Loading animations: layout params pkg=com.x8bit.bitwarden resId=0x1030308 08-03 21:19:27.173 3084 3226 D ActivityManager: freezing 20956 com.x8bit.bitwarden |
I've looked into vaultwarden docs. It points mobile client doesn't actually support websocket based notifications. Please share logs from the server side. Logs with higher level of verbosity from proxy and vaultwarden may help. |
Docker logsvaultwarden [2024-08-04 09:22:26.417][request][INFO] POST /identity/connect/token [2024-08-04 09:22:26.964][response][INFO] (login) POST /identity/connect/token => 200 OK [2024-08-04 09:22:27.573][request][INFO] GET /api/accounts/revision-date [2024-08-04 09:22:27.575][response][INFO] (revision_date) GET /api/accounts/revision-date => 200 OK [2024-08-04 09:22:27.724][request][INFO] GET /api/sync [2024-08-04 09:22:28.148][response][INFO] (sync) GET /api/sync?<data..> => 200 OK [2024-08-04 09:22:29.394][request][INFO] GET /api/config/ [2024-08-04 09:22:29.395][][WARN] Response was There are some errors but the get api sync call looks OK Webserver also has some 404 codes
caddy logs37.6.75.101 - - [04/Aug/2024:12:22:26 +0300] "POST /identity/connect/token HTTP/1.1" 200 3166 37.6.75.101 - - [04/Aug/2024:12:22:27 +0300] "GET /api/accounts/revision-date HTTP/1.1" 200 13 37.6.75.101 - - [04/Aug/2024:12:22:28 +0300] "GET /api/sync HTTP/1.1" 200 1968063 37.6.75.101 - - [04/Aug/2024:12:22:29 +0300] "GET /api/config/ HTTP/1.1" 404 128 37.6.75.101 - - [04/Aug/2024:12:22:29 +0300] "GET /api/accounts/revision-date HTTP/1.1" 200 13 37.6.75.101 - - [04/Aug/2024:12:22:30 +0300] "GET /api/config/ HTTP/1.1" 404 128 37.6.75.101 - - [04/Aug/2024:12:22:42 +0300] "GET /api/config/ HTTP/1.1" 404 128 37.6.75.101 - - [04/Aug/2024:12:22:42 +0300] "POST /api/ciphers HTTP/1.1" 200 923 37.6.75.101 - - [04/Aug/2024:12:27:37 +0300] "GET /api/accounts/revision-date HTTP/1.1" 200 13 37.6.75.101 - - [04/Aug/2024:12:27:38 +0300] "GET /api/sync HTTP/1.1" 200 1968987 37.6.75.101 - - [04/Aug/2024:12:27:41 +0300] "GET /api/config/ HTTP/1.1" 404 128 |
I don't believe this related to mtls changes. Per server logs, all of connections has been established. |
I had switched to an earlier (before Maui) version of the app.
What the issue is: To figure this out I created a folder and a new item (the only item in that folder. screen-20241124-232824.mp4ps: Take care...... |
I'm referring to the https://github.com/oguzhane/nibblewarden/actions/runs/10196044017 build not the latest release from 3 days ago.
The text was updated successfully, but these errors were encountered: