[GH-ISSUE #6199] [BWA-204] Unable to log in to self-hosted server with .onion URL #15023

Closed
opened 2026-04-15 01:18:49 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Zighy on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/bitwarden/android/issues/6199

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

No response

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 24, 2025). Original GitHub issue: https://github.com/bitwarden/android/issues/6199 ### 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 _No response_ ### 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:authenticatorbug labels 2026-04-15 01:18:50 -05:00
Author
Owner

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

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

<!-- gh-comment-id:3573080135 --> @bitwarden-bot commented on GitHub (Nov 24, 2025): Thank you for your report! We've added this to our internal board for review. ID: [BWA-204](https://bitwarden.atlassian.net/browse/BWA-204) [BWA-204]: https://bitwarden.atlassian.net/browse/BWA-204?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Author
Owner

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

The Bitwarden authenticator app has no login option. You probably meant to use the "app:password-manager" tag.

<!-- gh-comment-id:3573096807 --> @pamperer562580892423 commented on GitHub (Nov 24, 2025): The Bitwarden authenticator app has no login option. You probably meant to use the "app:password-manager" tag.
Author
Owner

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

Ah, and you need https:

Image

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

<!-- gh-comment-id:3573105744 --> @pamperer562580892423 commented on GitHub (Nov 24, 2025): Ah, and you 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)
Author
Owner

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

So, to clarify: I need to place a proxy with HTTPS offloading in front of my self-hosted Tor service?
Is there no way to configure an exception for .onion URLs so that plain HTTP connections are permitted?

<!-- gh-comment-id:3582662157 --> @Zighy commented on GitHub (Nov 26, 2025): So, to clarify: I need to place a proxy with HTTPS offloading in front of my self-hosted Tor service? Is there no way to configure an exception for .onion URLs so that plain HTTP connections are permitted?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#15023