PostHog / PostHog/posthog

Handle poor and intermittent internet connectivity gracefully

Open
#76,241 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Problem

The app does not handle poor or intermittent internet connectivity well. Multiple users have reported issues, including:

  • Sending a message while offline silently drops the message instead of queueing it or warning the user. The user has to retype and resend.
  • Sessions get stuck (e.g. tool calls or streams not progressing) when the connection is flaky or constantly reconnecting, instead of recovering automatically once the connection is back.

Scope

Audit the app's behavior under degraded network conditions (offline, packet loss, frequent reconnects) across both local and cloud sessions. Surface clear feedback to the user when the network is down, preserve unsent input, and ensure in-flight sessions recover or fail loudly rather than hanging silently.

Use this issue as a tracking issue. Attach additional user reports as they come in.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing offline, packet-loss, and frequent-reconnect scenarios across local and cloud sessions. Audit message sending plus in-flight tool-call and stream behavior; done means unsent input is preserved, users receive clear network feedback, and sessions recover or fail loudly instead of hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, react, typescript
Domain
backend, frontend, networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.