Bitwarden logs out the client when there’s an error response on purpose.
I have observed that if i’m offline, the bitwarden app/extentions work perfectly fine and show me my existing vault items. But if the case is that I’m online, but my bitwarden server is offline for more than a few hours, then the app logouts and I cannot access anything until the server is back up I got an answer from the community that it is expected. (ref: Bitwarden App Logs Out if the server is not running)
So there should be an option to turn off this behavior.
We really need something better then just an unexplained full logout on an error. At the minimum this should be logged somewhere. Ideally it should be configurable.
If you want to limit to ‘advanced’ users make it configurable via an environment variable or something.
This feature request is not locked. However, new users on the forum do not acquire voting privileges until after their membership status (“trust level”) has increased from “new member” to “basic member”. This requires that you participate in the forum for some time by reading topics and comments of interest to you.
hello again, posting again since my previous post was closed without me getting a chance to respond
it doesn’t matter if its vaultwarden or bitwarder/server is used as the underlying server, the issue is a client side issue with NetworkConnectionManagerImpl specifically isNetworkConnected
If I’m in airplane mode the error doesn’t happen - which is what I’d expect
There appears to be tons of code using this check - so it would appear at first glance this is whats going on? (haven’t looked much deeper than this)
I just stood up official bitwarden/server via docker and it showed the same issue
It would be nice to have some option on the client where if the underlying server is not available, to not throw an error, and just let user use it as expected in offline mode.
Like i said, this is benign for the most part
It doesn’t seem to happen via auto filling flows where I’m in a webpage on android and have to autofill via bitwarden client
It only seems to happen if im off network, bitwarden client app hasn’t opened yet, and I open for first time, then I get this error
@shayaantx Sorry, I don’t understand your reaction, as I just moved your post into the corresponding feature request to continue the discussion there (here), and don’t see any reason to close this feature request.