Solved Bitwarden App no longer syncing with Docker Container

Currently reading
Solved Bitwarden App no longer syncing with Docker Container

1,104
362
NAS
DS418play, DS213j, DS3621+, DSM 7.0.4-11091
I'm not even sure where to start... I just noticed that my Android Bitwarden app was missing some entries. But I'm unsure when this started happening.

I reinstalled the app and used the same DDNS: Port URL that works on my browser. I can sign into the account but there are no entries. When I create an entry on my phone, I noticed that my folders appeared, but no other entries.

When I manually sync, I get sync failed. This happens on wifi and data. I dropped the NAS firewall without success.

I must have changed a security setting somewhere.

2 weeks ago I changed my BW URL to use Reverse Proxy... I thought it was working but apparently, the entries I saw were cached on the phone. So I returned to DDNS port forward, and still no success.

I can access all my BW stuff through the PC browser on my local LAN so, the data is there. I can also add new entries from the browser and the browser extension works as expected.

I am stumped. Ideas?
 
1,104
362
NAS
DS418play, DS213j, DS3621+, DSM 7.0.4-11091
Rookie error 😰 Updated the Docker container and sync returned. Yikes!
 
1,104
362
NAS
DS418play, DS213j, DS3621+, DSM 7.0.4-11091
Actualy BW is one of the containers that deserves a custom reverse proxy rule, as it uses port 3012 additionaly for websocket communication between the container and the client, see: dani-garcia/bitwarden_rs (Nginx (by shauder))
That was interesting reading... and went entirely over my head... But then I read this...

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Enabling WebSocket notifications

Miro Prasil edited this page on May 16, 2019 Β· 3 revisions
Important: This does not apply to the mobile clients, which use push notifications.
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Apart from my laptop, all my external access is on mobile clients. When I used DDNS port-forwards, it was only ever to access container port 80. What functionality does WebSocket bring? Is WebSocket primarily for notifications?
 
Last edited:
It actualy allows to push changes to the client.
Hontestly, I have never seen any sort of notification in my client :)

Forget that I ever mentioned it.
https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-WebSocket-notifications said:
Important: This does not apply to the mobile clients, which use push notifications.
 

Rusty

Moderator
NAS Support
2,486
747
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Correct. Live Sync of new items in the vault will not work with mobile clients (still needs to be manually updated or on a timer). LS will work on your desktop and web versions via 3012 port if setup correctly as @one-eyed-king mentioned. You will need to customize your reverse a bit to make this happen.

 
1,104
362
NAS
DS418play, DS213j, DS3621+, DSM 7.0.4-11091
Thank you Rusty. I didn't realize that syncing was separately managed. πŸͺ
 
325
124
NAS
DS212J, DS214play, DS216, DS216play, DS414, DS918+, RS816
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. iOS
I would like to try this LiveSync thing, but am confused about how to do so in my particular situation.
There are two Diskstations involved. Diskstation 1 is set up using reverse proxy to send connections to bitwarden.mydomain.com to Bitwarden, which is running in docker on Diskstation 2. That being the case, if I'm removing the reverse proxy setup in Control Panel on Diskstation 1, am i putting the new .conf file on Diskstation 1, or Diskstation 2? And is there anything I need to do that differs from the instructions (which seem to assume that Bitwarden is running on the same machine that's doing the proxying)?
 

Rusty

Moderator
NAS Support
2,486
747
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Proxy file goes on proxy nas. Regardless of where the container is running proxy simple or complex is configured on the proxy side.
 
325
124
NAS
DS212J, DS214play, DS216, DS216play, DS414, DS918+, RS816
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. iOS
A HUGE shoutout to Rusty, who very kindly helped me offline to get the LiveSync working! A MILLION cookies for him! πŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸͺπŸ₯ πŸ₯ πŸ₯ πŸ₯ πŸͺπŸͺπŸͺ
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Trending threads

Top