Problems connecting to a self-hosted vaultwarden instance behind a Cloudflare tunnel from an android client due to Access policy #3342
Unanswered
papshmeare
asked this question in
Q&A
Replies: 2 comments 7 replies
|
I'm using cloudflare tunnel, I got no issue, would you like to share some logs or config please? |
5 replies
|
I'm not sure if this helps but If you have any special characters in your subdomain this can cause random issues with android app client. Characters such as |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Your Environment
Expected Behavior
Open the bitwarden android app, specify
Server URL: https://x.domain.com, enter email, login, enter password, useCurrent Behavior
Open the bitwarden android app, specify
Server URL: https://x.domain.com, enter email, login -> getWe were unable to process your request. Please try again or contact us.Steps to Reproduce
Can you reproduce this reliably?
Every time I try to login into my self-hosted vaultwarden through Bitwardens android client
Error Log
My Docker container log doesn't register any attempt to connect.
Current ideas
When I use a browser to open my vaultwarden instance everythings works flawlessly. Chrome extension also recognizes and reliably connects to my instance. I have had trouble connecting to my self-hosted applications from android clients before but it was always a CORS issue and when I allowed specific origins in my access policies it usually resolved. In case with Bitwarden I tried adding


https://bitwarden.comrandomly guessing that this is what the origin might be for the app but to no avail. If anyone knows what is the origin when connecting from the app that would be appreciated. Though, of course, the issue may be in something other than CORS. I also thought that certificates might be the problem(knowing that android can be strict about that) but considering that other applications on my phone are working fine with my domain and digicert passes okay I think that is not the case.Any help is appreciated! I decided to post this in discussions because Bitwarden is not associated with vaultwarden, nonetheless I hope that someone might have encountered a similar issue here.
P.S Without any access policies the app is working as intended but it poses a security issue so the actual question is how to set up access policies in a way that it lets through bitwarden app?
All reactions