mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Android & iOS Push don't work using EU Data Region #1649
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doschn on GitHub (Jul 26, 2023).
Subject of the issue
Push notifications do not work, using a freshly re-installed apps - Version. 2023.7.0 (6781 on Android, 3881 on iPad )
I already checked for relevant issues and double-checked environmental variables - they are correctly implemented according to the guide and mentioned issue (see vaultwarden.conf content below - also shown correctly within the admin panel)
neither cloudflare WAF nor haproxy or surricata on OPNsense show any blocked requests or anomalies within the logfiles.
Deployment environment
Your environment (Generated via diagnostics page)
may be an issue with push-services using Data Region "bitwarden.eu European Union" - are there any configuration / env parameters for changing the Push relay base uri?
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
vaultwarden version: 1.29.0
Install method:
Podman (3:4.4.1-14) + systemd Service hosted on AlmaLinux release 8.8
Content of /opt/vaultwarden/vaultwarden.conf:
user (MFA enabled) is member of an organization, groups disabled (organization currently empty, no collections created)
tried re-installing the app, clearing all app-data (cache & data).
Steps to reproduce
Expected behaviour
Push notifications working
Actual behaviour
push-notifications doesn't work, throwing following errors:
Troubleshooting data
will be attached if required
@BlackDex commented on GitHub (Jul 26, 2023):
Verify that the ID and Key are valid by checking if they match within the admin settings interface.
No spaces or anything should be surrounded.
Also see #3699
@doschn commented on GitHub (Jul 26, 2023):
they are fine without any additional characters, double-checked it multiple times.
I assume it could be an issue with the hard-coded Push relay base uri pointing at https://push.bitwarden.com when using the Euopean Data Region. > https://bitwarden.com/host/
Update: changing PUSH_RELAY_BASE_URI=https://push.bitwarden.eu within the vaultwarden.conf according to the official server geographies documentation (https://bitwarden.com/help/server-geographies/) do not have any impact on the setting within admin-panel. it still remains on https://push.bitwarden.com
remark: ENV is passed to the container
@BlackDex commented on GitHub (Jul 26, 2023):
It should be
https://push.bitwarden.comand nothing else.Please try to enable debug logging and see if there is anything wrong with accessing the internet or resolving the push domain.
Maybe it shows something else that goes wrong.
It seems to work just fine for me.
@BlackDex commented on GitHub (Jul 27, 2023):
Nothing much to give as the settings are just done via ENV variables using docker.
And it's not a good idea to post my key and id here ;)
@BlackDex commented on GitHub (Jul 27, 2023):
@doschn any update? Do you have any logs with debug enabled?
I'm not able to reproduce this with a valid key and id only with invalid values.
@doschn commented on GitHub (Jul 27, 2023):
@BlackDex I've been busy at work.
Recently I was able to fix it by requesting an additional Instance ID and Instance Key for the US Data Region and changing the ENV to the new ones.
I'll add a notice to the Wiki Page that EU Data Region is currently not supported for push notifications.
Can we modify this bug report into a feature-request to add support for push notifications using the EU servers or should i open a new one?