In chrome I have updated the extension to 2024.6.2, still I am facing this logout issue.
My vault timeout action is set to Lock and not log out.
But bitwarden extension does not even remember my email once I go back.
I also tried removing the extensions and installing again, still its not working.
Started having a problem with Firefox extension closing Bitwarden earlier today, happened several times as discussed here. After finding this thread, I was checking current versions for my response and noted FF was updating; after updates so far everything seems to working correctly. Win10, FF ver 129.0.1, BW ver 2024.7.1
This is happening to me every day on one computer only - Firefox extension on Windows, no desktop BitWarden installed, everything up to date. Iāve just uninstalled and reinstalled the extension to see if that helps.
It happened again. The data location in Firefox seems to change every time you reinstall the extension (the UUID changes) anyway, and removing the extension seems to be removing the old local data, so thereās nothing else to delete.
So Iām not sure what to do next or how to debug this.
I left the console for the extension open. Itās logged out within 24 hours again. Iām not sure exactly when.
21:04:25.038 [SignalR] Close message received from server. console-log.service.ts:43:17
21:04:25.040
[SignalR] Connection disconnected with error 'Error: Server returned an error on close: Connection closed with an error.'. console-log.service.ts:51:17
09:05:17.655 XHRGET https://api.bitwarden.com/accounts/revision-date
[HTTP/2 401 1430649ms]
09:29:07.552 Firefox canāt establish a connection to the server at wss://notifications.bitwarden.com/hub?access_token=... vendor.js:2:37879
09:29:07.560 [SignalR] (WebSockets transport) There was an error with the transport. console-log.service.ts:43:17
09:29:07.561
[SignalR] Failed to start the connection: Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled. console-log.service.ts:51:17
09:29:09.084 [PhishingDetectionService] No active account. console-log.service.ts:43:17
09:29:09.098 Retrieving application id
Environment did not respond in time, emitting previous config. console-log.service.ts:43:17
09:29:09.902 [PhishingDetectionService] No active account. console-log.service.ts:43:17
09:29:10.086 can't access property "id", e is null console-log.service.ts:47:17
09:29:10.949
GET
wss://notifications.bitwarden.com/hub?access_token=...
[HTTP/1.1 401 Unauthorized 3544ms]
09:29:11.052 can't access property "id", e is null console-log.service.ts:47:17
09:29:11.187 Cannot find menu item with id autofill console-log.service.ts:47:17
09:29:11.374 can't access property "id", e is null console-log.service.ts:47:17
09:29:11.451 Cannot find menu item with id copy-password console-log.service.ts:47:17
09:29:12.098 [PhishingDetectionService] Initialize called. Checking prerequisites... console-log.service.ts:43:17
09:29:12.112 WebAssembly is supported in this environment browser-sdk-load.service.ts:51:13
09:29:12.120 Retrieving application id console-log.service.ts:43:17
09:29:12.182 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
Fx index.ts:116
background.js:1:1035362
09:29:12.279 WASM SDK loaded in 166ms console-log.service.ts:43:17
09:29:12.284 State version: 72
Hi @hmoffatt, thanks for the helpful console logs!
Looking through them, itās clear that the 401 response on the API call is what is causing the logout. Whatās less clear is why this call is getting that response. It is a very long call (24 minutes) which is quite unusual - are there any issues that might be happening with your network that could cause this?
A couple of questions that might help us debug this:
are you logged into multiple accounts in the extension?
do you have any sort of browser settings, extensions, or system automations that would cause the system storage for your browser to be cleared?
Thanks for responding @Micah_Edelblut . Looking at the console trace some more, I see that the GET of https://api.bitwarden.com/accounts/revision-date has the following header in the response:
www-authenticate: Bearer error=āinvalid_tokenā, error_description=āThe token expired at ā10/27/2025 19:05:26āā
Same for the GET of wss://notifications.bitwarden.com/hub?access_token=ā¦
Iām only logged into my one personal Bitwarden account.
I donāt have any automatic storage cleaning going on that Iām aware of - Iām staying logged into everything else OK, including this community site. But my other Firefox+Bitwarden installs all work fine so there must be something like that going on.
Our current theory is that network conditions prevented the call from making it to the server for long enough that the auth token expired between the call being sent and the server receiving it. Is there unique going on with the network this device is connected to that might cause significant delays like this?
The computer sleeps when idle, but so do all my others that work ok (Windows and Linux). I didnāt see any other network errors in the console. Should there be a refresh of the access token before the fetch of the revision-date endpoint that fails?