Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: iOS still shows "Failed to connect. Retrying" on every resume (follow-up to #5695) #17560

ClosedImLovePixels(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Open a thread in the iOS app, connected to an environment through T3 Connect.
  2. Put the app in the background for a minute or so.
  3. Open it again.

Expected behavior

A neutral Reconnecting to <env>... while it reconnects. This is the same thing #5695 asked for, but that one is closed and locked so I can't comment there.

Actual behavior

Pretty much every time I come back to the app, the pill says Failed to connect. Retrying <env>... for a second or two, and then it connects fine.

I checked the server side and the reconnect goes through on the first try every time (auth succeeds, socket is up in about 2s), so nothing is actually failing, it's just the wording.

The copy is still in apps/mobile/src/features/threads/floating-working-status.ts on v0.0.45. If connectionError isn't null it shows the "Failed to connect" label instead of "Reconnecting to ...", and I think after a resume it's still set from the socket that got dropped while the app was suspended.

Impact

Cosmetic issue

Version or commit

Server 0.0.45 (stable), iOS app from the App Store

Environment

iPhone, server on Linux x64 connected through T3 Connect

  1. juliusmarminge closed this

Sign in to join this conversation.