Skip to content
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

Notifications error #12

Closed
dvgtrsnco opened this issue Mar 13, 2021 · 4 comments
Closed

Notifications error #12

dvgtrsnco opened this issue Mar 13, 2021 · 4 comments

Comments

@dvgtrsnco
Copy link

Hi Julian,

I managed to get DockerRS working nicely. One thing I noticed that de mobile app doesn't sync with my webbrowser properly. I need to manually force the app to sync.
Upon investigation i found the error below in the Bitwarden container.

[2021-03-13 14:43:47.512][bitwarden_rs::api::notifications][ERROR]
###########################################################
'/notifications/hub' should be proxied to the websocket server or notifications won't work.
Go to the Wiki for more info, or disable WebSockets setting WEBSOCKET_ENABLED=false.
###########################################################################################

How can I fix this? I pretty much used your docker-compose config.

Cheers,
Deeks

@JulianRunnels
Copy link
Owner

Hmm @deeks01 interesting find, the app has been working fine for me overall, but happy to look into this. I will take a look later tonight.

@JulianRunnels
Copy link
Owner

@deeks01 Apologies on the delay, some real life stuff came up last night. I reviewed the bitwarden_rs wiki (the underlying container that creates this project) and unfortunately, it doesn't look like bitwarden_rs supports notifications to mobile apps. Specifically this page here says:

Note that WebSocket notifications are not applicable to the mobile (Android/iOS) Bitwarden clients. These clients use the native push notification service instead (FCM for Android, APNs for iOS). bitwarden_rs does not currently support push notifications to mobile clients.

It looks like this exact issue was discussed in issue 126.

That being said, it should be possible to enable web sockets on the desktop portion at the very least for my setup, I will review further. For your ask, unfortunately it looks like you will have to continue to manually sync the apps, at least while using the bitwarden_rs solution.

@JulianRunnels
Copy link
Owner

@deeks01 I wish I could solve the mobile push notifications, but until an update is made in the bitwarden_rs platform I can't help there. In the meantime I have set up and push a change to enable web sockets for desktop applications upon initial setup!

@dvgtrsnco
Copy link
Author

Hi Julian,

Thanks for looking into this, much appreciated!

Deeks01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant