I have installed VW via docker on my ubuntu server behind a Traefik reverse proxy. I set up an account and imported a vault from 1Password. I set up the desktop app (MacOS), two iOS apps, and Chrome browswer extension. All works well except… push updates.
Followed the directions on the wiki and retrieved my ID and Key at Requesting Hosting Installation ID & Key | Bitwarden. Deleted and re-added the apps on my phone and ipad, but when I log in to my vault via the web and, say, add a secure note, it does not show up on the iOS apps until/unless I manually sync. I enabled debug logging and it seems to be connecting to the push server:
vaultwarden | [2024-09-07 16:00:46.788][vaultwarden::api::push][DEBUG] Auth Push token still valid, no need for a new one
vaultwarden | [2024-09-07 16:00:46.788][hyper_util::client::legacy::pool][DEBUG] reuse idle connection for ("https", push.bitwarden.com)
vaultwarden | [2024-09-07 16:00:46.788][h2::codec::framed_write][DEBUG] send frame=Headers { stream_id: StreamId(3), flags: (0x4: END_HEADERS) }
vaultwarden | [2024-09-07 16:00:46.788][h2::codec::framed_write][DEBUG] send frame=Data { stream_id: StreamId(3), flags: (0x1: END_STREAM) }
vaultwarden | [2024-09-07 16:00:46.892][h2::codec::framed_read][DEBUG] received frame=Headers { stream_id: StreamId(3), flags: (0x5: END_HEADERS | END_STREAM) }
When I update an item on iOS, that change is immediately reflected in the desktop and web, but think that is because they are using a WebSocket connection.
One last thing: when I “log in with device” I DO immediately get the pop-up notifcation on my phone and ipad… does that mean the push notifications are working? IF so, then for some reason they are not working when a vault item updates.
Note this is with a personal vault - no organizations or collections. Thanks.
UPDATE: It looks like this might be a bug in the new iOS apps that were just released a few days ago: Automatic syncing by push notifications is not working with Bitwarden.com · Issue #875 · bitwarden/ios · GitHub