[PM-28863] Unable to log in to self-hosted server with .onion URL #2391

Open
opened 2025-11-26 23:17:56 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Zighy on GitHub (Nov 26, 2025).

Steps To Reproduce

  1. Go to login page
  2. Click on 'Logging in on : Self-hosted'
  3. Click on 'Self-hosted'
  4. On textbox 'Server URL' entre the http://.onion URL of the server behind tor network
  5. Click on 'Save'
  6. Perform Login and error occours => show the error :

Stacktrace:

java.net.Un knownServiceException: CLEARTEXT communication to xxxxxxxxxxx.onion not permitted by network security policy ....

Expected Result

The login should be allowed on .onion URL because it doesn't use https, end encryption is enforced by orbot VPN

Actual Result

Unable to login

Screenshots or Videos

No response

Additional Context

Moved here from issue : https://github.com/bitwarden/android/issues/6199

I understand that since 2025.8 the following feature has been implemented for security reasons but an exception for .onion URLs to allow http connections is greatly appreciated :

HTTPS now required on Android: The Android Password Manager app now requires connection to a server using HTTPS. This change will only affect users who are self-hosting a Bitwarden server without a SSL/TLS certificate. Learn more about certificates here.

(--> https://bitwarden.com/help/releasenotes/#2025-8-0)

Build Version

2025.11.0 (20967)

What server are you connecting to?

Self-host

Self-host Server Version

No response

Environment Details

  • Redmi Note 9
  • Android MIUI version 14.0.5

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Originally created by @Zighy on GitHub (Nov 26, 2025). ### Steps To Reproduce 1. Go to login page 2. Click on 'Logging in on : Self-hosted' 3. Click on 'Self-hosted' 4. On textbox 'Server URL' entre the http://.onion URL of the server behind tor network 5. Click on 'Save' 6. Perform Login and error occours => show the error : Stacktrace: java.net.Un knownServiceException: CLEARTEXT communication to xxxxxxxxxxx.onion not permitted by network security policy .... ### Expected Result The login should be allowed on .onion URL because it doesn't use https, end encryption is enforced by orbot VPN ### Actual Result Unable to login ### Screenshots or Videos _No response_ ### Additional Context Moved here from issue : https://github.com/bitwarden/android/issues/6199 I understand that since 2025.8 the following feature has been implemented for security reasons but an exception for .onion URLs to allow http connections is greatly appreciated : > HTTPS now required on Android: The Android Password Manager app now requires connection to a server using HTTPS. This change will only affect users who are self-hosting a Bitwarden server without a SSL/TLS certificate. Learn more about certificates [here](https://bitwarden.com/help/certificates/). (--> https://bitwarden.com/help/releasenotes/#2025-8-0) ### Build Version 2025.11.0 (20967) ### What server are you connecting to? Self-host ### Self-host Server Version _No response_ ### Environment Details - Redmi Note 9 - Android MIUI version 14.0.5 ### Issue Tracking Info - [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
GiteaMirror added the app:password-managerbug labels 2025-11-26 23:17:56 -06:00
Author
Owner

@bitwarden-bot commented on GitHub (Nov 26, 2025):

Thank you for your report! We've added this to our internal board for review.
ID: PM-28863

@bitwarden-bot commented on GitHub (Nov 26, 2025): Thank you for your report! We've added this to our internal board for review. ID: [PM-28863](https://bitwarden.atlassian.net/browse/PM-28863) [PM-28863]: https://bitwarden.atlassian.net/browse/PM-28863?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Author
Owner

@pamperer562580892423 commented on GitHub (Nov 26, 2025):

... you still need https 😉:

Image

(--> https://bitwarden.com/help/releasenotes/#2025-8-0)

(I saw you also added this to your post now.... - And my general advice here: you are not reporting a bug now... but you're asking for a kind of an exception... so, that would be a feature request... and you'll get redirected to the Bitwarden Community Forum eventually, I would predict 😉)

@pamperer562580892423 commented on GitHub (Nov 26, 2025): ... you still need https 😉: <img width="910" height="113" alt="Image" src="https://github.com/user-attachments/assets/b549907c-64e5-4bce-a03e-fd95684b06ff" /> (--> https://bitwarden.com/help/releasenotes/#2025-8-0) (I saw you also added this to your post now.... - And my general advice here: you are not reporting a bug now... but you're asking for a kind of an exception... so, that would be a feature request... and you'll get redirected to the Bitwarden Community Forum eventually, I would predict 😉)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#2391