Segment throwing errors "Queue restoration timeout"

Open
#1,108 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
react-native, typescript
Domain
mobile

Research direction

Start by reproducing the issue with the reported flush policy and SDK versions, then inspect the errorHandler output for the Queue restoration timeout and Network request failed errors. Done means identifying a reproducible cause and documenting or validating a fix for the segment event queue behavior.

Written by the indexing model from the issue text.

Description

investigate

My segment is throwing a lot of errors.

Currently, my configuration is applying a flush policy, and the rest of the initialization follows the default.
The segment dashboard receives events normally, but I keep getting this "Queue restoration timeout" error and also the "Network request failed" error.

Flush Policy:

Image

Error triggered by errorHandler:

Image

SDK version:
"@segment/analytics-react-native": "^2.21.3",
"@segment/sovran-react-native": "^1.1.3",

Dominant language
TypeScript
Stars
383
Forks
206
Avg merge
14h 45m
Merged PRs (30d)
11

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.

More from segmentio/analytics-react-native

All issues in segmentio/analytics-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.