Skip to content

fix(auth): clarify Android local IP failures - #34

Merged
ZacharyZcR merged 1 commit into
Termix-SSH:dev-1.5.0from
ZacharyZcR:fix/support-881-android-local-ip-login
Aug 12, 2026
Merged

fix(auth): clarify Android local IP failures#34
ZacharyZcR merged 1 commit into
Termix-SSH:dev-1.5.0from
ZacharyZcR:fix/support-881-android-local-ip-login

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • detect native login fetch failures for HTTPS local-network IP URLs
  • show an actionable certificate/local-network message instead of a generic "Unexpected error during login user: Network request failed"
  • export the Android network security XML so the existing verification script can validate the generated trust-anchor config

Fixes Termix-SSH/Support#881.

Tests

  • git diff --check
  • npm run verify:android-network-security
  • npx eslint app/main-axios.ts plugins/withNetworkSecurityConfig.js (0 errors, existing warnings remain)
  • npx tsc --noEmit (fails on existing unrelated repo issues: missing expo-web-browser, WarpgateDialog toast callable type, TunnelManager optional endpointHost type)

Notes

This keeps TLS verification intact. For HTTPS over a local IP, the server certificate still needs to be trusted by Android and valid for that IP address, or the user should use the FQDN with a valid certificate.

@ZacharyZcR
ZacharyZcR changed the base branch from main to dev-1.5.0 August 12, 2026 22:10
@ZacharyZcR
ZacharyZcR force-pushed the fix/support-881-android-local-ip-login branch from 1ee94e9 to d035d4e Compare August 12, 2026 22:11
@ZacharyZcR ZacharyZcR changed the title Clarify Android local IP HTTPS login failures fix(auth): clarify Android local IP failures Aug 12, 2026
@ZacharyZcR
ZacharyZcR merged commit 2e8e4b0 into Termix-SSH:dev-1.5.0 Aug 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Login failed Android app

1 participant