-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Android TLS fingerprint verification times out on slow Tailnet handshakes #98365
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Android gateway TLS fingerprint verification times out on reachable but slow/stalled Tailnet TLS handshakes and reports the endpoint as unreachable.
Steps to reproduce
mainAndroid APK.Expected behavior
If TCP connects but TLS fingerprint capture stalls, Android should keep the connection attempt bounded and report that TLS fingerprint verification timed out. If the endpoint completes TLS within a reasonable handshake budget, Android should capture the fingerprint and show the gateway trust prompt.
Actual behavior
Current
mainuses one 3 second timeout for both TCP connect and TLS handshake in the Android fingerprint probe. A reachable Tailnet endpoint that sends no TLS response is mapped to generic endpoint unreachable, and a delayed-but-valid TLS handshake can fail before fingerprint capture.OpenClaw version
mainat4ac5cf863673a07ea5230c5be320bd8e4775814ainitially reproduced; fix branch rebased fromfa3c9de4596578cd5510d9e0e563b9095c139e5c.Operating system
Android 15 / API 35 emulator for app repro; macOS host with Tailscale for Tailnet-reachable synthetic endpoints.
Install method
Source checkout, Android Play debug APK.
Model
NOT_ENOUGH_INFO
Provider / routing chain
Android app -> manual gateway endpoint over Tailnet -> TLS fingerprint probe.
Additional provider/model setup details
No model/provider request is involved. This is an Android gateway connection setup failure before any model traffic.
Logs
Screenshots, recordings, and evidence
Cannot reach gatewayafter the stalled TLS probe.Trust this gateway?with the certificate fingerprint.TLS timed out.Impact and severity
Affected: Android users connecting to remote/Tailnet gateways that require TLS fingerprint verification.
Severity: Medium to high; this can block Android pairing/connection to otherwise reachable secure endpoints.
Frequency: Reproducible with delayed or stalled TLS handshakes.
Consequence: Users receive misleading unreachable guidance instead of actionable TLS timeout guidance, and slow-but-valid TLS endpoints can fail before fingerprint capture.
Additional information
This is not a request to weaken Android remote gateway TLS policy. Remote/manual and Tailnet-style endpoints should continue requiring TLS and fingerprint trust. The fix should make the TLS probe distinguish TCP reachability from TLS handshake progress.