Skip to content

fix(mobile): explain missing /pair pairing endpoints - #3895

Open
Chessing234 wants to merge 2 commits into
block:mainfrom
Chessing234:fix/mobile-pairing-404
Open

fix(mobile): explain missing /pair pairing endpoints#3895
Chessing234 wants to merge 2 commits into
block:mainfrom
Chessing234:fix/mobile-pairing-404

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • Detect legacy /pair WebSocket 404 failures during NIP-AB pairing on mobile.
  • Replace the bare transport error with operator-facing guidance about BUZZ_PAIRING_RELAY_URL and routing /pair to buzz-pair-relay.

Related to #3779 (mobile client messaging; compose pairing relay is handled separately in #3875).

Test plan

  • flutter test test/features/pairing/pairing_provider_test.dart --name pairingEndpoint
  • Scan a QR from a relay without /pair and confirm the pairing screen explains the missing endpoint

Made with Cursor

@Chessing234
Chessing234 requested a review from a team as a code owner July 31, 2026 10:32
Chessing234 and others added 2 commits July 31, 2026 13:34
Map WebSocket 404 failures on /pair to operator-facing guidance about
BUZZ_PAIRING_RELAY_URL and buzz-pair-relay instead of a bare transport error.

Signed-off-by: Taksh <takshkothari09@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Assert the helper flags bare 404 transport failures on /pair and surfaces
BUZZ_PAIRING_RELAY_URL guidance for operators.

Signed-off-by: Taksh <takshkothari09@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Chessing234
Chessing234 force-pushed the fix/mobile-pairing-404 branch from d0ddf10 to 01f7e13 Compare July 31, 2026 10:34
@Chessing234

Copy link
Copy Markdown
Contributor Author

@tlongwell-block @wesbillman @wpfleger96 mind taking a look when you get a chance?

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.

1 participant