-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.19.2] Possible Unhandled Promise Rejection (id: 0): Error: Promise timed out #954
Comments
It appears that this is happening only on 2.19.2, downgrading to 2.19.1 does not throw the rejection any more. |
It may be unrelated, but I was getting the same error mentioned in the OP and also: |
hi folks thanks for the report- will prioritize this and follow up asap. |
@efstathiosntonas @gitwilliam At present, the only PR I can find related to this issue is #943. From what I can tell in my investigation so far, these errors on app launch are expected and described in detail in that PR mentioned above. The change was introduced to prevent flushing before plugins (including SegmentDestination) are initialized. I can reproduce the warnings you are seeing but I am not experiencing any event loss. Please let me know if you are experiencing event loss or any other unintended/regressive behavior and we can go from there. |
@alanjcharles No event loss, but I'm getting these errors every few seconds when running my app (not just at app launch). Please have them as opt-in through a config flag or something, it's clogging up my debug terminal! |
@alanjcharles same as @jvgeee, It’s clogging the terminal and it’s really annoying since our minds automatically tries to find out what is going on when we see a promise rejection happening 😂 |
I have same problems. any solutions? |
We also have that here. |
Same here. |
getting same error on 2.19.1 with sdk "expo": "50.0.19" |
same warning on 2.19.1 |
Addressed in #966 |
Getting this still |
I think the PR just ignores all the promise rejections instead of addressing the real issue. |
"Error: Queue timeout before completed restoration" persists (version: 2.19.2) |
I get this on app start:
and later on:
analytics-react-native/packages/core/src/util.ts
Line 236 in e079c71
analytics-react-native
version: 2.19.2Steps to reproduce
Expected behavior
don't know
Actual behavior
throws promise timeout
The text was updated successfully, but these errors were encountered: