If you’re experiencing problems connecting your Bitwarden mobile app to a Vaultwarden server – a self-hosted Bitwarden-compatible server – follow these common steps to troubleshoot and solve the problem:
1. Check the Server URL
Make sure that the URL inputted in your mobile app leads to your Vaultwarden server.
Make sure you have used the right protocol (https://
or http://
). Most installations need https://
for a secure connection.
- Example:
https://yourdomain.com
orhttp://your-local-ip
.
2. Verify DNS and Port Forwarding
- If using a domain, confirm that the DNS is correctly pointing to your server’s IP.
- Ensure port 443 (HTTPS) or 80 (HTTP) is open and forwarded on your router if hosting the server at home.
3. SSL/TLS Configuration
- If you are using HTTPS, then check that the SSL/TLS certificate is valid. Invalid certificates will prevent a mobile app from connecting.
Use tools like SSL Labs to check on certificate validity
For local testing, use a self-signed certificate and add it as a trusted certificate on your mobile device.
4. Check the Vaultwarden Server Status
- Confirm that the Vaultwarden server is running properly:
bash docker ps
Look for the Vaultwarden container and its status. - Check server logs for errors:
bash docker logs vaultwarden
5. Firewall Rules
- Ensure your server’s firewall allows incoming connections on the Vaultwarden port (default is 80 or 443).
6. Verify App Settings
- In the Bitwarden mobile app:
- Go to Settings > Server URL.
- Enter the full URL of your Vaultwarden server.
- Test by logging in again.
7. Update Software
- Make sure both the Vaultwarden server and Bitwarden mobile app are updated to the latest versions for compatibility.
8. Check Network Configuration
- Ensure the mobile device is connected to a network that can access the Vaultwarden server.
- Try accessing the Vaultwarden server through a browser on the same network.
9. Use Debugging Logs
- Enable debugging logs on Vaultwarden to gain more insight into connection attempts:
bash RUST_LOG=debug ./vaultwarden
10. Reinstall the App
- Uninstall and reinstall the Bitwarden mobile app to clear any misconfigured settings.
If these steps don’t resolve your issue, let me know the error message or describe the issue further for more targeted assistance.